From 74689a76f2e0645da70e9a1dbf419618d351555f Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 3 Aug 2021 22:18:49 +0000 Subject: [PATCH 1/4] feat!: release gapic-generator-java v2.0.0 Committer: @miraleung PiperOrigin-RevId: 388535346 Source-Link: https://github.com/googleapis/googleapis/commit/d9eaf41de44d953458b18712a3f240bb4c564e48 Source-Link: https://github.com/googleapis/googleapis-gen/commit/976c5ab6f24b58c91fe04847ead1953f99d19e6a --- .../airflow/service/v1/EnvironmentsGrpc.java | 845 ------ .../airflow/service/v1/ImageVersionsGrpc.java | 372 --- .../service/v1beta1/EnvironmentsGrpc.java | 1110 -------- .../service/v1beta1/ImageVersionsGrpc.java | 378 --- .../service/v1/EnvironmentsClient.java | 52 +- .../service/v1/EnvironmentsSettings.java | 10 +- .../service/v1/ImageVersionsClient.java | 28 +- .../service/v1/ImageVersionsSettings.java | 10 +- .../airflow/service/v1/gapic_metadata.json | 0 .../airflow/service/v1/package-info.java | 0 .../service/v1/stub/EnvironmentsStub.java | 0 .../v1/stub/EnvironmentsStubSettings.java | 9 +- .../stub/GrpcEnvironmentsCallableFactory.java | 0 .../service/v1/stub/GrpcEnvironmentsStub.java | 64 +- .../GrpcImageVersionsCallableFactory.java | 0 .../v1/stub/GrpcImageVersionsStub.java | 20 +- .../service/v1/stub/ImageVersionsStub.java | 0 .../v1/stub/ImageVersionsStubSettings.java | 12 +- .../service/v1/EnvironmentsClientTest.java | 6 +- .../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 | 646 +++++ .../airflow/service/v1/ImageVersionsGrpc.java | 302 ++ .../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 | 98 +- .../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 | 131 +- .../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 .../service/v1beta1/EnvironmentsClient.java | 50 +- .../service/v1beta1/EnvironmentsSettings.java | 10 +- .../service/v1beta1/ImageVersionsClient.java | 28 +- .../v1beta1/ImageVersionsSettings.java | 10 +- .../service/v1beta1/gapic_metadata.json | 0 .../airflow/service/v1beta1/package-info.java | 0 .../v1beta1/stub/EnvironmentsStub.java | 0 .../stub/EnvironmentsStubSettings.java | 9 +- .../stub/GrpcEnvironmentsCallableFactory.java | 0 .../v1beta1/stub/GrpcEnvironmentsStub.java | 86 +- .../GrpcImageVersionsCallableFactory.java | 0 .../v1beta1/stub/GrpcImageVersionsStub.java | 20 +- .../v1beta1/stub/ImageVersionsStub.java | 0 .../stub/ImageVersionsStubSettings.java | 12 +- .../v1beta1/EnvironmentsClientTest.java | 8 +- .../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 | 822 ++++++ .../service/v1beta1/ImageVersionsGrpc.java | 302 ++ .../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 | 119 +- .../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 | 1049 +++---- .../PrivateEnvironmentConfigOrBuilder.java | 114 +- .../v1beta1/RestartWebServerRequest.java | 416 ++- .../RestartWebServerRequestOrBuilder.java | 27 +- .../service/v1beta1/SoftwareConfig.java | 1259 ++++----- .../v1beta1/SoftwareConfigOrBuilder.java | 181 +- .../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 .../airflow/service/v1/EnvironmentName.java | 227 -- .../service/v1/EnvironmentsOuterClass.java | 569 ---- .../service/v1/ImageVersionsOuterClass.java | 132 - .../airflow/service/v1/OperationsProto.java | 86 - ...ebServerNetworkAccessControlOrBuilder.java | 96 - .../service/v1beta1/EnvironmentName.java | 227 -- .../v1beta1/EnvironmentsOuterClass.java | 724 ----- .../v1beta1/ImageVersionsOuterClass.java | 133 - .../ListImageVersionsResponseOrBuilder.java | 115 - .../service/v1beta1/OperationsProto.java | 86 - ...ebServerNetworkAccessControlOrBuilder.java | 97 - .../v1beta1/WorkloadsConfigOrBuilder.java | 153 -- 168 files changed, 19042 insertions(+), 31608 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 (93%) 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 (96%) 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 (93%) 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 (95%) 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 (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/EnvironmentsStubSettings.java (98%) 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 (86%) 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 (92%) 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 (96%) 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 (97%) 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 (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/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 (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/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 (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/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 (70%) 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%) 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 (94%) 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 (97%) 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 (93%) 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 (95%) 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 (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/EnvironmentsStubSettings.java (98%) 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 (85%) 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 (92%) 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 (96%) 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 (97%) 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 (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/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 (81%) 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 (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/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 (57%) 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%) delete mode 100644 proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentName.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/EnvironmentName.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 e84bcf80..00000000 --- a/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsGrpc.java +++ /dev/null @@ -1,845 +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") -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 da6da584..00000000 --- a/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsGrpc.java +++ /dev/null @@ -1,372 +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") -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 691a8c08..00000000 --- a/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsGrpc.java +++ /dev/null @@ -1,1110 +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") -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 5d3d547f..00000000 --- a/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsGrpc.java +++ /dev/null @@ -1,378 +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") -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 93% 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 f72eb2eb..5293d9aa 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 @@ -16,7 +16,6 @@ package com.google.cloud.orchestration.airflow.service.v1; -import com.google.api.core.ApiFunction; import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; import com.google.api.core.BetaApi; @@ -61,13 +60,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -488,40 +487,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. @@ -736,10 +735,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( @@ -749,12 +745,7 @@ public static ApiFuture createAsync( ListEnvironmentsPage.createEmptyPage().createPageAsync(context, futureResponse); return ApiFutures.transform( futurePage, - new ApiFunction() { - @Override - public ListEnvironmentsPagedResponse apply(ListEnvironmentsPage input) { - return new ListEnvironmentsPagedResponse(input); - } - }, + input -> new ListEnvironmentsPagedResponse(input), MoreExecutors.directExecutor()); } @@ -794,10 +785,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 96% 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 91f101e3..1bee6e35 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 @@ -28,6 +28,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.orchestration.airflow.service.v1.stub.EnvironmentsStubSettings; @@ -44,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 @@ -201,14 +202,13 @@ public EnvironmentsStubSettings.Builder getStubSettingsBuilder() { return ((EnvironmentsStubSettings.Builder) getStubSettings()); } - // NEXT_MAJOR_VER: remove 'throws Exception'. /** * Applies the given settings updater function to all of the unary API methods in this service. * *

    Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) throws Exception { + ApiFunction, Void> settingsUpdater) { super.applyToAllUnaryMethods( getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); return this; 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 93% 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 21abfb39..0428d312 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 @@ -16,7 +16,6 @@ package com.google.cloud.orchestration.airflow.service.v1; -import com.google.api.core.ApiFunction; import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; import com.google.api.core.BetaApi; @@ -57,13 +56,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. *
    * @@ -299,10 +298,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( @@ -312,12 +308,7 @@ public static ApiFuture createAsync( ListImageVersionsPage.createEmptyPage().createPageAsync(context, futureResponse); return ApiFutures.transform( futurePage, - new ApiFunction() { - @Override - public ListImageVersionsPagedResponse apply(ListImageVersionsPage input) { - return new ListImageVersionsPagedResponse(input); - } - }, + input -> new ListImageVersionsPagedResponse(input), MoreExecutors.directExecutor()); } @@ -328,9 +319,7 @@ private ListImageVersionsPagedResponse(ListImageVersionsPage page) { public static class ListImageVersionsPage extends AbstractPage< - ListImageVersionsRequest, - ListImageVersionsResponse, - ImageVersion, + ListImageVersionsRequest, ListImageVersionsResponse, ImageVersion, ListImageVersionsPage> { private ListImageVersionsPage( @@ -360,10 +349,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 95% 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 b1d7537f..55cb374a 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 @@ -27,6 +27,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.orchestration.airflow.service.v1.stub.ImageVersionsStubSettings; @@ -41,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 @@ -160,14 +161,13 @@ public ImageVersionsStubSettings.Builder getStubSettingsBuilder() { return ((ImageVersionsStubSettings.Builder) getStubSettings()); } - // NEXT_MAJOR_VER: remove 'throws Exception'. /** * Applies the given settings updater function to all of the unary API methods in this service. * *

    Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) throws Exception { + ApiFunction, Void> settingsUpdater) { super.applyToAllUnaryMethods( getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); return this; 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 100% 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 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 98% 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 bfe654b2..f12e2152 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 @@ -70,9 +70,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 @@ -509,14 +509,13 @@ private static Builder initDefaults(Builder builder) { return builder; } - // NEXT_MAJOR_VER: remove 'throws Exception'. /** * Applies the given settings updater function to all of the unary API methods in this service. * *

    Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) throws Exception { + ApiFunction, Void> settingsUpdater) { super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); return this; } 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 86% 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 6578f822..10dbf478 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 @@ -24,7 +24,6 @@ import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; -import com.google.api.gax.rpc.RequestParamsExtractor; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest; import com.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest; @@ -170,26 +169,20 @@ protected GrpcEnvironmentsStub( GrpcCallSettings.newBuilder() .setMethodDescriptor(createEnvironmentMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(CreateEnvironmentRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); GrpcCallSettings getEnvironmentTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(getEnvironmentMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(GetEnvironmentRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); GrpcCallSettings @@ -197,39 +190,30 @@ public Map extract(GetEnvironmentRequest request) { GrpcCallSettings.newBuilder() .setMethodDescriptor(listEnvironmentsMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(ListEnvironmentsRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); GrpcCallSettings updateEnvironmentTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(updateEnvironmentMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(UpdateEnvironmentRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); GrpcCallSettings deleteEnvironmentTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(deleteEnvironmentMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(DeleteEnvironmentRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); @@ -336,7 +320,13 @@ public UnaryCallable deleteEnvironmentCalla @Override public final void close() { - shutdown(); + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } } @Override diff --git a/google-cloud-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 92% 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 f62fe79d..c4f52d74 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 @@ -23,7 +23,6 @@ import com.google.api.gax.grpc.GrpcCallSettings; import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.ClientContext; -import com.google.api.gax.rpc.RequestParamsExtractor; 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; @@ -108,13 +107,10 @@ protected GrpcImageVersionsStub( GrpcCallSettings.newBuilder() .setMethodDescriptor(listImageVersionsMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(ListImageVersionsRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); @@ -151,7 +147,13 @@ public GrpcOperationsStub getOperationsStub() { @Override public final void close() { - shutdown(); + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } } @Override diff --git a/google-cloud-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 96% 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 c09f5341..e0579c94 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 @@ -58,9 +58,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 @@ -137,8 +137,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( @@ -309,14 +308,13 @@ private static Builder initDefaults(Builder builder) { return builder; } - // NEXT_MAJOR_VER: remove 'throws Exception'. /** * Applies the given settings updater function to all of the unary API methods in this service. * *

    Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) throws Exception { + ApiFunction, Void> settingsUpdater) { super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); return this; } 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 97% 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 index 7b4e0c06..3fc20b43 100644 --- 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 @@ -90,7 +90,7 @@ public void tearDown() throws Exception { public void createEnvironmentTest() throws Exception { Environment expectedResponse = Environment.newBuilder() - .setName(EnvironmentName.of("[PROJECT]", "[LOCATION]", "[ENVIRONMENT]").toString()) + .setName("name3373707") .setConfig(EnvironmentConfig.newBuilder().build()) .setUuid("uuid3601339") .setCreateTime(Timestamp.newBuilder().build()) @@ -144,7 +144,7 @@ public void createEnvironmentExceptionTest() throws Exception { public void getEnvironmentTest() throws Exception { Environment expectedResponse = Environment.newBuilder() - .setName(EnvironmentName.of("[PROJECT]", "[LOCATION]", "[ENVIRONMENT]").toString()) + .setName("name3373707") .setConfig(EnvironmentConfig.newBuilder().build()) .setUuid("uuid3601339") .setCreateTime(Timestamp.newBuilder().build()) @@ -231,7 +231,7 @@ public void listEnvironmentsExceptionTest() throws Exception { public void updateEnvironmentTest() throws Exception { Environment expectedResponse = Environment.newBuilder() - .setName(EnvironmentName.of("[PROJECT]", "[LOCATION]", "[ENVIRONMENT]").toString()) + .setName("name3373707") .setConfig(EnvironmentConfig.newBuilder().build()) .setUuid("uuid3601339") .setCreateTime(Timestamp.newBuilder().build()) 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..69fbcd8c --- /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,646 @@ +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") +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..835f0efa --- /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,302 @@ +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") +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 eba0f38c..52ba1145 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,110 +58,97 @@ 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) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
    +      throw new com.google.protobuf.InvalidProtocolBufferException(
    +          e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
    -
    -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -    return com.google.cloud.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.
          * 
    @@ -187,8 +157,6 @@ public enum ConflictResult implements com.google.protobuf.ProtocolMessageEnum { */ CONFLICT_RESULT_UNSPECIFIED(0), /** - * - * *
          * There were python packages conflicts.
          * 
    @@ -197,8 +165,6 @@ public enum ConflictResult implements com.google.protobuf.ProtocolMessageEnum { */ CONFLICT(1), /** - * - * *
          * There were no python packages conflicts.
          * 
    @@ -210,8 +176,6 @@ public enum ConflictResult implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
          * It is unknown whether build had conflicts or not.
          * 
    @@ -220,8 +184,6 @@ public enum ConflictResult implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONFLICT_RESULT_UNSPECIFIED_VALUE = 0; /** - * - * *
          * There were python packages conflicts.
          * 
    @@ -230,8 +192,6 @@ public enum ConflictResult implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONFLICT_VALUE = 1; /** - * - * *
          * There were no python packages conflicts.
          * 
    @@ -240,6 +200,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( @@ -264,51 +225,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; @@ -328,14 +287,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 @@ -344,29 +300,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 { @@ -377,61 +333,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 @@ -440,31 +374,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 { @@ -475,14 +408,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 @@ -491,29 +421,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 { @@ -522,22 +452,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); @@ -549,8 +478,6 @@ public int getPypiDependenciesCount() { return internalGetPypiDependencies().getMap().size(); } /** - * - * *
        * Pypi dependencies specified in the environment configuration, at the time
        * when the build was triggered.
    @@ -558,22 +485,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 java.lang.NullPointerException();
    -    }
    +  public boolean containsPypiDependencies(
    +      java.lang.String key) {
    +    if (key == null) { throw new java.lang.NullPointerException(); }
         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.
    @@ -582,12 +509,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.
    @@ -596,17 +522,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 java.lang.NullPointerException();
    -    }
    -    java.util.Map map = internalGetPypiDependencies().getMap();
    +      java.lang.String key,
    +      java.lang.String defaultValue) {
    +    if (key == null) { throw new java.lang.NullPointerException(); }
    +    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.
    @@ -615,11 +540,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 java.lang.NullPointerException();
    -    }
    -    java.util.Map map = internalGetPypiDependencies().getMap();
    +
    +  public java.lang.String getPypiDependenciesOrThrow(
    +      java.lang.String key) {
    +    if (key == null) { throw new java.lang.NullPointerException(); }
    +    java.util.Map map =
    +        internalGetPypiDependencies().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
    @@ -627,7 +553,6 @@ public java.lang.String getPypiDependenciesOrThrow(java.lang.String key) {
       }
     
       private byte memoizedIsInitialized = -1;
    -
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
    @@ -639,24 +564,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 (!getBuildLogUriBytes().isEmpty()) {
           com.google.protobuf.GeneratedMessageV3.writeString(output, 1, buildLogUri_);
         }
         if (!getPypiConflictBuildLogExtractBytes().isEmpty()) {
           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 (!getImageVersionBytes().isEmpty()) {
           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);
       }
     
    @@ -670,28 +597,24 @@ public int getSerializedSize() {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, buildLogUri_);
         }
         if (!getPypiConflictBuildLogExtractBytes().isEmpty()) {
    -      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 (!getImageVersionBytes().isEmpty()) {
           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;
    @@ -701,20 +624,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;
       }
    @@ -744,105 +669,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.
    @@ -850,60 +766,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();
    @@ -920,22 +836,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);
           }
    @@ -944,8 +857,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_;
    @@ -961,51 +873,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();
    @@ -1021,7 +928,8 @@ public Builder mergeFrom(
             imageVersion_ = other.imageVersion_;
             onChanged();
           }
    -      internalGetMutablePypiDependencies().mergeFrom(other.internalGetPypiDependencies());
    +      internalGetMutablePypiDependencies().mergeFrom(
    +          other.internalGetPypiDependencies());
           this.mergeUnknownFields(other.unknownFields);
           onChanged();
           return this;
    @@ -1041,9 +949,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) {
    @@ -1052,25 +958,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; @@ -1079,21 +982,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 { @@ -1101,61 +1003,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; @@ -1163,107 +1058,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; @@ -1271,23 +1132,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; @@ -1296,24 +1153,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 { @@ -1321,70 +1175,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; @@ -1392,20 +1233,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; @@ -1414,21 +1253,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 { @@ -1436,85 +1274,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(); @@ -1526,8 +1354,6 @@ public int getPypiDependenciesCount() { return internalGetPypiDependencies().getMap().size(); } /** - * - * *
          * Pypi dependencies specified in the environment configuration, at the time
          * when the build was triggered.
    @@ -1535,22 +1361,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 java.lang.NullPointerException();
    -      }
    +    public boolean containsPypiDependencies(
    +        java.lang.String key) {
    +      if (key == null) { throw new java.lang.NullPointerException(); }
           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.
    @@ -1559,12 +1385,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.
    @@ -1573,18 +1398,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 java.lang.NullPointerException();
    -      }
    +        java.lang.String key,
    +        java.lang.String defaultValue) {
    +      if (key == null) { throw new java.lang.NullPointerException(); }
           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.
    @@ -1593,10 +1416,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 java.lang.NullPointerException();
    -      }
    +
    +    public java.lang.String getPypiDependenciesOrThrow(
    +        java.lang.String key) {
    +      if (key == null) { throw new java.lang.NullPointerException(); }
           java.util.Map map =
               internalGetPypiDependencies().getMap();
           if (!map.containsKey(key)) {
    @@ -1606,12 +1429,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.
    @@ -1619,21 +1441,23 @@ public Builder clearPypiDependencies() {
          *
          * map<string, string> pypi_dependencies = 6;
          */
    -    public Builder removePypiDependencies(java.lang.String key) {
    -      if (key == null) {
    -        throw new java.lang.NullPointerException();
    -      }
    -      internalGetMutablePypiDependencies().getMutableMap().remove(key);
    +
    +    public Builder removePypiDependencies(
    +        java.lang.String key) {
    +      if (key == null) { throw new java.lang.NullPointerException(); }
    +      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.
    @@ -1641,19 +1465,16 @@ 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 java.lang.NullPointerException();
    -      }
    -      if (value == null) {
    -        throw new java.lang.NullPointerException();
    -      }
    -      internalGetMutablePypiDependencies().getMutableMap().put(key, value);
    +    public Builder putPypiDependencies(
    +        java.lang.String key,
    +        java.lang.String value) {
    +      if (key == null) { throw new java.lang.NullPointerException(); }
    +      if (value == null) { throw new java.lang.NullPointerException(); }
    +      internalGetMutablePypiDependencies().getMutableMap()
    +          .put(key, value);
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Pypi dependencies specified in the environment configuration, at the time
          * when the build was triggered.
    @@ -1661,14 +1482,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);
         }
     
    @@ -1678,32 +1501,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;
    @@ -1715,8 +1536,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 bfc748e4..a021c8a0 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.
    @@ -178,11 +131,11 @@ public interface CheckUpgradeResponseOrBuilder
        *
        * map<string, string> pypi_dependencies = 6;
        */
    +
       java.lang.String getPypiDependenciesOrDefault(
    -      java.lang.String key, java.lang.String defaultValue);
    +      java.lang.String key,
    +      java.lang.String defaultValue);
       /**
    -   *
    -   *
        * 
        * Pypi dependencies specified in the environment configuration, at the time
        * when the build was triggered.
    @@ -190,5 +143,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 63d6aac8..69b97e6e 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,78 +53,66 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -150,30 +121,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 { @@ -184,14 +155,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 @@ -199,25 +167,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.
        * 
    @@ -225,13 +186,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; @@ -243,7 +202,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -263,7 +223,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; @@ -273,19 +234,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.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; @@ -309,152 +270,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(); @@ -470,22 +414,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); } @@ -493,10 +434,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_; @@ -511,52 +450,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(); @@ -579,14 +512,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) { @@ -598,21 +528,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; @@ -621,22 +549,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 { @@ -644,64 +571,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; @@ -709,55 +629,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(); @@ -771,8 +677,6 @@ public Builder setEnvironment( return this; } /** - * - * *
          * The environment to create.
          * 
    @@ -791,22 +695,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; } @@ -818,8 +717,6 @@ public Builder mergeEnvironment( return this; } /** - * - * *
          * The environment to create.
          * 
    @@ -838,42 +735,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.
          * 
    @@ -881,24 +769,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); } @@ -908,33 +793,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; @@ -946,8 +828,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 68% 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 515c9df5..73692226 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,52 +54,47 @@ 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) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
    +      throw new com.google.protobuf.InvalidProtocolBufferException(
    +          e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
    -
    -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -    return com.google.cloud.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
    @@ -124,7 +102,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 @@ -133,15 +110,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
    @@ -149,15 +125,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 { @@ -166,7 +143,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,7 +154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getMachineTypeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, machineType_); } @@ -202,15 +179,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -230,104 +207,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.
    @@ -335,23 +304,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()
    @@ -359,15 +326,16 @@ private Builder() {
           maybeForceBuilderInitialization();
         }
     
    -    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    +    private Builder(
    +        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
    -
         private void maybeForceBuilderInitialization() {
    -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
    +      if (com.google.protobuf.GeneratedMessageV3
    +              .alwaysUseFieldBuilders) {
    +      }
         }
    -
         @java.lang.Override
         public Builder clear() {
           super.clear();
    @@ -377,14 +345,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();
         }
     
    @@ -399,8 +366,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;
    @@ -410,50 +376,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();
    @@ -477,9 +439,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) {
    @@ -491,8 +451,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
    @@ -500,13 +458,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; @@ -515,8 +473,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
    @@ -524,14 +480,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 { @@ -539,8 +496,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
    @@ -548,22 +503,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
    @@ -571,18 +524,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
    @@ -590,23 +540,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); } @@ -616,32 +566,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; @@ -653,8 +601,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 521e7a00..6f02d84d 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,60 +53,53 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -132,30 +108,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
        * The 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 { @@ -164,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -200,16 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.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; } @@ -228,152 +203,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(); @@ -383,22 +341,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); } @@ -406,10 +361,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; @@ -419,52 +372,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(); @@ -484,14 +431,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) { @@ -503,21 +447,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; @@ -526,22 +468,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 { @@ -549,71 +490,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); } @@ -623,33 +557,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; @@ -661,8 +592,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 66% 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 3cc1a225..f0b32254 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,52 +54,47 @@ 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) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
    +      throw new com.google.protobuf.InvalidProtocolBufferException(
    +          e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
    -
    -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -    return com.google.cloud.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.
    @@ -124,7 +102,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 @@ -133,15 +110,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.
    @@ -149,15 +125,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 { @@ -166,7 +143,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,7 +154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getKmsKeyNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kmsKeyName_); } @@ -202,15 +179,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -230,105 +207,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.
    @@ -336,40 +304,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();
    @@ -379,16 +345,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
    @@ -402,8 +366,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;
    @@ -413,51 +376,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();
    @@ -481,9 +439,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) {
    @@ -495,8 +451,6 @@ public Builder mergeFrom(
     
         private java.lang.Object kmsKeyName_ = "";
         /**
    -     *
    -     *
          * 
          * Optional. Customer-managed Encryption Key available through Google's Key Management
          * Service. Cannot be updated.
    @@ -504,13 +458,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; @@ -519,8 +473,6 @@ public java.lang.String getKmsKeyName() { } } /** - * - * *
          * Optional. Customer-managed Encryption Key available through Google's Key Management
          * Service. Cannot be updated.
    @@ -528,14 +480,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 { @@ -543,8 +496,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } } /** - * - * *
          * Optional. Customer-managed Encryption Key available through Google's Key Management
          * Service. Cannot be updated.
    @@ -552,22 +503,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.
    @@ -575,18 +524,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.
    @@ -594,23 +540,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); } @@ -620,32 +566,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; @@ -657,8 +601,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 de7544fa..ba073c07 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,146 +56,130 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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.
          * 
    @@ -221,8 +188,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
          * The environment is in the process of being created.
          * 
    @@ -231,8 +196,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATING(1), /** - * - * *
          * The environment is currently running and healthy. It is ready for use.
          * 
    @@ -241,8 +204,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.
    @@ -252,8 +213,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
          */
         UPDATING(3),
         /**
    -     *
    -     *
          * 
          * The environment is undergoing deletion. It cannot be used.
          * 
    @@ -262,8 +221,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ DELETING(4), /** - * - * *
          * The environment has encountered an error and cannot be used.
          * 
    @@ -275,8 +232,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
          * The state of the environment is unknown.
          * 
    @@ -285,8 +240,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.
          * 
    @@ -295,8 +248,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.
          * 
    @@ -305,8 +256,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.
    @@ -316,8 +265,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.
          * 
    @@ -326,8 +273,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.
          * 
    @@ -336,6 +281,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( @@ -360,57 +306,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; @@ -430,8 +371,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}"
    @@ -440,7 +379,6 @@ private State(int value) {
        * 
    * * string name = 1; - * * @return The name. */ @java.lang.Override @@ -449,15 +387,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}"
    @@ -466,15 +403,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 { @@ -485,14 +423,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 @@ -500,25 +435,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.
        * 
    @@ -526,23 +454,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 @@ -551,30 +475,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 { @@ -585,52 +509,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 @@ -638,14 +548,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 @@ -653,8 +560,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.
        * 
    @@ -669,14 +574,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 @@ -684,14 +586,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 @@ -699,8 +598,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.
        * 
    @@ -713,23 +610,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_; } @@ -738,8 +636,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
    @@ -752,22 +648,22 @@ public int getLabelsCount() {
        *
        * map<string, string> labels = 7;
        */
    +
       @java.lang.Override
    -  public boolean containsLabels(java.lang.String key) {
    -    if (key == null) {
    -      throw new java.lang.NullPointerException();
    -    }
    +  public boolean containsLabels(
    +      java.lang.String key) {
    +    if (key == null) { throw new java.lang.NullPointerException(); }
         return internalGetLabels().getMap().containsKey(key);
       }
    -  /** Use {@link #getLabelsMap()} instead. */
    +  /**
    +   * Use {@link #getLabelsMap()} instead.
    +   */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getLabels() {
         return getLabelsMap();
       }
       /**
    -   *
    -   *
        * 
        * Optional. User-defined labels for this environment.
        * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -781,12 +677,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
    @@ -800,16 +695,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 java.lang.NullPointerException();
    -    }
    -    java.util.Map map = internalGetLabels().getMap();
    +
    +  public java.lang.String getLabelsOrDefault(
    +      java.lang.String key,
    +      java.lang.String defaultValue) {
    +    if (key == null) { throw new java.lang.NullPointerException(); }
    +    java.util.Map map =
    +        internalGetLabels().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
    -   *
    -   *
        * 
        * Optional. User-defined labels for this environment.
        * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -823,11 +718,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 java.lang.NullPointerException();
    -    }
    -    java.util.Map map = internalGetLabels().getMap();
    +
    +  public java.lang.String getLabelsOrThrow(
    +      java.lang.String key) {
    +    if (key == null) { throw new java.lang.NullPointerException(); }
    +    java.util.Map map =
    +        internalGetLabels().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
    @@ -835,7 +731,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
       }
     
       private byte memoizedIsInitialized = -1;
    -
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
    @@ -847,7 +742,8 @@ public final boolean isInitialized() {
       }
     
       @java.lang.Override
    -  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    +  public void writeTo(com.google.protobuf.CodedOutputStream output)
    +                      throws java.io.IOException {
         if (!getNameBytes().isEmpty()) {
           com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
         }
    @@ -857,9 +753,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
         if (!getUuidBytes().isEmpty()) {
           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) {
    @@ -868,8 +762,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);
       }
     
    @@ -883,31 +781,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 (!getUuidBytes().isEmpty()) {
           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;
    @@ -917,30 +817,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;
       }
    @@ -980,147 +885,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() @@ -1128,15 +1025,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(); @@ -1169,14 +1067,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(); } @@ -1191,8 +1088,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) { @@ -1222,39 +1118,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; @@ -1262,9 +1157,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(); @@ -1285,7 +1178,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; @@ -1305,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.Environment) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.Environment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1316,13 +1208,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}"
    @@ -1331,13 +1220,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; @@ -1346,8 +1235,6 @@ public java.lang.String getName() { } } /** - * - * *
          * The resource name of the environment, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
    @@ -1356,14 +1243,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 { @@ -1371,8 +1259,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
          * The resource name of the environment, in the form:
          * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
    @@ -1381,22 +1267,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}"
    @@ -1405,18 +1289,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}"
    @@ -1425,16 +1306,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; @@ -1442,56 +1323,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(); @@ -1505,8 +1371,6 @@ public Builder setConfig( return this; } /** - * - * *
          * Configuration parameters for this environment.
          * 
    @@ -1514,8 +1378,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(); @@ -1526,23 +1389,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; } @@ -1554,8 +1411,6 @@ public Builder mergeConfig( return this; } /** - * - * *
          * Configuration parameters for this environment.
          * 
    @@ -1574,43 +1429,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.
          * 
    @@ -1618,17 +1463,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_; @@ -1636,21 +1478,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; @@ -1659,22 +1499,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 { @@ -1682,64 +1521,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; @@ -1747,93 +1579,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; @@ -1841,47 +1653,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.
          * 
    @@ -1902,15 +1701,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(); @@ -1921,8 +1719,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
          * Output only. The time at which this environment was created.
          * 
    @@ -1933,7 +1729,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; } @@ -1945,8 +1741,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
          * Output only. The time at which this environment was created.
          * 
    @@ -1965,8 +1759,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
          * Output only. The time at which this environment was created.
          * 
    @@ -1974,13 +1766,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.
          * 
    @@ -1991,14 +1781,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.
          * 
    @@ -2006,17 +1793,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_; @@ -2024,47 +1808,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.
          * 
    @@ -2085,15 +1856,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(); @@ -2104,8 +1874,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
          * Output only. The time at which this environment was last modified.
          * 
    @@ -2116,7 +1884,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; } @@ -2128,8 +1896,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
          * Output only. The time at which this environment was last modified.
          * 
    @@ -2148,8 +1914,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
          * Output only. The time at which this environment was last modified.
          * 
    @@ -2157,13 +1921,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.
          * 
    @@ -2174,14 +1936,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.
          * 
    @@ -2189,37 +1948,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(); @@ -2231,8 +1988,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
    @@ -2245,22 +2000,22 @@ public int getLabelsCount() {
          *
          * map<string, string> labels = 7;
          */
    +
         @java.lang.Override
    -    public boolean containsLabels(java.lang.String key) {
    -      if (key == null) {
    -        throw new java.lang.NullPointerException();
    -      }
    +    public boolean containsLabels(
    +        java.lang.String key) {
    +      if (key == null) { throw new java.lang.NullPointerException(); }
           return internalGetLabels().getMap().containsKey(key);
         }
    -    /** Use {@link #getLabelsMap()} instead. */
    +    /**
    +     * Use {@link #getLabelsMap()} instead.
    +     */
         @java.lang.Override
         @java.lang.Deprecated
         public java.util.Map getLabels() {
           return getLabelsMap();
         }
         /**
    -     *
    -     *
          * 
          * Optional. User-defined labels for this environment.
          * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -2274,12 +2029,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
    @@ -2293,17 +2047,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 java.lang.NullPointerException();
    -      }
    -      java.util.Map map = internalGetLabels().getMap();
    +        java.lang.String key,
    +        java.lang.String defaultValue) {
    +      if (key == null) { throw new java.lang.NullPointerException(); }
    +      java.util.Map map =
    +          internalGetLabels().getMap();
           return map.containsKey(key) ? map.get(key) : defaultValue;
         }
         /**
    -     *
    -     *
          * 
          * Optional. User-defined labels for this environment.
          * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -2317,11 +2070,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 java.lang.NullPointerException();
    -      }
    -      java.util.Map map = internalGetLabels().getMap();
    +
    +    public java.lang.String getLabelsOrThrow(
    +        java.lang.String key) {
    +      if (key == null) { throw new java.lang.NullPointerException(); }
    +      java.util.Map map =
    +          internalGetLabels().getMap();
           if (!map.containsKey(key)) {
             throw new java.lang.IllegalArgumentException();
           }
    @@ -2329,12 +2083,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
    @@ -2347,21 +2100,23 @@ public Builder clearLabels() {
          *
          * map<string, string> labels = 7;
          */
    -    public Builder removeLabels(java.lang.String key) {
    -      if (key == null) {
    -        throw new java.lang.NullPointerException();
    -      }
    -      internalGetMutableLabels().getMutableMap().remove(key);
    +
    +    public Builder removeLabels(
    +        java.lang.String key) {
    +      if (key == null) { throw new java.lang.NullPointerException(); }
    +      internalGetMutableLabels().getMutableMap()
    +          .remove(key);
           return this;
         }
    -    /** Use alternate mutation accessors instead. */
    +    /**
    +     * Use alternate mutation accessors instead.
    +     */
         @java.lang.Deprecated
    -    public java.util.Map getMutableLabels() {
    +    public java.util.Map
    +    getMutableLabels() {
           return internalGetMutableLabels().getMutableMap();
         }
         /**
    -     *
    -     *
          * 
          * Optional. User-defined labels for this environment.
          * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -2374,19 +2129,16 @@ 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 java.lang.NullPointerException();
    -      }
    -      if (value == null) {
    -        throw new java.lang.NullPointerException();
    -      }
    -      internalGetMutableLabels().getMutableMap().put(key, value);
    +    public Builder putLabels(
    +        java.lang.String key,
    +        java.lang.String value) {
    +      if (key == null) { throw new java.lang.NullPointerException(); }
    +      if (value == null) { throw new java.lang.NullPointerException(); }
    +      internalGetMutableLabels().getMutableMap()
    +          .put(key, value);
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Optional. User-defined labels for this environment.
          * The labels map can contain no more than 64 entries. Entries of the labels
    @@ -2399,13 +2151,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);
         }
     
    @@ -2415,13 +2170,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();
       }
    @@ -2430,16 +2184,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;
    @@ -2454,4 +2208,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 e0489a7a..f08042af 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,206 +55,160 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -280,29 +217,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 { @@ -313,8 +250,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
    @@ -323,7 +258,6 @@ public com.google.protobuf.ByteString getGkeClusterBytes() {
        * 
    * * string dag_gcs_prefix = 2; - * * @return The dagGcsPrefix. */ @java.lang.Override @@ -332,15 +266,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
    @@ -349,15 +282,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 { @@ -368,15 +302,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 @@ -387,14 +318,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 @@ -402,25 +330,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.
        * 
    @@ -428,22 +349,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 @@ -451,25 +368,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.
        * 
    @@ -477,25 +387,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 @@ -503,58 +406,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 @@ -562,59 +445,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 @@ -622,56 +486,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 @@ -679,55 +526,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 @@ -735,48 +565,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
    @@ -784,7 +600,6 @@ public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig getEnc
        * 
    * * string airflow_uri = 6; - * * @return The airflowUri. */ @java.lang.Override @@ -793,15 +608,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
    @@ -809,15 +623,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 { @@ -826,7 +641,6 @@ public com.google.protobuf.ByteString getAirflowUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -838,7 +652,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 (!getGkeClusterBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, gkeCluster_); } @@ -888,35 +703,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 (!getAirflowUriBytes().isEmpty()) { 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; @@ -926,48 +745,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; } @@ -1021,145 +848,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(); @@ -1217,16 +1033,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 @@ -1240,8 +1054,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_; @@ -1289,51 +1102,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(); @@ -1389,9 +1197,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) { @@ -1403,20 +1209,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; @@ -1425,21 +1229,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 { @@ -1447,61 +1250,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; @@ -1509,8 +1305,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
    @@ -1519,13 +1313,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; @@ -1534,8 +1328,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
    @@ -1544,14 +1336,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 { @@ -1559,8 +1352,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
    @@ -1569,22 +1360,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
    @@ -1593,18 +1382,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
    @@ -1613,32 +1399,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 @@ -1646,38 +1429,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; @@ -1685,58 +1462,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(); @@ -1750,14 +1510,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) { @@ -1771,24 +1528,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; } @@ -1800,14 +1550,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) { @@ -1821,63 +1568,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_; @@ -1885,55 +1617,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(); @@ -1947,8 +1665,6 @@ public Builder setNodeConfig( return this; } /** - * - * *
          * The configuration used for the Kubernetes Engine cluster.
          * 
    @@ -1967,22 +1683,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; } @@ -1994,8 +1705,6 @@ public Builder mergeNodeConfig( return this; } /** - * - * *
          * The configuration used for the Kubernetes Engine cluster.
          * 
    @@ -2014,42 +1723,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.
          * 
    @@ -2057,82 +1757,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(); @@ -2146,19 +1820,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(); @@ -2169,25 +1838,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; } @@ -2199,15 +1860,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) { @@ -2221,138 +1878,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(); @@ -2366,20 +1978,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(); @@ -2390,26 +1997,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; } @@ -2421,16 +2020,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) { @@ -2444,73 +2039,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_; @@ -2518,64 +2091,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(); @@ -2589,16 +2142,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) { @@ -2612,26 +2161,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; } @@ -2643,16 +2184,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) { @@ -2666,69 +2203,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_; @@ -2736,61 +2255,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(); @@ -2804,15 +2303,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) { @@ -2826,25 +2321,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; } @@ -2856,15 +2343,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) { @@ -2878,66 +2361,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_; @@ -2945,66 +2410,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(); @@ -3018,20 +2461,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(); @@ -3042,26 +2480,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; } @@ -3073,16 +2503,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) { @@ -3096,70 +2522,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_; @@ -3167,8 +2574,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
    @@ -3176,13 +2581,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; @@ -3191,8 +2596,6 @@ public java.lang.String getAirflowUri() { } } /** - * - * *
          * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
          * [Airflow web
    @@ -3200,14 +2603,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 { @@ -3215,8 +2619,6 @@ public com.google.protobuf.ByteString getAirflowUriBytes() { } } /** - * - * *
          * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
          * [Airflow web
    @@ -3224,22 +2626,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
    @@ -3247,18 +2647,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
    @@ -3266,23 +2663,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); } @@ -3292,32 +2689,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; @@ -3329,8 +2724,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 58194e22..bf2cdda2 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
    @@ -277,10 +218,11 @@ public interface EnvironmentOrBuilder
        *
        * map<string, string> labels = 7;
        */
    -  java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
    +
    +  java.lang.String getLabelsOrDefault(
    +      java.lang.String key,
    +      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
    @@ -293,5 +235,7 @@ public interface EnvironmentOrBuilder
        *
        * 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 54ba8b80..1ac382ee 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,59 +53,53 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -131,30 +108,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
        * The 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -227,146 +204,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(); @@ -376,22 +341,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); } @@ -400,8 +362,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; @@ -411,52 +372,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(); @@ -480,9 +435,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) { @@ -494,21 +447,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; @@ -517,22 +468,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 { @@ -540,71 +490,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); } @@ -614,33 +557,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; @@ -652,8 +592,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 c19f3750..caaa9e5e 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,85 +53,76 @@ 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) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
    +      throw new com.google.protobuf.InvalidProtocolBufferException(
    +          e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
    -
    -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -    return com.google.cloud.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;
         }
    @@ -163,38 +138,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;
         }
    @@ -210,38 +179,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 @@ -251,8 +214,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.
    @@ -260,15 +221,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.
    @@ -276,7 +234,6 @@ public boolean hasClusterSecondaryRangeName() {
        * 
    * * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The clusterSecondaryRangeName. */ public java.lang.String getClusterSecondaryRangeName() { @@ -287,7 +244,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; @@ -296,8 +254,6 @@ public java.lang.String getClusterSecondaryRangeName() { } } /** - * - * *
        * Optional. The name of the GKE cluster's secondary range used to allocate
        * IP addresses to pods.
    @@ -305,17 +261,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; } @@ -327,8 +284,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.
    @@ -344,15 +299,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.
    @@ -368,7 +320,6 @@ public boolean hasClusterIpv4CidrBlock() {
        * 
    * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The clusterIpv4CidrBlock. */ public java.lang.String getClusterIpv4CidrBlock() { @@ -379,7 +330,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; @@ -388,8 +340,6 @@ public java.lang.String getClusterIpv4CidrBlock() { } } /** - * - * *
        * Optional. The IP address range used to allocate IP addresses to pods in
        * the GKE cluster.
    @@ -405,17 +355,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; } @@ -427,34 +378,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() { @@ -465,7 +408,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; @@ -474,27 +418,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; } @@ -506,8 +448,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.
    @@ -523,15 +463,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.
    @@ -547,7 +484,6 @@ public boolean hasServicesIpv4CidrBlock() {
        * 
    * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The servicesIpv4CidrBlock. */ public java.lang.String getServicesIpv4CidrBlock() { @@ -558,7 +494,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; @@ -567,8 +504,6 @@ public java.lang.String getServicesIpv4CidrBlock() { } } /** - * - * *
        * Optional. The IP address range of the services IP addresses in this
        * GKE cluster.
    @@ -584,17 +519,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; } @@ -605,7 +541,6 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -617,7 +552,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_); } @@ -643,7 +579,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_); @@ -665,23 +602,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: @@ -689,11 +627,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: @@ -710,7 +649,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; @@ -741,105 +681,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.
    @@ -847,40 +778,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();
    @@ -894,16 +823,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
    @@ -917,8 +844,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_;
    @@ -942,93 +868,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();
    @@ -1049,9 +964,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) {
    @@ -1060,12 +973,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() {
    @@ -1077,9 +990,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() {
    @@ -1089,17 +1003,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 @@ -1107,55 +1019,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 @@ -1163,17 +1065,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 @@ -1183,7 +1081,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; @@ -1194,28 +1093,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; } @@ -1225,41 +1122,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() { @@ -1271,25 +1161,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(); @@ -1297,8 +1184,6 @@ public Builder setClusterSecondaryRangeNameBytes(com.google.protobuf.ByteString } /** - * - * *
          * Optional. The IP address range used to allocate IP addresses to pods in
          * the GKE cluster.
    @@ -1314,7 +1199,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 @@ -1322,8 +1206,6 @@ public boolean hasClusterIpv4CidrBlock() { return clusterIpAllocationCase_ == 4; } /** - * - * *
          * Optional. The IP address range used to allocate IP addresses to pods in
          * the GKE cluster.
    @@ -1339,7 +1221,6 @@ public boolean hasClusterIpv4CidrBlock() {
          * 
    * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The clusterIpv4CidrBlock. */ @java.lang.Override @@ -1349,7 +1230,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; @@ -1360,8 +1242,6 @@ public java.lang.String getClusterIpv4CidrBlock() { } } /** - * - * *
          * Optional. The IP address range used to allocate IP addresses to pods in
          * the GKE cluster.
    @@ -1377,18 +1257,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; } @@ -1398,8 +1279,6 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { } } /** - * - * *
          * Optional. The IP address range used to allocate IP addresses to pods in
          * the GKE cluster.
    @@ -1415,22 +1294,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.
    @@ -1446,7 +1323,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() { @@ -1458,8 +1334,6 @@ public Builder clearClusterIpv4CidrBlock() { return this; } /** - * - * *
          * Optional. The IP address range used to allocate IP addresses to pods in
          * the GKE cluster.
    @@ -1475,15 +1349,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(); @@ -1491,17 +1365,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 @@ -1509,17 +1379,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 @@ -1529,7 +1395,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; @@ -1540,28 +1407,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; } @@ -1571,41 +1436,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() { @@ -1617,25 +1475,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(); @@ -1643,8 +1498,6 @@ public Builder setServicesSecondaryRangeNameBytes(com.google.protobuf.ByteString } /** - * - * *
          * Optional. The IP address range of the services IP addresses in this
          * GKE cluster.
    @@ -1660,7 +1513,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 @@ -1668,8 +1520,6 @@ public boolean hasServicesIpv4CidrBlock() { return servicesIpAllocationCase_ == 5; } /** - * - * *
          * Optional. The IP address range of the services IP addresses in this
          * GKE cluster.
    @@ -1685,7 +1535,6 @@ public boolean hasServicesIpv4CidrBlock() {
          * 
    * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The servicesIpv4CidrBlock. */ @java.lang.Override @@ -1695,7 +1544,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; @@ -1706,8 +1556,6 @@ public java.lang.String getServicesIpv4CidrBlock() { } } /** - * - * *
          * Optional. The IP address range of the services IP addresses in this
          * GKE cluster.
    @@ -1723,18 +1571,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; } @@ -1744,8 +1593,6 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { } } /** - * - * *
          * Optional. The IP address range of the services IP addresses in this
          * GKE cluster.
    @@ -1761,22 +1608,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.
    @@ -1792,7 +1637,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() { @@ -1804,8 +1648,6 @@ public Builder clearServicesIpv4CidrBlock() { return this; } /** - * - * *
          * Optional. The IP address range of the services IP addresses in this
          * GKE cluster.
    @@ -1821,23 +1663,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); } @@ -1847,32 +1689,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; @@ -1884,8 +1724,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 4855262d..e2b5b13a 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,65 +55,63 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { supportedPythonVersions_ = supportedPythonVersions_.getUnmodifiableView(); @@ -139,34 +120,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 @@ -175,30 +150,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 { @@ -209,15 +184,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 @@ -228,42 +200,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. */ @@ -271,32 +235,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 @@ -304,14 +263,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 @@ -319,8 +275,6 @@ public com.google.type.Date getReleaseDate() { return releaseDate_ == null ? com.google.type.Date.getDefaultInstance() : releaseDate_; } /** - * - * *
        * The date of the version release.
        * 
    @@ -335,14 +289,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 @@ -353,15 +304,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 @@ -370,7 +318,6 @@ public boolean getUpgradeDisabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -382,7 +329,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 (!getImageVersionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, imageVersionId_); } @@ -390,8 +338,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()); @@ -415,7 +362,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; @@ -426,13 +374,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; @@ -442,24 +393,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; } @@ -474,7 +429,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(); @@ -484,136 +440,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() @@ -621,15 +569,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -653,14 +602,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(); } @@ -675,8 +623,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_; @@ -700,39 +647,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; @@ -740,9 +686,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(); @@ -788,9 +732,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) { @@ -799,26 +741,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; @@ -827,22 +766,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 { @@ -850,80 +788,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 @@ -931,90 +859,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. */ @@ -1022,90 +933,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() { @@ -1115,22 +1016,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(); @@ -1139,31 +1038,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() { @@ -1174,8 +1066,6 @@ public com.google.type.Date getReleaseDate() { } } /** - * - * *
          * The date of the version release.
          * 
    @@ -1196,15 +1086,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(); @@ -1215,8 +1104,6 @@ public Builder setReleaseDate(com.google.type.Date.Builder builderForValue) { return this; } /** - * - * *
          * The date of the version release.
          * 
    @@ -1227,7 +1114,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; } @@ -1239,8 +1126,6 @@ public Builder mergeReleaseDate(com.google.type.Date value) { return this; } /** - * - * *
          * The date of the version release.
          * 
    @@ -1259,8 +1144,6 @@ public Builder clearReleaseDate() { return this; } /** - * - * *
          * The date of the version release.
          * 
    @@ -1268,13 +1151,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.
          * 
    @@ -1285,12 +1166,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.
          * 
    @@ -1298,28 +1178,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 @@ -1327,52 +1205,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 @@ -1380,45 +1249,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); } @@ -1428,32 +1291,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; @@ -1465,8 +1326,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 cafd6225..566d989a 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,72 +54,64 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -145,30 +120,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 { @@ -179,14 +154,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
        * The maximum number of environments to return.
        * 
    * * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -197,14 +169,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 @@ -213,29 +182,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 { @@ -244,7 +213,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -279,7 +248,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!getPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -292,18 +262,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.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; } @@ -327,146 +298,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(); @@ -480,22 +439,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); } @@ -503,10 +459,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_; @@ -518,52 +472,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(); @@ -590,14 +538,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) { @@ -609,21 +554,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; @@ -632,22 +575,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 { @@ -655,79 +597,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 @@ -735,36 +667,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; @@ -772,20 +698,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; @@ -794,21 +718,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 { @@ -816,68 +739,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); } @@ -887,33 +803,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; @@ -925,8 +838,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 63% 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 4955f2fd..75dab8f3 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,40 +55,35 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { environments_ = java.util.Collections.unmodifiableList(environments_); @@ -114,112 +92,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 @@ -228,29 +181,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 { @@ -259,7 +212,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -271,7 +223,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < environments_.size(); i++) { output.writeMessage(1, environments_.get(i)); } @@ -288,7 +241,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 (!getNextPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -301,17 +255,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; } @@ -334,154 +288,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(); @@ -497,22 +433,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); } @@ -520,10 +453,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)) { @@ -543,52 +474,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()) { @@ -607,10 +532,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_); } @@ -635,14 +559,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) { @@ -651,39 +572,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 { @@ -691,14 +601,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) { @@ -708,17 +615,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 { @@ -726,14 +629,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) { @@ -750,18 +650,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()); @@ -772,17 +668,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(); @@ -796,14 +688,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) { @@ -820,14 +709,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) { @@ -841,18 +727,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()); @@ -863,21 +745,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); @@ -885,14 +764,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) { @@ -905,14 +781,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) { @@ -925,50 +798,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 { @@ -976,65 +838,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_; @@ -1042,20 +888,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; @@ -1064,21 +908,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 { @@ -1086,68 +929,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); } @@ -1157,33 +993,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; @@ -1195,8 +1028,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 630e0b36..6662473a 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,77 +54,69 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -150,30 +125,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
        * 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 { @@ -184,14 +159,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
        * The maximum number of image_versions to return.
        * 
    * * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -202,14 +174,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 @@ -218,29 +187,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 { @@ -251,14 +220,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 @@ -267,7 +233,6 @@ public boolean getIncludePastReleases() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -279,7 +244,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -305,13 +271,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!getPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (includePastReleases_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, includePastReleases_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, includePastReleases_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -321,19 +289,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; } @@ -352,158 +322,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(); @@ -519,22 +473,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); } @@ -542,10 +493,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_; @@ -558,52 +507,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(); @@ -633,14 +576,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) { @@ -652,21 +592,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; @@ -675,22 +613,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 { @@ -698,79 +635,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 @@ -778,36 +705,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; @@ -815,20 +736,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; @@ -837,21 +756,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 { @@ -859,76 +777,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 @@ -936,43 +844,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); } @@ -982,33 +884,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; @@ -1020,8 +919,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 34f6f485..116451ca 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,40 +55,35 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { imageVersions_ = java.util.Collections.unmodifiableList(imageVersions_); @@ -114,113 +92,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 @@ -229,29 +181,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 { @@ -260,7 +212,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -272,7 +223,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < imageVersions_.size(); i++) { output.writeMessage(1, imageVersions_.get(i)); } @@ -289,7 +241,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 (!getNextPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -302,17 +255,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; } @@ -335,154 +288,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(); @@ -498,22 +433,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); } @@ -521,10 +453,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)) { @@ -544,52 +474,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()) { @@ -608,10 +532,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_); } @@ -636,14 +559,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) { @@ -652,40 +572,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 { @@ -693,15 +601,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) { @@ -711,18 +615,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 { @@ -730,15 +629,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) { @@ -755,19 +650,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()); @@ -778,18 +668,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(); @@ -803,15 +688,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) { @@ -828,15 +709,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) { @@ -850,19 +727,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()); @@ -873,22 +745,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); @@ -896,15 +764,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) { @@ -917,15 +781,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) { @@ -938,53 +798,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 { @@ -992,67 +838,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(), @@ -1064,20 +888,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; @@ -1086,21 +908,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 { @@ -1108,68 +929,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); } @@ -1179,33 +993,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; @@ -1217,8 +1028,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 9e257f8e..95ff3e8e 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,97 +61,86 @@ 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) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
    +      throw new com.google.protobuf.InvalidProtocolBufferException(
    +          e).setUnfinishedMessage(this);
         } finally {
           if (((mutable_bitField0_ & 0x00000001) != 0)) {
             oauthScopes_ = oauthScopes_.getUnmodifiableView();
    @@ -180,27 +152,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
    @@ -218,7 +185,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * 
    * * string location = 1; - * * @return The location. */ @java.lang.Override @@ -227,15 +193,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
    @@ -253,15 +218,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 { @@ -272,8 +238,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,
    @@ -296,7 +260,6 @@ public com.google.protobuf.ByteString getLocationBytes() {
        * 
    * * string machine_type = 2; - * * @return The machineType. */ @java.lang.Override @@ -305,15 +268,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,
    @@ -336,15 +298,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 { @@ -355,8 +318,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
    @@ -371,7 +332,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() {
        * 
    * * string network = 3; - * * @return The network. */ @java.lang.Override @@ -380,15 +340,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
    @@ -403,15 +362,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 { @@ -422,8 +382,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
    @@ -436,7 +394,6 @@ public com.google.protobuf.ByteString getNetworkBytes() {
        * 
    * * string subnetwork = 4; - * * @return The subnetwork. */ @java.lang.Override @@ -445,15 +402,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
    @@ -466,15 +422,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 { @@ -485,15 +442,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 @@ -504,8 +458,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
    @@ -513,15 +465,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
    @@ -529,15 +479,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
    @@ -545,7 +492,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. */ @@ -553,8 +499,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
    @@ -562,19 +506,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
    @@ -582,7 +524,6 @@ public com.google.protobuf.ByteString getOauthScopesBytes(int index) {
        * 
    * * string service_account = 7; - * * @return The serviceAccount. */ @java.lang.Override @@ -591,15 +532,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
    @@ -607,15 +547,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 { @@ -626,8 +567,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
    @@ -636,15 +575,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
    @@ -653,15 +590,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
    @@ -670,7 +604,6 @@ public int getTagsCount() {
        * 
    * * repeated string tags = 8; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -678,8 +611,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
    @@ -688,27 +619,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 @@ -716,44 +642,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; @@ -765,7 +677,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 (!getLocationBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, location_); } @@ -815,7 +728,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; @@ -837,7 +751,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; @@ -847,25 +762,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; @@ -908,104 +831,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.
    @@ -1013,23 +928,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()
    @@ -1037,15 +950,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();
    @@ -1075,14 +989,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();
         }
     
    @@ -1097,8 +1010,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_;
    @@ -1129,39 +1041,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;
    @@ -1169,9 +1080,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();
    @@ -1237,8 +1146,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) {
    @@ -1247,13 +1155,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
    @@ -1271,13 +1176,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; @@ -1286,8 +1191,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
    @@ -1305,14 +1208,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 { @@ -1320,8 +1224,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
    @@ -1339,22 +1241,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
    @@ -1372,18 +1272,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
    @@ -1401,16 +1298,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; @@ -1418,8 +1315,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,
    @@ -1442,13 +1337,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; @@ -1457,8 +1352,6 @@ public java.lang.String getMachineType() { } } /** - * - * *
          * Optional. The Compute Engine
          * [machine type](/compute/docs/machine-types) used for cluster instances,
    @@ -1481,14 +1374,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 { @@ -1496,8 +1390,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { } } /** - * - * *
          * Optional. The Compute Engine
          * [machine type](/compute/docs/machine-types) used for cluster instances,
    @@ -1520,22 +1412,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,
    @@ -1558,18 +1448,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,
    @@ -1592,16 +1479,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; @@ -1609,8 +1496,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
    @@ -1625,13 +1510,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; @@ -1640,8 +1525,6 @@ public java.lang.String getNetwork() { } } /** - * - * *
          * Optional. The Compute Engine network to be used for machine
          * communications, specified as a
    @@ -1656,14 +1539,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 { @@ -1671,8 +1555,6 @@ public com.google.protobuf.ByteString getNetworkBytes() { } } /** - * - * *
          * Optional. The Compute Engine network to be used for machine
          * communications, specified as a
    @@ -1687,22 +1569,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
    @@ -1717,18 +1597,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
    @@ -1743,16 +1620,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; @@ -1760,8 +1637,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
    @@ -1774,13 +1649,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; @@ -1789,8 +1664,6 @@ public java.lang.String getSubnetwork() { } } /** - * - * *
          * Optional. The Compute Engine subnetwork to be used for machine
          * communications, specified as a
    @@ -1803,14 +1676,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 { @@ -1818,8 +1692,6 @@ public com.google.protobuf.ByteString getSubnetworkBytes() { } } /** - * - * *
          * Optional. The Compute Engine subnetwork to be used for machine
          * communications, specified as a
    @@ -1832,22 +1704,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
    @@ -1860,18 +1730,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
    @@ -1884,32 +1751,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 @@ -1917,55 +1781,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
    @@ -1973,15 +1827,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
    @@ -1989,15 +1841,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
    @@ -2005,7 +1854,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. */ @@ -2013,8 +1861,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
    @@ -2022,16 +1868,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
    @@ -2039,23 +1883,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
    @@ -2063,22 +1905,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
    @@ -2086,19 +1926,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
    @@ -2106,7 +1945,6 @@ public Builder addAllOauthScopes(java.lang.Iterable values) {
          * 
    * * repeated string oauth_scopes = 6; - * * @return This builder for chaining. */ public Builder clearOauthScopes() { @@ -2116,8 +1954,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
    @@ -2125,15 +1961,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(); @@ -2142,8 +1978,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
    @@ -2151,13 +1985,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; @@ -2166,8 +2000,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
    @@ -2175,14 +2007,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 { @@ -2190,8 +2023,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
    @@ -2199,22 +2030,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
    @@ -2222,18 +2051,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
    @@ -2241,33 +2067,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
    @@ -2276,15 +2098,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
    @@ -2293,15 +2113,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
    @@ -2310,7 +2127,6 @@ public int getTagsCount() {
          * 
    * * repeated string tags = 8; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -2318,8 +2134,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
    @@ -2328,16 +2142,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
    @@ -2346,23 +2158,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
    @@ -2371,22 +2181,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
    @@ -2395,19 +2203,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
    @@ -2416,7 +2223,6 @@ public Builder addAllTags(java.lang.Iterable values) {
          * 
    * * repeated string tags = 8; - * * @return This builder for chaining. */ public Builder clearTags() { @@ -2426,8 +2232,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
    @@ -2436,81 +2240,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(); @@ -2524,19 +2305,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(); @@ -2547,25 +2323,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; } @@ -2577,15 +2345,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) { @@ -2599,74 +2363,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); } @@ -2676,13 +2421,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(); } @@ -2691,16 +2435,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; @@ -2715,4 +2459,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 58fe565e..9a985aa3 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,111 +56,98 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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.
          * 
    @@ -186,8 +156,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0, 0), /** - * - * *
          * The operation has been created but is not yet started.
          * 
    @@ -196,8 +164,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(1, 1), /** - * - * *
          * The operation is underway.
          * 
    @@ -206,8 +172,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(2, 2), /** - * - * *
          * The operation completed successfully.
          * 
    @@ -216,8 +180,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(3, 3), /** - * - * *
          * The operation is no longer running but did not succeed.
          * 
    @@ -228,11 +190,11 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1, -1), ; - /** SUCCESSFUL = 3; */ + /** + * SUCCESSFUL = 3; + */ public static final State SUCCESSFUL = SUCCEEDED; /** - * - * *
          * Unused.
          * 
    @@ -241,8 +203,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.
          * 
    @@ -251,8 +211,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 1; /** - * - * *
          * The operation is underway.
          * 
    @@ -261,8 +219,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 2; /** - * - * *
          * The operation completed successfully.
          * 
    @@ -270,11 +226,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.
          * 
    @@ -283,6 +239,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( @@ -307,61 +264,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; @@ -381,18 +332,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.
          * 
    @@ -401,8 +349,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
          * A resource creation operation.
          * 
    @@ -411,8 +357,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ CREATE(1), /** - * - * *
          * A resource deletion operation.
          * 
    @@ -421,8 +365,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DELETE(2), /** - * - * *
          * A resource update operation.
          * 
    @@ -431,8 +373,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ UPDATE(3), /** - * - * *
          * A resource check operation.
          * 
    @@ -444,8 +384,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
          * Unused.
          * 
    @@ -454,8 +392,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
          * A resource creation operation.
          * 
    @@ -464,8 +400,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATE_VALUE = 1; /** - * - * *
          * A resource deletion operation.
          * 
    @@ -474,8 +408,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETE_VALUE = 2; /** - * - * *
          * A resource update operation.
          * 
    @@ -484,8 +416,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPDATE_VALUE = 3; /** - * - * *
          * A resource check operation.
          * 
    @@ -494,6 +424,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( @@ -518,55 +449,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; @@ -586,95 +513,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 @@ -683,30 +581,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 { @@ -717,14 +615,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 @@ -733,29 +628,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 { @@ -766,14 +661,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 @@ -781,14 +673,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 @@ -796,8 +685,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.
        * 
    @@ -812,15 +699,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 @@ -828,15 +712,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 @@ -844,8 +725,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.
    @@ -859,7 +738,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       }
     
       private byte memoizedIsInitialized = -1;
    -
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
    @@ -871,16 +749,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 (!getResourceBytes().isEmpty()) {
    @@ -904,16 +778,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 (!getResourceBytes().isEmpty()) {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, resource_);
    @@ -922,10 +793,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;
    @@ -935,25 +808,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;
    @@ -988,145 +864,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(); @@ -1154,16 +1019,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 @@ -1177,8 +1040,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_; @@ -1201,51 +1063,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()); } @@ -1285,9 +1142,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) { @@ -1299,98 +1154,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; @@ -1398,105 +1228,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; @@ -1504,21 +1302,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; @@ -1527,22 +1323,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 { @@ -1550,64 +1345,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; @@ -1615,20 +1403,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; @@ -1637,21 +1423,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 { @@ -1659,61 +1444,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; @@ -1721,47 +1499,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.
          * 
    @@ -1782,15 +1547,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(); @@ -1801,8 +1565,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
          * Output only. The time the operation was submitted to the server.
          * 
    @@ -1813,7 +1575,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; } @@ -1825,8 +1587,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
          * Output only. The time the operation was submitted to the server.
          * 
    @@ -1845,8 +1605,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
          * Output only. The time the operation was submitted to the server.
          * 
    @@ -1854,13 +1612,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.
          * 
    @@ -1871,14 +1627,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.
          * 
    @@ -1886,17 +1639,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_; @@ -1904,35 +1654,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() { @@ -1943,8 +1684,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.
    @@ -1966,8 +1705,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.
    @@ -1975,7 +1712,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();
    @@ -1986,8 +1724,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.
    @@ -1999,7 +1735,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;
             }
    @@ -2011,8 +1747,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.
    @@ -2032,8 +1766,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.
    @@ -2042,13 +1774,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.
    @@ -2060,12 +1790,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.
    @@ -2074,24 +1803,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);
         }
     
    @@ -2101,32 +1827,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;
    @@ -2138,8 +1862,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 70%
    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 0f8bf9d7..fccf346c 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,71 +55,64 @@ 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) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
    +      throw new com.google.protobuf.InvalidProtocolBufferException(
    +          e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
    -
    -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -    return com.google.cloud.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 @@ -147,15 +123,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 @@ -164,30 +137,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 { @@ -198,8 +171,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
    @@ -208,9 +179,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 @@ -219,15 +188,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
    @@ -236,17 +204,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 { @@ -255,7 +223,6 @@ public com.google.protobuf.ByteString getMasterIpv4ReservedRangeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,7 +234,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enablePrivateEndpoint_ != false) { output.writeBool(1, enablePrivateEndpoint_); } @@ -287,7 +255,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 (!getMasterIpv4CidrBlockBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, masterIpv4CidrBlock_); @@ -303,17 +272,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; } @@ -326,7 +297,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; @@ -337,105 +309,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.
    @@ -443,40 +406,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();
    @@ -490,22 +451,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);
           }
    @@ -514,8 +472,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_;
    @@ -527,51 +484,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());
           }
    @@ -602,9 +554,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) {
    @@ -614,17 +564,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 @@ -632,38 +579,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; @@ -671,21 +612,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; @@ -694,22 +633,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 { @@ -717,64 +655,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; @@ -782,8 +713,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
    @@ -792,15 +721,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; @@ -809,8 +737,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
    @@ -819,16 +745,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 { @@ -836,8 +762,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
    @@ -846,24 +770,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
    @@ -872,20 +793,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
    @@ -894,25 +811,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); } @@ -922,32 +838,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; @@ -959,8 +873,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 03758146..a403dc26 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,91 +56,77 @@ 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) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
    +      throw new com.google.protobuf.InvalidProtocolBufferException(
    +          e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
    -
    -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    -    return com.google.cloud.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
    @@ -165,7 +134,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 @@ -174,20 +142,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 @@ -195,50 +157,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
    @@ -246,7 +192,6 @@ public boolean hasPrivateClusterConfig() {
        * 
    * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The webServerIpv4CidrBlock. */ @java.lang.Override @@ -255,15 +200,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
    @@ -271,15 +215,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 { @@ -290,15 +235,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 @@ -307,30 +249,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 { @@ -341,15 +283,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 @@ -358,30 +296,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 { @@ -390,7 +327,6 @@ public com.google.protobuf.ByteString getWebServerIpv4ReservedRangeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -402,7 +338,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enablePrivateEnvironment_ != false) { output.writeBool(1, enablePrivateEnvironment_); } @@ -428,11 +365,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 (!getWebServerIpv4CidrBlockBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, webServerIpv4CidrBlock_); @@ -441,8 +379,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, cloudSqlIpv4CidrBlock_); } if (!getWebServerIpv4ReservedRangeBytes().isEmpty()) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(5, webServerIpv4ReservedRange_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, webServerIpv4ReservedRange_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -452,24 +389,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; } @@ -482,7 +421,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(); @@ -498,111 +438,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.
    @@ -610,41 +536,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();
    @@ -666,22 +589,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);
           }
    @@ -689,10 +609,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_;
    @@ -710,52 +628,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());
           }
    @@ -789,14 +701,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) {
    @@ -806,10 +715,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
    @@ -817,7 +724,6 @@ public Builder mergeFrom(
          * 
    * * bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enablePrivateEnvironment. */ @java.lang.Override @@ -825,8 +731,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
    @@ -834,19 +738,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
    @@ -854,79 +755,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(); @@ -940,20 +817,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(); @@ -964,26 +836,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; } @@ -995,16 +859,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) { @@ -1018,70 +878,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_; @@ -1089,8 +930,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
    @@ -1098,13 +937,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; @@ -1113,8 +952,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
    @@ -1122,14 +959,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 { @@ -1137,8 +975,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
    @@ -1146,22 +982,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
    @@ -1169,18 +1003,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
    @@ -1188,16 +1019,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; @@ -1205,21 +1036,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; @@ -1228,22 +1057,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 { @@ -1251,64 +1079,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; @@ -1316,21 +1137,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; @@ -1339,22 +1157,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 { @@ -1362,71 +1178,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); } @@ -1436,33 +1242,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; @@ -1474,8 +1277,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 ef439e15..d4c45a3b 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,95 +55,85 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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(); @@ -169,25 +142,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
    @@ -209,7 +178,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
        * 
    * * string image_version = 1; - * * @return The imageVersion. */ @java.lang.Override @@ -218,15 +186,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
    @@ -248,15 +215,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 { @@ -265,22 +233,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); @@ -292,8 +259,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,22 +277,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 java.lang.NullPointerException();
    -    }
    +  public boolean containsAirflowConfigOverrides(
    +      java.lang.String key) {
    +    if (key == null) { throw new java.lang.NullPointerException(); }
         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
    @@ -347,12 +312,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
    @@ -372,18 +336,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 java.lang.NullPointerException();
    -    }
    +      java.lang.String key,
    +      java.lang.String defaultValue) {
    +    if (key == null) { throw new java.lang.NullPointerException(); }
         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
    @@ -403,10 +365,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 java.lang.NullPointerException();
    -    }
    +
    +  public java.lang.String getAirflowConfigOverridesOrThrow(
    +      java.lang.String key) {
    +    if (key == null) { throw new java.lang.NullPointerException(); }
         java.util.Map map =
             internalGetAirflowConfigOverrides().getMap();
         if (!map.containsKey(key)) {
    @@ -416,22 +378,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);
    @@ -443,8 +404,6 @@ public int getPypiPackagesCount() {
         return internalGetPypiPackages().getMap().size();
       }
       /**
    -   *
    -   *
        * 
        * Optional. Custom Python Package Index (PyPI) packages to be installed in
        * the environment.
    @@ -457,22 +416,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 java.lang.NullPointerException();
    -    }
    +  public boolean containsPypiPackages(
    +      java.lang.String key) {
    +    if (key == null) { throw new java.lang.NullPointerException(); }
         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.
    @@ -486,12 +445,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.
    @@ -505,17 +463,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 java.lang.NullPointerException();
    -    }
    -    java.util.Map map = internalGetPypiPackages().getMap();
    +      java.lang.String key,
    +      java.lang.String defaultValue) {
    +    if (key == null) { throw new java.lang.NullPointerException(); }
    +    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.
    @@ -529,11 +486,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 java.lang.NullPointerException();
    -    }
    -    java.util.Map map = internalGetPypiPackages().getMap();
    +
    +  public java.lang.String getPypiPackagesOrThrow(
    +      java.lang.String key) {
    +    if (key == null) { throw new java.lang.NullPointerException(); }
    +    java.util.Map map =
    +        internalGetPypiPackages().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
    @@ -541,22 +499,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);
    @@ -568,8 +525,6 @@ public int getEnvVariablesCount() {
         return internalGetEnvVariables().getMap().size();
       }
       /**
    -   *
    -   *
        * 
        * Optional. Additional environment variables to provide to the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -595,22 +550,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 java.lang.NullPointerException();
    -    }
    +  public boolean containsEnvVariables(
    +      java.lang.String key) {
    +    if (key == null) { throw new java.lang.NullPointerException(); }
         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.
    @@ -637,12 +592,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.
    @@ -669,17 +623,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 java.lang.NullPointerException();
    -    }
    -    java.util.Map map = internalGetEnvVariables().getMap();
    +      java.lang.String key,
    +      java.lang.String defaultValue) {
    +    if (key == null) { throw new java.lang.NullPointerException(); }
    +    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.
    @@ -706,11 +659,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 java.lang.NullPointerException();
    -    }
    -    java.util.Map map = internalGetEnvVariables().getMap();
    +
    +  public java.lang.String getEnvVariablesOrThrow(
    +      java.lang.String key) {
    +    if (key == null) { throw new java.lang.NullPointerException(); }
    +    java.util.Map map =
    +        internalGetEnvVariables().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
    @@ -720,8 +674,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.
    @@ -730,7 +682,6 @@ public java.lang.String getEnvVariablesOrThrow(java.lang.String key) {
        * 
    * * string python_version = 6; - * * @return The pythonVersion. */ @java.lang.Override @@ -739,15 +690,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.
    @@ -756,15 +706,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 { @@ -773,7 +724,6 @@ public com.google.protobuf.ByteString getPythonVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -785,19 +735,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 (!getImageVersionBytes().isEmpty()) { 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 (!getPythonVersionBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, pythonVersion_); } @@ -813,35 +773,35 @@ public int getSerializedSize() { if (!getImageVersionBytes().isEmpty()) { 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 (!getPythonVersionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, pythonVersion_); @@ -854,20 +814,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; } @@ -901,121 +864,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(); @@ -1024,12 +980,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(); @@ -1038,18 +995,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() @@ -1057,15 +1012,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(); @@ -1080,14 +1036,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(); } @@ -1102,8 +1057,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(); @@ -1121,58 +1075,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(); @@ -1196,9 +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.SoftwareConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1.SoftwareConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1207,13 +1157,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
    @@ -1235,13 +1182,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; @@ -1250,8 +1197,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
    @@ -1273,14 +1218,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 { @@ -1288,8 +1234,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
    @@ -1311,22 +1255,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
    @@ -1348,18 +1290,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
    @@ -1381,41 +1320,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(); @@ -1427,8 +1362,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
    @@ -1447,22 +1380,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 java.lang.NullPointerException();
    -      }
    +    public boolean containsAirflowConfigOverrides(
    +        java.lang.String key) {
    +      if (key == null) { throw new java.lang.NullPointerException(); }
           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
    @@ -1482,12 +1415,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
    @@ -1507,18 +1439,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 java.lang.NullPointerException();
    -      }
    +        java.lang.String key,
    +        java.lang.String defaultValue) {
    +      if (key == null) { throw new java.lang.NullPointerException(); }
           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
    @@ -1538,10 +1468,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 java.lang.NullPointerException();
    -      }
    +
    +    public java.lang.String getAirflowConfigOverridesOrThrow(
    +        java.lang.String key) {
    +      if (key == null) { throw new java.lang.NullPointerException(); }
           java.util.Map map =
               internalGetAirflowConfigOverrides().getMap();
           if (!map.containsKey(key)) {
    @@ -1551,12 +1481,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
    @@ -1575,21 +1504,23 @@ public Builder clearAirflowConfigOverrides() {
          *
          * map<string, string> airflow_config_overrides = 2;
          */
    -    public Builder removeAirflowConfigOverrides(java.lang.String key) {
    -      if (key == null) {
    -        throw new java.lang.NullPointerException();
    -      }
    -      internalGetMutableAirflowConfigOverrides().getMutableMap().remove(key);
    +
    +    public Builder removeAirflowConfigOverrides(
    +        java.lang.String key) {
    +      if (key == null) { throw new java.lang.NullPointerException(); }
    +      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
    @@ -1608,19 +1539,16 @@ 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 java.lang.NullPointerException();
    -      }
    -      if (value == null) {
    -        throw new java.lang.NullPointerException();
    -      }
    -      internalGetMutableAirflowConfigOverrides().getMutableMap().put(key, value);
    +    public Builder putAirflowConfigOverrides(
    +        java.lang.String key,
    +        java.lang.String value) {
    +      if (key == null) { throw new java.lang.NullPointerException(); }
    +      if (value == null) { throw new java.lang.NullPointerException(); }
    +      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
    @@ -1639,30 +1567,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();
    @@ -1674,8 +1602,6 @@ public int getPypiPackagesCount() {
           return internalGetPypiPackages().getMap().size();
         }
         /**
    -     *
    -     *
          * 
          * Optional. Custom Python Package Index (PyPI) packages to be installed in
          * the environment.
    @@ -1688,22 +1614,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 java.lang.NullPointerException();
    -      }
    +    public boolean containsPypiPackages(
    +        java.lang.String key) {
    +      if (key == null) { throw new java.lang.NullPointerException(); }
           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.
    @@ -1717,12 +1643,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.
    @@ -1736,17 +1661,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 java.lang.NullPointerException();
    -      }
    -      java.util.Map map = internalGetPypiPackages().getMap();
    +        java.lang.String key,
    +        java.lang.String defaultValue) {
    +      if (key == null) { throw new java.lang.NullPointerException(); }
    +      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.
    @@ -1760,11 +1684,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 java.lang.NullPointerException();
    -      }
    -      java.util.Map map = internalGetPypiPackages().getMap();
    +
    +    public java.lang.String getPypiPackagesOrThrow(
    +        java.lang.String key) {
    +      if (key == null) { throw new java.lang.NullPointerException(); }
    +      java.util.Map map =
    +          internalGetPypiPackages().getMap();
           if (!map.containsKey(key)) {
             throw new java.lang.IllegalArgumentException();
           }
    @@ -1772,12 +1697,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.
    @@ -1790,21 +1714,23 @@ public Builder clearPypiPackages() {
          *
          * map<string, string> pypi_packages = 3;
          */
    -    public Builder removePypiPackages(java.lang.String key) {
    -      if (key == null) {
    -        throw new java.lang.NullPointerException();
    -      }
    -      internalGetMutablePypiPackages().getMutableMap().remove(key);
    +
    +    public Builder removePypiPackages(
    +        java.lang.String key) {
    +      if (key == null) { throw new java.lang.NullPointerException(); }
    +      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.
    @@ -1817,19 +1743,16 @@ 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 java.lang.NullPointerException();
    -      }
    -      if (value == null) {
    -        throw new java.lang.NullPointerException();
    -      }
    -      internalGetMutablePypiPackages().getMutableMap().put(key, value);
    +    public Builder putPypiPackages(
    +        java.lang.String key,
    +        java.lang.String value) {
    +      if (key == null) { throw new java.lang.NullPointerException(); }
    +      if (value == null) { throw new java.lang.NullPointerException(); }
    +      internalGetMutablePypiPackages().getMutableMap()
    +          .put(key, value);
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Optional. Custom Python Package Index (PyPI) packages to be installed in
          * the environment.
    @@ -1842,29 +1765,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();
    @@ -1876,8 +1800,6 @@ public int getEnvVariablesCount() {
           return internalGetEnvVariables().getMap().size();
         }
         /**
    -     *
    -     *
          * 
          * Optional. Additional environment variables to provide to the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -1903,22 +1825,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 java.lang.NullPointerException();
    -      }
    +    public boolean containsEnvVariables(
    +        java.lang.String key) {
    +      if (key == null) { throw new java.lang.NullPointerException(); }
           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.
    @@ -1945,12 +1867,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.
    @@ -1977,17 +1898,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 java.lang.NullPointerException();
    -      }
    -      java.util.Map map = internalGetEnvVariables().getMap();
    +        java.lang.String key,
    +        java.lang.String defaultValue) {
    +      if (key == null) { throw new java.lang.NullPointerException(); }
    +      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.
    @@ -2014,11 +1934,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 java.lang.NullPointerException();
    -      }
    -      java.util.Map map = internalGetEnvVariables().getMap();
    +
    +    public java.lang.String getEnvVariablesOrThrow(
    +        java.lang.String key) {
    +      if (key == null) { throw new java.lang.NullPointerException(); }
    +      java.util.Map map =
    +          internalGetEnvVariables().getMap();
           if (!map.containsKey(key)) {
             throw new java.lang.IllegalArgumentException();
           }
    @@ -2026,12 +1947,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.
    @@ -2057,21 +1977,23 @@ public Builder clearEnvVariables() {
          *
          * map<string, string> env_variables = 4;
          */
    -    public Builder removeEnvVariables(java.lang.String key) {
    -      if (key == null) {
    -        throw new java.lang.NullPointerException();
    -      }
    -      internalGetMutableEnvVariables().getMutableMap().remove(key);
    +
    +    public Builder removeEnvVariables(
    +        java.lang.String key) {
    +      if (key == null) { throw new java.lang.NullPointerException(); }
    +      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.
    @@ -2097,19 +2019,16 @@ 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 java.lang.NullPointerException();
    -      }
    -      if (value == null) {
    -        throw new java.lang.NullPointerException();
    -      }
    -      internalGetMutableEnvVariables().getMutableMap().put(key, value);
    +    public Builder putEnvVariables(
    +        java.lang.String key,
    +        java.lang.String value) {
    +      if (key == null) { throw new java.lang.NullPointerException(); }
    +      if (value == null) { throw new java.lang.NullPointerException(); }
    +      internalGetMutableEnvVariables().getMutableMap()
    +          .put(key, value);
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Optional. Additional environment variables to provide to the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -2135,15 +2054,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.
    @@ -2152,13 +2072,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;
    @@ -2167,8 +2087,6 @@ public java.lang.String getPythonVersion() {
           }
         }
         /**
    -     *
    -     *
          * 
          * Optional. The major version of Python used to run the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -2177,14 +2095,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 { @@ -2192,8 +2111,6 @@ public com.google.protobuf.ByteString getPythonVersionBytes() { } } /** - * - * *
          * Optional. The major version of Python used to run the Apache Airflow
          * scheduler, worker, and webserver processes.
    @@ -2202,22 +2119,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.
    @@ -2226,18 +2141,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.
    @@ -2246,23 +2158,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); } @@ -2272,32 +2184,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; @@ -2309,8 +2219,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 03201c71..34bd58ef 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
    @@ -170,11 +146,11 @@ public interface SoftwareConfigOrBuilder
        *
        * map<string, string> airflow_config_overrides = 2;
        */
    +
       java.lang.String getAirflowConfigOverridesOrDefault(
    -      java.lang.String key, java.lang.String defaultValue);
    +      java.lang.String key,
    +      java.lang.String defaultValue);
       /**
    -   *
    -   *
        * 
        * Optional. Apache Airflow configuration properties to override.
        * Property keys contain the section and property names, separated by a
    @@ -193,11 +169,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.
    @@ -212,8 +188,6 @@ java.lang.String getAirflowConfigOverridesOrDefault(
        */
       int getPypiPackagesCount();
       /**
    -   *
    -   *
        * 
        * Optional. Custom Python Package Index (PyPI) packages to be installed in
        * the environment.
    @@ -226,13 +200,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.
    @@ -245,10 +221,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.
    @@ -261,10 +236,11 @@ java.lang.String getAirflowConfigOverridesOrDefault(
        *
        * map<string, string> pypi_packages = 3;
        */
    -  java.lang.String getPypiPackagesOrDefault(java.lang.String key, java.lang.String defaultValue);
    +
    +  java.lang.String getPypiPackagesOrDefault(
    +      java.lang.String key,
    +      java.lang.String defaultValue);
       /**
    -   *
    -   *
        * 
        * Optional. Custom Python Package Index (PyPI) packages to be installed in
        * the environment.
    @@ -277,11 +253,11 @@ java.lang.String getAirflowConfigOverridesOrDefault(
        *
        * 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.
    @@ -309,8 +285,6 @@ java.lang.String getAirflowConfigOverridesOrDefault(
        */
       int getEnvVariablesCount();
       /**
    -   *
    -   *
        * 
        * Optional. Additional environment variables to provide to the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -336,13 +310,15 @@ java.lang.String getAirflowConfigOverridesOrDefault(
        *
        * 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.
    @@ -368,10 +344,9 @@ java.lang.String getAirflowConfigOverridesOrDefault(
        *
        * 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.
    @@ -397,10 +372,11 @@ java.lang.String getAirflowConfigOverridesOrDefault(
        *
        * map<string, string> env_variables = 4;
        */
    -  java.lang.String getEnvVariablesOrDefault(java.lang.String key, java.lang.String defaultValue);
    +
    +  java.lang.String getEnvVariablesOrDefault(
    +      java.lang.String key,
    +      java.lang.String defaultValue);
       /**
    -   *
    -   *
        * 
        * Optional. Additional environment variables to provide to the Apache Airflow
        * scheduler, worker, and webserver processes.
    @@ -426,11 +402,11 @@ java.lang.String getAirflowConfigOverridesOrDefault(
        *
        * 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.
    @@ -439,13 +415,10 @@ java.lang.String getAirflowConfigOverridesOrDefault(
        * 
    * * 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.
    @@ -454,8 +427,8 @@ java.lang.String getAirflowConfigOverridesOrDefault(
        * 
    * * 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 d87eef1b..b84ae17b 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,93 +53,79 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -165,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 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 { @@ -199,15 +168,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 @@ -215,26 +181,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.
    @@ -243,16 +202,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.
    @@ -361,7 +317,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 @@ -369,8 +324,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
        * Required. A comma-separated list of paths, relative to `Environment`, of
        * fields to update.
    @@ -479,7 +432,6 @@ public boolean hasUpdateMask() {
        * 
    * * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ @java.lang.Override @@ -487,8 +439,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.
    @@ -604,7 +554,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       }
     
       private byte memoizedIsInitialized = -1;
    -
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
    @@ -616,7 +565,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());
         }
    @@ -636,13 +586,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 (!getNameBytes().isEmpty()) {
           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;
    @@ -652,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.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;
    @@ -696,152 +649,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(); @@ -863,22 +799,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); } @@ -886,10 +819,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_; @@ -909,52 +840,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(); @@ -980,14 +905,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) { @@ -999,21 +921,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; @@ -1022,22 +942,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 { @@ -1045,64 +964,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; @@ -1110,49 +1022,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.
    @@ -1160,8 +1059,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();
    @@ -1175,8 +1073,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.
    @@ -1196,8 +1092,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.
    @@ -1205,14 +1099,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;
             }
    @@ -1224,8 +1115,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.
    @@ -1245,8 +1134,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.
    @@ -1254,15 +1141,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.
    @@ -1270,19 +1154,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.
    @@ -1291,17 +1171,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_;
    @@ -1309,13 +1186,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.
    @@ -1424,15 +1296,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.
    @@ -1541,21 +1410,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.
    @@ -1679,8 +1543,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.
    @@ -1790,7 +1652,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();
    @@ -1801,8 +1664,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.
    @@ -1916,7 +1777,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;
             }
    @@ -1928,8 +1789,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.
    @@ -2051,8 +1910,6 @@ public Builder clearUpdateMask() {
           return this;
         }
         /**
    -     *
    -     *
          * 
          * Required. A comma-separated list of paths, relative to `Environment`, of
          * fields to update.
    @@ -2163,13 +2020,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.
    @@ -2283,14 +2138,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.
    @@ -2401,24 +2253,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);
         }
     
    @@ -2428,33 +2277,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;
    @@ -2466,8 +2312,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 973888fe..0f5e0c03 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,52 +53,47 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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
    @@ -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. Machine type on which Airflow web server is running.
        * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
    @@ -154,15 +130,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 { @@ -171,7 +148,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +159,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 (!getMachineTypeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, machineType_); } @@ -207,15 +184,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; } @@ -235,145 +212,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(); @@ -383,14 +349,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(); } @@ -405,8 +370,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; @@ -416,50 +380,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(); @@ -483,9 +443,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) { @@ -497,8 +455,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
    @@ -509,13 +465,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; @@ -524,8 +480,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
    @@ -536,14 +490,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 { @@ -551,8 +506,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
    @@ -563,22 +516,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
    @@ -589,18 +540,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
    @@ -611,23 +559,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); } @@ -637,32 +585,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; @@ -674,8 +620,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 c9453c58..8d521ff2 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,35 +54,29 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { allowedIpRanges_ = java.util.Collections.unmodifiableList(allowedIpRanges_); @@ -108,31 +85,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.
    @@ -144,13 +114,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.
    @@ -162,56 +129,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_ = ""; @@ -219,15 +177,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) @@ -246,61 +205,53 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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.
    @@ -312,7 +263,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          * 
    * * string value = 1; - * * @return The value. */ @java.lang.Override @@ -321,15 +271,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.
    @@ -341,15 +290,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 { @@ -360,14 +310,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 @@ -376,29 +323,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 { @@ -407,7 +354,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -419,7 +365,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 (!getValueBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); } @@ -449,22 +396,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; } @@ -485,115 +427,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 @@ -603,53 +518,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(); @@ -661,26 +567,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); } @@ -688,14 +587,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(); @@ -706,60 +599,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(); @@ -783,16 +662,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) { @@ -804,8 +678,6 @@ public Builder mergeFrom( private java.lang.Object value_ = ""; /** - * - * *
            * IP address or range, defined using CIDR notation, of requests that this
            * rule applies to.
    @@ -817,13 +689,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; @@ -832,8 +704,6 @@ public java.lang.String getValue() { } } /** - * - * *
            * IP address or range, defined using CIDR notation, of requests that this
            * rule applies to.
    @@ -845,14 +715,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 { @@ -860,8 +731,6 @@ public com.google.protobuf.ByteString getValueBytes() { } } /** - * - * *
            * IP address or range, defined using CIDR notation, of requests that this
            * rule applies to.
    @@ -873,22 +742,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.
    @@ -900,18 +767,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.
    @@ -923,16 +787,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; @@ -940,20 +804,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; @@ -962,21 +824,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 { @@ -984,66 +845,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) { @@ -1056,36 +909,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; @@ -1097,107 +944,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; @@ -1209,7 +1022,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)); } @@ -1223,7 +1037,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; @@ -1233,17 +1048,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; } @@ -1264,155 +1077,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(); @@ -1426,22 +1220,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); } @@ -1449,10 +1240,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)) { @@ -1471,54 +1260,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()) { @@ -1537,10 +1318,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_); } @@ -1561,14 +1341,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) { @@ -1577,48 +1354,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 { @@ -1626,15 +1383,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) { @@ -1644,19 +1397,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 { @@ -1664,21 +1411,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(); @@ -1692,21 +1432,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()); @@ -1717,20 +1450,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(); @@ -1744,21 +1470,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(); @@ -1772,20 +1491,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()); @@ -1796,21 +1509,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()); @@ -1821,25 +1527,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); @@ -1847,15 +1546,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) { @@ -1868,15 +1563,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) { @@ -1889,57 +1580,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 { @@ -1947,79 +1620,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(), @@ -2028,9 +1667,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); } @@ -2040,34 +1679,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; @@ -2079,8 +1714,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/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 94% 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 440c78f4..99128036 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 @@ -16,7 +16,6 @@ package com.google.cloud.orchestration.airflow.service.v1beta1; -import com.google.api.core.ApiFunction; import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; import com.google.api.core.BetaApi; @@ -61,13 +60,13 @@ * methods: * *
      - *
    1. A "flattened" method. With this type of method, the fields of the request type have been + *
    2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
    3. A "request object" method. This type of method only takes one parameter, a request object, + *
    4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
    5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
    6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
    * @@ -489,48 +488,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 @@ -895,10 +894,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( @@ -908,12 +904,7 @@ public static ApiFuture createAsync( ListEnvironmentsPage.createEmptyPage().createPageAsync(context, futureResponse); return ApiFutures.transform( futurePage, - new ApiFunction() { - @Override - public ListEnvironmentsPagedResponse apply(ListEnvironmentsPage input) { - return new ListEnvironmentsPagedResponse(input); - } - }, + input -> new ListEnvironmentsPagedResponse(input), MoreExecutors.directExecutor()); } @@ -953,10 +944,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 97% 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 092d7ecb..754f7527 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 @@ -28,6 +28,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.orchestration.airflow.service.v1beta1.stub.EnvironmentsStubSettings; @@ -44,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 @@ -224,14 +225,13 @@ public EnvironmentsStubSettings.Builder getStubSettingsBuilder() { return ((EnvironmentsStubSettings.Builder) getStubSettings()); } - // NEXT_MAJOR_VER: remove 'throws Exception'. /** * Applies the given settings updater function to all of the unary API methods in this service. * *

      Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) throws Exception { + ApiFunction, Void> settingsUpdater) { super.applyToAllUnaryMethods( getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); return this; 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 93% 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 875885ea..8202a282 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 @@ -16,7 +16,6 @@ package com.google.cloud.orchestration.airflow.service.v1beta1; -import com.google.api.core.ApiFunction; import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; import com.google.api.core.BetaApi; @@ -57,13 +56,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. *
      * @@ -300,10 +299,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( @@ -313,12 +309,7 @@ public static ApiFuture createAsync( ListImageVersionsPage.createEmptyPage().createPageAsync(context, futureResponse); return ApiFutures.transform( futurePage, - new ApiFunction() { - @Override - public ListImageVersionsPagedResponse apply(ListImageVersionsPage input) { - return new ListImageVersionsPagedResponse(input); - } - }, + input -> new ListImageVersionsPagedResponse(input), MoreExecutors.directExecutor()); } @@ -329,9 +320,7 @@ private ListImageVersionsPagedResponse(ListImageVersionsPage page) { public static class ListImageVersionsPage extends AbstractPage< - ListImageVersionsRequest, - ListImageVersionsResponse, - ImageVersion, + ListImageVersionsRequest, ListImageVersionsResponse, ImageVersion, ListImageVersionsPage> { private ListImageVersionsPage( @@ -361,10 +350,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 95% 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 f12e16c4..78925496 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 @@ -27,6 +27,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.orchestration.airflow.service.v1beta1.stub.ImageVersionsStubSettings; @@ -41,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 @@ -161,14 +162,13 @@ public ImageVersionsStubSettings.Builder getStubSettingsBuilder() { return ((ImageVersionsStubSettings.Builder) getStubSettings()); } - // NEXT_MAJOR_VER: remove 'throws Exception'. /** * Applies the given settings updater function to all of the unary API methods in this service. * *

      Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) throws Exception { + ApiFunction, Void> settingsUpdater) { super.applyToAllUnaryMethods( getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); return this; 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 100% 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 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 98% 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 3cffc41b..33fb34b5 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 @@ -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 @@ -624,14 +624,13 @@ private static Builder initDefaults(Builder builder) { return builder; } - // NEXT_MAJOR_VER: remove 'throws Exception'. /** * Applies the given settings updater function to all of the unary API methods in this service. * *

      Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) throws Exception { + ApiFunction, Void> settingsUpdater) { super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); return this; } 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 85% 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 8e6f5d63..f7f41162 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 @@ -25,7 +25,6 @@ import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; -import com.google.api.gax.rpc.RequestParamsExtractor; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest; import com.google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse; @@ -202,26 +201,20 @@ protected GrpcEnvironmentsStub( GrpcCallSettings.newBuilder() .setMethodDescriptor(createEnvironmentMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(CreateEnvironmentRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); GrpcCallSettings getEnvironmentTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(getEnvironmentMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(GetEnvironmentRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); GrpcCallSettings @@ -229,65 +222,50 @@ public Map extract(GetEnvironmentRequest request) { GrpcCallSettings.newBuilder() .setMethodDescriptor(listEnvironmentsMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(ListEnvironmentsRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); GrpcCallSettings updateEnvironmentTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(updateEnvironmentMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(UpdateEnvironmentRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); GrpcCallSettings deleteEnvironmentTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(deleteEnvironmentMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(DeleteEnvironmentRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); GrpcCallSettings restartWebServerTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(restartWebServerMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(RestartWebServerRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); GrpcCallSettings checkUpgradeTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(checkUpgradeMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(CheckUpgradeRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("environment", String.valueOf(request.getEnvironment())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("environment", String.valueOf(request.getEnvironment())); + return params.build(); }) .build(); @@ -434,7 +412,13 @@ public UnaryCallable checkUpgradeCallable() { @Override public final void close() { - shutdown(); + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } } @Override diff --git a/google-cloud-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 92% 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 5c0aa9be..5c2af900 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 @@ -24,7 +24,6 @@ import com.google.api.gax.grpc.GrpcCallSettings; import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.ClientContext; -import com.google.api.gax.rpc.RequestParamsExtractor; 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; @@ -110,13 +109,10 @@ protected GrpcImageVersionsStub( GrpcCallSettings.newBuilder() .setMethodDescriptor(listImageVersionsMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(ListImageVersionsRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); @@ -153,7 +149,13 @@ public GrpcOperationsStub getOperationsStub() { @Override public final void close() { - shutdown(); + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } } @Override diff --git a/google-cloud-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 96% 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 86d959bb..7d4c2b23 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 @@ -58,9 +58,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 @@ -138,8 +138,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( @@ -310,14 +309,13 @@ private static Builder initDefaults(Builder builder) { return builder; } - // NEXT_MAJOR_VER: remove 'throws Exception'. /** * Applies the given settings updater function to all of the unary API methods in this service. * *

      Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) throws Exception { + ApiFunction, Void> settingsUpdater) { super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); return this; } 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 97% 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 index 0af82dfb..05705d8b 100644 --- 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 @@ -90,7 +90,7 @@ public void tearDown() throws Exception { public void createEnvironmentTest() throws Exception { Environment expectedResponse = Environment.newBuilder() - .setName(EnvironmentName.of("[PROJECT]", "[LOCATION]", "[ENVIRONMENT]").toString()) + .setName("name3373707") .setConfig(EnvironmentConfig.newBuilder().build()) .setUuid("uuid3601339") .setCreateTime(Timestamp.newBuilder().build()) @@ -144,7 +144,7 @@ public void createEnvironmentExceptionTest() throws Exception { public void getEnvironmentTest() throws Exception { Environment expectedResponse = Environment.newBuilder() - .setName(EnvironmentName.of("[PROJECT]", "[LOCATION]", "[ENVIRONMENT]").toString()) + .setName("name3373707") .setConfig(EnvironmentConfig.newBuilder().build()) .setUuid("uuid3601339") .setCreateTime(Timestamp.newBuilder().build()) @@ -231,7 +231,7 @@ public void listEnvironmentsExceptionTest() throws Exception { public void updateEnvironmentTest() throws Exception { Environment expectedResponse = Environment.newBuilder() - .setName(EnvironmentName.of("[PROJECT]", "[LOCATION]", "[ENVIRONMENT]").toString()) + .setName("name3373707") .setConfig(EnvironmentConfig.newBuilder().build()) .setUuid("uuid3601339") .setCreateTime(Timestamp.newBuilder().build()) @@ -330,7 +330,7 @@ public void deleteEnvironmentExceptionTest() throws Exception { public void restartWebServerTest() throws Exception { Environment expectedResponse = Environment.newBuilder() - .setName(EnvironmentName.of("[PROJECT]", "[LOCATION]", "[ENVIRONMENT]").toString()) + .setName("name3373707") .setConfig(EnvironmentConfig.newBuilder().build()) .setUuid("uuid3601339") .setCreateTime(Timestamp.newBuilder().build()) 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..faa9361f --- /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,822 @@ +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") +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..04a3734e --- /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,302 @@ +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") +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 f944b7c5..16671894 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,60 +54,53 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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:
      @@ -132,7 +108,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          * 
      * * string environment = 1; - * * @return The environment. */ @java.lang.Override @@ -141,15 +116,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:
      @@ -157,15 +131,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 { @@ -176,8 +151,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
      @@ -199,7 +172,6 @@ public com.google.protobuf.ByteString getEnvironmentBytes() {
          * 
      * * string image_version = 2; - * * @return The imageVersion. */ @java.lang.Override @@ -208,15 +180,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
      @@ -238,15 +209,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 { @@ -255,7 +227,6 @@ public com.google.protobuf.ByteString getImageVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,7 +238,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 (!getEnvironmentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, environment_); } @@ -297,17 +269,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; } @@ -328,152 +300,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(); @@ -485,22 +440,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); } @@ -508,10 +460,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(); @@ -522,52 +472,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(); @@ -591,14 +535,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) { @@ -610,8 +551,6 @@ public Builder mergeFrom( private java.lang.Object environment_ = ""; /** - * - * *
            * The resource name of the environment to check upgrade for, in the
            * form:
      @@ -619,13 +558,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; @@ -634,8 +573,6 @@ public java.lang.String getEnvironment() { } } /** - * - * *
            * The resource name of the environment to check upgrade for, in the
            * form:
      @@ -643,14 +580,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 { @@ -658,8 +596,6 @@ public com.google.protobuf.ByteString getEnvironmentBytes() { } } /** - * - * *
            * The resource name of the environment to check upgrade for, in the
            * form:
      @@ -667,22 +603,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:
      @@ -690,18 +624,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:
      @@ -709,16 +640,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; @@ -726,8 +657,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
      @@ -749,13 +678,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; @@ -764,8 +693,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
      @@ -787,14 +714,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 { @@ -802,8 +730,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
      @@ -825,22 +751,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
      @@ -862,18 +786,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
      @@ -895,23 +816,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); } @@ -921,33 +842,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; @@ -959,8 +877,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 6687403a..964cab97 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,111 +58,97 @@ 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) {
             throw e.setUnfinishedMessage(this);
           } catch (java.io.IOException e) {
      -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
      +      throw new com.google.protobuf.InvalidProtocolBufferException(
      +          e).setUnfinishedMessage(this);
           } finally {
             this.unknownFields = unknownFields.build();
             makeExtensionsImmutable();
           }
         }
      -
      -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      -    return com.google.cloud.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.
            * 
      @@ -188,8 +157,6 @@ public enum ConflictResult implements com.google.protobuf.ProtocolMessageEnum { */ CONFLICT_RESULT_UNSPECIFIED(0), /** - * - * *
            * There were python packages conflicts.
            * 
      @@ -198,8 +165,6 @@ public enum ConflictResult implements com.google.protobuf.ProtocolMessageEnum { */ CONFLICT(1), /** - * - * *
            * There were no python packages conflicts.
            * 
      @@ -211,8 +176,6 @@ public enum ConflictResult implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
            * It is unknown whether build had conflicts or not.
            * 
      @@ -221,8 +184,6 @@ public enum ConflictResult implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONFLICT_RESULT_UNSPECIFIED_VALUE = 0; /** - * - * *
            * There were python packages conflicts.
            * 
      @@ -231,8 +192,6 @@ public enum ConflictResult implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONFLICT_VALUE = 1; /** - * - * *
            * There were no python packages conflicts.
            * 
      @@ -241,6 +200,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( @@ -265,52 +225,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; @@ -330,14 +287,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 +300,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,62 +333,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 @@ -443,31 +374,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 { @@ -478,14 +408,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 @@ -494,29 +421,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 { @@ -525,22 +452,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); @@ -552,8 +478,6 @@ public int getPypiDependenciesCount() { return internalGetPypiDependencies().getMap().size(); } /** - * - * *
          * Pypi dependencies specified in the environment configuration, at the time
          * when the build was triggered.
      @@ -561,22 +485,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 java.lang.NullPointerException();
      -    }
      +  public boolean containsPypiDependencies(
      +      java.lang.String key) {
      +    if (key == null) { throw new java.lang.NullPointerException(); }
           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.
      @@ -585,12 +509,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.
      @@ -599,17 +522,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 java.lang.NullPointerException();
      -    }
      -    java.util.Map map = internalGetPypiDependencies().getMap();
      +      java.lang.String key,
      +      java.lang.String defaultValue) {
      +    if (key == null) { throw new java.lang.NullPointerException(); }
      +    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.
      @@ -618,11 +540,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 java.lang.NullPointerException();
      -    }
      -    java.util.Map map = internalGetPypiDependencies().getMap();
      +
      +  public java.lang.String getPypiDependenciesOrThrow(
      +      java.lang.String key) {
      +    if (key == null) { throw new java.lang.NullPointerException(); }
      +    java.util.Map map =
      +        internalGetPypiDependencies().getMap();
           if (!map.containsKey(key)) {
             throw new java.lang.IllegalArgumentException();
           }
      @@ -630,7 +553,6 @@ public java.lang.String getPypiDependenciesOrThrow(java.lang.String key) {
         }
       
         private byte memoizedIsInitialized = -1;
      -
         @java.lang.Override
         public final boolean isInitialized() {
           byte isInitialized = memoizedIsInitialized;
      @@ -642,24 +564,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 (!getBuildLogUriBytes().isEmpty()) {
             com.google.protobuf.GeneratedMessageV3.writeString(output, 1, buildLogUri_);
           }
           if (!getPypiConflictBuildLogExtractBytes().isEmpty()) {
             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 (!getImageVersionBytes().isEmpty()) {
             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);
         }
       
      @@ -673,28 +597,24 @@ public int getSerializedSize() {
             size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, buildLogUri_);
           }
           if (!getPypiConflictBuildLogExtractBytes().isEmpty()) {
      -      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 (!getImageVersionBytes().isEmpty()) {
             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;
      @@ -704,21 +624,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;
         }
      @@ -747,111 +668,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.
      @@ -859,61 +766,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();
      @@ -930,22 +836,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);
             }
      @@ -953,10 +856,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_;
      @@ -972,52 +873,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();
      @@ -1033,7 +928,8 @@ public Builder mergeFrom(
               imageVersion_ = other.imageVersion_;
               onChanged();
             }
      -      internalGetMutablePypiDependencies().mergeFrom(other.internalGetPypiDependencies());
      +      internalGetMutablePypiDependencies().mergeFrom(
      +          other.internalGetPypiDependencies());
             this.mergeUnknownFields(other.unknownFields);
             onChanged();
             return this;
      @@ -1049,14 +945,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) {
      @@ -1065,25 +958,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; @@ -1092,21 +982,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 { @@ -1114,61 +1003,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; @@ -1176,109 +1058,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; @@ -1286,23 +1132,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; @@ -1311,24 +1153,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 { @@ -1336,70 +1175,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; @@ -1407,20 +1233,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; @@ -1429,21 +1253,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 { @@ -1451,85 +1274,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(); @@ -1541,8 +1354,6 @@ public int getPypiDependenciesCount() { return internalGetPypiDependencies().getMap().size(); } /** - * - * *
            * Pypi dependencies specified in the environment configuration, at the time
            * when the build was triggered.
      @@ -1550,22 +1361,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 java.lang.NullPointerException();
      -      }
      +    public boolean containsPypiDependencies(
      +        java.lang.String key) {
      +      if (key == null) { throw new java.lang.NullPointerException(); }
             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.
      @@ -1574,12 +1385,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.
      @@ -1588,18 +1398,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 java.lang.NullPointerException();
      -      }
      +        java.lang.String key,
      +        java.lang.String defaultValue) {
      +      if (key == null) { throw new java.lang.NullPointerException(); }
             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.
      @@ -1608,10 +1416,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 java.lang.NullPointerException();
      -      }
      +
      +    public java.lang.String getPypiDependenciesOrThrow(
      +        java.lang.String key) {
      +      if (key == null) { throw new java.lang.NullPointerException(); }
             java.util.Map map =
                 internalGetPypiDependencies().getMap();
             if (!map.containsKey(key)) {
      @@ -1621,12 +1429,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.
      @@ -1634,21 +1441,23 @@ public Builder clearPypiDependencies() {
            *
            * map<string, string> pypi_dependencies = 6;
            */
      -    public Builder removePypiDependencies(java.lang.String key) {
      -      if (key == null) {
      -        throw new java.lang.NullPointerException();
      -      }
      -      internalGetMutablePypiDependencies().getMutableMap().remove(key);
      +
      +    public Builder removePypiDependencies(
      +        java.lang.String key) {
      +      if (key == null) { throw new java.lang.NullPointerException(); }
      +      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.
      @@ -1656,19 +1465,16 @@ 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 java.lang.NullPointerException();
      -      }
      -      if (value == null) {
      -        throw new java.lang.NullPointerException();
      -      }
      -      internalGetMutablePypiDependencies().getMutableMap().put(key, value);
      +    public Builder putPypiDependencies(
      +        java.lang.String key,
      +        java.lang.String value) {
      +      if (key == null) { throw new java.lang.NullPointerException(); }
      +      if (value == null) { throw new java.lang.NullPointerException(); }
      +      internalGetMutablePypiDependencies().getMutableMap()
      +          .put(key, value);
             return this;
           }
           /**
      -     *
      -     *
            * 
            * Pypi dependencies specified in the environment configuration, at the time
            * when the build was triggered.
      @@ -1676,14 +1482,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);
           }
       
      @@ -1693,33 +1501,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;
      @@ -1731,8 +1536,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 745457ec..2876748a 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.
      @@ -178,11 +131,11 @@ public interface CheckUpgradeResponseOrBuilder
          *
          * map<string, string> pypi_dependencies = 6;
          */
      +
         java.lang.String getPypiDependenciesOrDefault(
      -      java.lang.String key, java.lang.String defaultValue);
      +      java.lang.String key,
      +      java.lang.String defaultValue);
         /**
      -   *
      -   *
          * 
          * Pypi dependencies specified in the environment configuration, at the time
          * when the build was triggered.
      @@ -190,5 +143,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 fd59c191..f06fa77c 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,78 +53,66 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -150,30 +121,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 { @@ -184,14 +155,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 @@ -199,25 +167,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.
          * 
      @@ -225,13 +186,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; @@ -243,7 +202,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -263,7 +223,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; @@ -273,20 +234,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.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; @@ -310,153 +270,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(); @@ -472,22 +414,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); } @@ -495,10 +434,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_; @@ -513,54 +450,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(); @@ -583,14 +512,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) { @@ -602,21 +528,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; @@ -625,22 +549,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 { @@ -648,64 +571,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; @@ -713,56 +629,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(); @@ -776,8 +677,6 @@ public Builder setEnvironment( return this; } /** - * - * *
            * The environment to create.
            * 
      @@ -785,8 +684,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(); @@ -797,23 +695,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; } @@ -825,8 +717,6 @@ public Builder mergeEnvironment( return this; } /** - * - * *
            * The environment to create.
            * 
      @@ -845,43 +735,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.
            * 
      @@ -889,24 +769,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); } @@ -916,34 +793,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; @@ -955,8 +828,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 38a96ee7..a55dc828 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,52 +54,47 @@ 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) {
             throw e.setUnfinishedMessage(this);
           } catch (java.io.IOException e) {
      -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
      +      throw new com.google.protobuf.InvalidProtocolBufferException(
      +          e).setUnfinishedMessage(this);
           } finally {
             this.unknownFields = unknownFields.build();
             makeExtensionsImmutable();
           }
         }
      -
      -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      -    return com.google.cloud.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
      @@ -124,7 +102,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 @@ -133,15 +110,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
      @@ -149,15 +125,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 { @@ -166,7 +143,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,7 +154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getMachineTypeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, machineType_); } @@ -202,15 +179,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -230,105 +207,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.
      @@ -336,40 +304,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();
      @@ -379,16 +345,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
      @@ -402,8 +366,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;
      @@ -413,51 +376,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();
      @@ -481,9 +439,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) {
      @@ -495,8 +451,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
      @@ -504,13 +458,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; @@ -519,8 +473,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
      @@ -528,14 +480,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 { @@ -543,8 +496,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
      @@ -552,22 +503,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
      @@ -575,18 +524,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
      @@ -594,23 +540,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); } @@ -620,32 +566,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; @@ -657,8 +601,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 5a548c5d..2903698b 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,60 +53,53 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -132,30 +108,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
          * The 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 { @@ -164,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -200,17 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.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; } @@ -229,153 +203,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(); @@ -385,22 +341,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); } @@ -408,10 +361,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; @@ -421,54 +372,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(); @@ -488,14 +431,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) { @@ -507,21 +447,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; @@ -530,22 +468,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 { @@ -553,71 +490,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); } @@ -627,34 +557,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; @@ -666,8 +592,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 65% 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 231330dd..06522bf7 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,52 +54,47 @@ 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) {
             throw e.setUnfinishedMessage(this);
           } catch (java.io.IOException e) {
      -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
      +      throw new com.google.protobuf.InvalidProtocolBufferException(
      +          e).setUnfinishedMessage(this);
           } finally {
             this.unknownFields = unknownFields.build();
             makeExtensionsImmutable();
           }
         }
      -
      -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      -    return com.google.cloud.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.
      @@ -124,7 +102,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 @@ -133,15 +110,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.
      @@ -149,15 +125,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 { @@ -166,7 +143,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,7 +154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getKmsKeyNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kmsKeyName_); } @@ -202,15 +179,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -230,105 +207,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.
      @@ -336,41 +304,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();
      @@ -380,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_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);
             }
      @@ -404,8 +366,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;
      @@ -415,52 +376,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();
      @@ -484,9 +439,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) {
      @@ -498,8 +451,6 @@ public Builder mergeFrom(
       
           private java.lang.Object kmsKeyName_ = "";
           /**
      -     *
      -     *
            * 
            * Optional. Customer-managed Encryption Key available through Google's Key Management
            * Service. Cannot be updated.
      @@ -507,13 +458,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; @@ -522,8 +473,6 @@ public java.lang.String getKmsKeyName() { } } /** - * - * *
            * Optional. Customer-managed Encryption Key available through Google's Key Management
            * Service. Cannot be updated.
      @@ -531,14 +480,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 { @@ -546,8 +496,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } } /** - * - * *
            * Optional. Customer-managed Encryption Key available through Google's Key Management
            * Service. Cannot be updated.
      @@ -555,22 +503,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.
      @@ -578,18 +524,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.
      @@ -597,23 +540,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); } @@ -623,33 +566,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; @@ -661,8 +601,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 49455b45..38535421 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,147 +56,130 @@ 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(); } - 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; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - 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; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + 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; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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.
            * 
      @@ -222,8 +188,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
            * The environment is in the process of being created.
            * 
      @@ -232,8 +196,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATING(1), /** - * - * *
            * The environment is currently running and healthy. It is ready for use.
            * 
      @@ -242,8 +204,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.
      @@ -253,8 +213,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
            */
           UPDATING(3),
           /**
      -     *
      -     *
            * 
            * The environment is undergoing deletion. It cannot be used.
            * 
      @@ -263,8 +221,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ DELETING(4), /** - * - * *
            * The environment has encountered an error and cannot be used.
            * 
      @@ -276,8 +232,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
            * The state of the environment is unknown.
            * 
      @@ -286,8 +240,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.
            * 
      @@ -296,8 +248,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.
            * 
      @@ -306,8 +256,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.
      @@ -317,8 +265,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.
            * 
      @@ -327,8 +273,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.
            * 
      @@ -337,6 +281,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( @@ -361,57 +306,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; @@ -431,8 +371,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}"
      @@ -441,7 +379,6 @@ private State(int value) {
          * 
      * * string name = 1; - * * @return The name. */ @java.lang.Override @@ -450,15 +387,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}"
      @@ -467,15 +403,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 { @@ -486,14 +423,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 @@ -501,26 +435,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.
          * 
      @@ -528,23 +454,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 @@ -553,30 +475,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 { @@ -587,53 +509,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 @@ -641,15 +548,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 @@ -657,14 +560,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() { @@ -674,15 +574,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 @@ -690,15 +586,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 @@ -706,14 +598,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() { @@ -721,23 +610,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_; } @@ -746,8 +636,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
      @@ -760,22 +648,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 java.lang.NullPointerException();
      -    }
      +  public boolean containsLabels(
      +      java.lang.String key) {
      +    if (key == null) { throw new java.lang.NullPointerException(); }
           return internalGetLabels().getMap().containsKey(key);
         }
      -  /** Use {@link #getLabelsMap()} instead. */
      +  /**
      +   * Use {@link #getLabelsMap()} instead.
      +   */
         @java.lang.Override
         @java.lang.Deprecated
         public java.util.Map getLabels() {
           return getLabelsMap();
         }
         /**
      -   *
      -   *
          * 
          * Optional. User-defined labels for this environment.
          * The labels map can contain no more than 64 entries. Entries of the labels
      @@ -789,12 +677,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
      @@ -808,16 +695,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 java.lang.NullPointerException();
      -    }
      -    java.util.Map map = internalGetLabels().getMap();
      +
      +  public java.lang.String getLabelsOrDefault(
      +      java.lang.String key,
      +      java.lang.String defaultValue) {
      +    if (key == null) { throw new java.lang.NullPointerException(); }
      +    java.util.Map map =
      +        internalGetLabels().getMap();
           return map.containsKey(key) ? map.get(key) : defaultValue;
         }
         /**
      -   *
      -   *
          * 
          * Optional. User-defined labels for this environment.
          * The labels map can contain no more than 64 entries. Entries of the labels
      @@ -831,11 +718,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 java.lang.NullPointerException();
      -    }
      -    java.util.Map map = internalGetLabels().getMap();
      +
      +  public java.lang.String getLabelsOrThrow(
      +      java.lang.String key) {
      +    if (key == null) { throw new java.lang.NullPointerException(); }
      +    java.util.Map map =
      +        internalGetLabels().getMap();
           if (!map.containsKey(key)) {
             throw new java.lang.IllegalArgumentException();
           }
      @@ -843,7 +731,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
         }
       
         private byte memoizedIsInitialized = -1;
      -
         @java.lang.Override
         public final boolean isInitialized() {
           byte isInitialized = memoizedIsInitialized;
      @@ -855,7 +742,8 @@ public final boolean isInitialized() {
         }
       
         @java.lang.Override
      -  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      +  public void writeTo(com.google.protobuf.CodedOutputStream output)
      +                      throws java.io.IOException {
           if (!getNameBytes().isEmpty()) {
             com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
           }
      @@ -865,10 +753,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
           if (!getUuidBytes().isEmpty()) {
             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) {
      @@ -877,8 +762,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);
         }
       
      @@ -892,32 +781,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 (!getUuidBytes().isEmpty()) {
             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;
      @@ -927,30 +817,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;
         }
      @@ -990,165 +885,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(); @@ -1181,16 +1067,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 @@ -1204,8 +1088,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) { @@ -1235,51 +1118,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(); @@ -1300,7 +1178,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; @@ -1320,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.v1beta1.Environment) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.orchestration.airflow.service.v1beta1.Environment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1331,13 +1208,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}"
      @@ -1346,13 +1220,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; @@ -1361,8 +1235,6 @@ public java.lang.String getName() { } } /** - * - * *
            * The resource name of the environment, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
      @@ -1371,14 +1243,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 { @@ -1386,8 +1259,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
            * The resource name of the environment, in the form:
            * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
      @@ -1396,22 +1267,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}"
      @@ -1420,18 +1289,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}"
      @@ -1440,16 +1306,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; @@ -1457,59 +1323,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(); @@ -1523,18 +1371,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(); @@ -1545,24 +1389,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; } @@ -1574,14 +1411,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) { @@ -1595,64 +1429,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_; @@ -1660,21 +1478,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; @@ -1683,22 +1499,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 { @@ -1706,64 +1521,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; @@ -1771,93 +1579,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; @@ -1865,58 +1653,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) { @@ -1932,17 +1701,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(); @@ -1953,21 +1719,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; } @@ -1979,15 +1741,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) { @@ -2001,64 +1759,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_; @@ -2066,58 +1808,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) { @@ -2133,17 +1856,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(); @@ -2154,21 +1874,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; } @@ -2180,15 +1896,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) { @@ -2202,84 +1914,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(); @@ -2291,8 +1988,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
      @@ -2305,22 +2000,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 java.lang.NullPointerException();
      -      }
      +    public boolean containsLabels(
      +        java.lang.String key) {
      +      if (key == null) { throw new java.lang.NullPointerException(); }
             return internalGetLabels().getMap().containsKey(key);
           }
      -    /** Use {@link #getLabelsMap()} instead. */
      +    /**
      +     * Use {@link #getLabelsMap()} instead.
      +     */
           @java.lang.Override
           @java.lang.Deprecated
           public java.util.Map getLabels() {
             return getLabelsMap();
           }
           /**
      -     *
      -     *
            * 
            * Optional. User-defined labels for this environment.
            * The labels map can contain no more than 64 entries. Entries of the labels
      @@ -2334,12 +2029,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
      @@ -2353,17 +2047,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 java.lang.NullPointerException();
      -      }
      -      java.util.Map map = internalGetLabels().getMap();
      +        java.lang.String key,
      +        java.lang.String defaultValue) {
      +      if (key == null) { throw new java.lang.NullPointerException(); }
      +      java.util.Map map =
      +          internalGetLabels().getMap();
             return map.containsKey(key) ? map.get(key) : defaultValue;
           }
           /**
      -     *
      -     *
            * 
            * Optional. User-defined labels for this environment.
            * The labels map can contain no more than 64 entries. Entries of the labels
      @@ -2377,11 +2070,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 java.lang.NullPointerException();
      -      }
      -      java.util.Map map = internalGetLabels().getMap();
      +
      +    public java.lang.String getLabelsOrThrow(
      +        java.lang.String key) {
      +      if (key == null) { throw new java.lang.NullPointerException(); }
      +      java.util.Map map =
      +          internalGetLabels().getMap();
             if (!map.containsKey(key)) {
               throw new java.lang.IllegalArgumentException();
             }
      @@ -2389,12 +2083,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
      @@ -2407,21 +2100,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 java.lang.NullPointerException();
      -      }
      -      internalGetMutableLabels().getMutableMap().remove(key);
      +
      +    public Builder removeLabels(
      +        java.lang.String key) {
      +      if (key == null) { throw new java.lang.NullPointerException(); }
      +      internalGetMutableLabels().getMutableMap()
      +          .remove(key);
             return this;
           }
      -    /** Use alternate mutation accessors instead. */
      +    /**
      +     * Use alternate mutation accessors instead.
      +     */
           @java.lang.Deprecated
      -    public java.util.Map getMutableLabels() {
      +    public java.util.Map
      +    getMutableLabels() {
             return internalGetMutableLabels().getMutableMap();
           }
           /**
      -     *
      -     *
            * 
            * Optional. User-defined labels for this environment.
            * The labels map can contain no more than 64 entries. Entries of the labels
      @@ -2434,19 +2129,16 @@ 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 java.lang.NullPointerException();
      -      }
      -      if (value == null) {
      -        throw new java.lang.NullPointerException();
      -      }
      -      internalGetMutableLabels().getMutableMap().put(key, value);
      +    public Builder putLabels(
      +        java.lang.String key,
      +        java.lang.String value) {
      +      if (key == null) { throw new java.lang.NullPointerException(); }
      +      if (value == null) { throw new java.lang.NullPointerException(); }
      +      internalGetMutableLabels().getMutableMap()
      +          .put(key, value);
             return this;
           }
           /**
      -     *
      -     *
            * 
            * Optional. User-defined labels for this environment.
            * The labels map can contain no more than 64 entries. Entries of the labels
      @@ -2459,13 +2151,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);
           }
       
      @@ -2475,32 +2170,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;
      @@ -2512,8 +2205,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 74b2f256..76ac8b34 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,259 +56,194 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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.
            * 
      @@ -334,8 +252,6 @@ public enum EnvironmentSize implements com.google.protobuf.ProtocolMessageEnum { */ ENVIRONMENT_SIZE_UNSPECIFIED(0), /** - * - * *
            * The environment size is small.
            * 
      @@ -344,8 +260,6 @@ public enum EnvironmentSize implements com.google.protobuf.ProtocolMessageEnum { */ ENVIRONMENT_SIZE_SMALL(1), /** - * - * *
            * The environment size is medium.
            * 
      @@ -354,8 +268,6 @@ public enum EnvironmentSize implements com.google.protobuf.ProtocolMessageEnum { */ ENVIRONMENT_SIZE_MEDIUM(2), /** - * - * *
            * The environment size is large.
            * 
      @@ -367,8 +279,6 @@ public enum EnvironmentSize implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
            * The size of the environment is unspecified.
            * 
      @@ -377,8 +287,6 @@ public enum EnvironmentSize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENVIRONMENT_SIZE_UNSPECIFIED_VALUE = 0; /** - * - * *
            * The environment size is small.
            * 
      @@ -387,8 +295,6 @@ public enum EnvironmentSize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENVIRONMENT_SIZE_SMALL_VALUE = 1; /** - * - * *
            * The environment size is medium.
            * 
      @@ -397,8 +303,6 @@ public enum EnvironmentSize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENVIRONMENT_SIZE_MEDIUM_VALUE = 2; /** - * - * *
            * The environment size is large.
            * 
      @@ -407,6 +311,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( @@ -431,48 +336,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(); @@ -480,7 +378,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; @@ -500,14 +399,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 @@ -516,29 +412,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 { @@ -549,8 +445,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
      @@ -559,7 +453,6 @@ public com.google.protobuf.ByteString getGkeClusterBytes() {
          * 
      * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The dagGcsPrefix. */ @java.lang.Override @@ -568,15 +461,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
      @@ -585,15 +477,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 { @@ -604,15 +497,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 @@ -623,15 +513,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 @@ -639,50 +525,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 @@ -690,25 +563,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.
          * 
      @@ -716,25 +582,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 @@ -742,58 +601,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 @@ -801,60 +640,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 @@ -862,56 +681,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 @@ -919,48 +721,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
      @@ -968,7 +754,6 @@ public boolean hasWebServerConfig() {
          * 
      * * string airflow_uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The airflowUri. */ @java.lang.Override @@ -977,15 +762,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
      @@ -993,15 +777,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 { @@ -1012,17 +797,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 @@ -1030,51 +810,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
      @@ -1089,10 +852,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 @@ -1100,8 +860,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
      @@ -1116,23 +874,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
      @@ -1147,21 +896,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
      @@ -1170,10 +914,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 @@ -1181,8 +922,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
      @@ -1191,23 +930,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
      @@ -1216,68 +946,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; @@ -1289,7 +996,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 (!getGkeClusterBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, gkeCluster_); } @@ -1329,10 +1037,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); @@ -1351,47 +1056,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 (!getAirflowUriBytes().isEmpty()) { 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; @@ -1401,56 +1110,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; @@ -1516,146 +1234,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(); @@ -1727,22 +1433,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); } @@ -1751,8 +1454,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_; @@ -1811,52 +1513,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(); @@ -1921,9 +1617,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) { @@ -1935,20 +1629,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; @@ -1957,21 +1649,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 { @@ -1979,61 +1670,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; @@ -2041,8 +1725,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
      @@ -2051,13 +1733,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; @@ -2066,8 +1748,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
      @@ -2076,14 +1756,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 { @@ -2091,8 +1772,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
      @@ -2101,22 +1780,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
      @@ -2125,18 +1802,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
      @@ -2145,32 +1819,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 @@ -2178,38 +1849,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; @@ -2217,60 +1882,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(); @@ -2284,18 +1930,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(); @@ -2306,24 +1948,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; } @@ -2335,14 +1970,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) { @@ -2356,64 +1988,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_; @@ -2421,55 +2037,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(); @@ -2483,8 +2085,6 @@ public Builder setNodeConfig( return this; } /** - * - * *
            * The configuration used for the Kubernetes Engine cluster.
            * 
      @@ -2503,23 +2103,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; } @@ -2531,8 +2125,6 @@ public Builder mergeNodeConfig( return this; } /** - * - * *
            * The configuration used for the Kubernetes Engine cluster.
            * 
      @@ -2551,42 +2143,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.
            * 
      @@ -2594,83 +2177,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(); @@ -2684,19 +2240,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(); @@ -2707,25 +2258,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; } @@ -2737,15 +2280,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) { @@ -2759,142 +2298,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(); @@ -2908,20 +2398,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(); @@ -2932,27 +2417,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; } @@ -2964,16 +2440,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) { @@ -2987,77 +2459,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_; @@ -3065,66 +2511,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(); @@ -3138,20 +2562,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(); @@ -3162,26 +2581,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; } @@ -3193,16 +2604,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) { @@ -3216,70 +2623,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_; @@ -3287,63 +2675,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(); @@ -3357,19 +2723,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(); @@ -3380,25 +2741,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; } @@ -3410,15 +2763,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) { @@ -3432,67 +2781,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_; @@ -3500,8 +2830,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
      @@ -3509,13 +2837,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; @@ -3524,8 +2852,6 @@ public java.lang.String getAirflowUri() { } } /** - * - * *
            * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
            * [Airflow web
      @@ -3533,14 +2859,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 { @@ -3548,8 +2875,6 @@ public com.google.protobuf.ByteString getAirflowUriBytes() { } } /** - * - * *
            * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
            * [Airflow web
      @@ -3557,22 +2882,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
      @@ -3580,18 +2903,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
      @@ -3599,84 +2919,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(); @@ -3690,20 +2987,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(); @@ -3714,26 +3006,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; } @@ -3745,16 +3029,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) { @@ -3768,85 +3048,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
      @@ -3861,18 +3116,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
      @@ -3887,26 +3137,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
      @@ -3921,12 +3162,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(); @@ -3940,8 +3178,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
      @@ -3956,13 +3192,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(); @@ -3973,8 +3206,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
      @@ -3989,19 +3220,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; } @@ -4013,8 +3238,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
      @@ -4029,9 +3252,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) { @@ -4045,8 +3266,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
      @@ -4061,19 +3280,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
      @@ -4088,24 +3302,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
      @@ -4120,22 +3327,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_; @@ -4143,13 +3345,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
      @@ -4158,18 +3355,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
      @@ -4178,26 +3370,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
      @@ -4206,12 +3389,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(); @@ -4225,8 +3405,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
      @@ -4235,13 +3413,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(); @@ -4252,8 +3427,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
      @@ -4262,19 +3435,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; } @@ -4286,8 +3453,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
      @@ -4296,9 +3461,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) { @@ -4312,8 +3475,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
      @@ -4322,19 +3483,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
      @@ -4343,24 +3499,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
      @@ -4369,22 +3518,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_; @@ -4392,125 +3536,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); } @@ -4520,33 +3629,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; @@ -4558,8 +3664,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 81% 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 fb66b304..f57ee89a 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
      @@ -284,10 +218,11 @@ public interface EnvironmentOrBuilder
          *
          * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
          */
      -  java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
      +
      +  java.lang.String getLabelsOrDefault(
      +      java.lang.String key,
      +      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
      @@ -300,5 +235,7 @@ public interface EnvironmentOrBuilder
          *
          * 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 2ee70e4e..feb428d9 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,60 +53,53 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -132,30 +108,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
          * The 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 { @@ -164,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -200,16 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.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; } @@ -228,152 +203,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(); @@ -383,22 +341,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); } @@ -406,10 +361,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; @@ -419,52 +372,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(); @@ -484,14 +431,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) { @@ -503,21 +447,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; @@ -526,22 +468,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 { @@ -549,71 +490,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); } @@ -623,33 +557,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; @@ -661,8 +592,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 20b92e03..47d8083d 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,86 +57,76 @@ 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) {
             throw e.setUnfinishedMessage(this);
           } catch (java.io.IOException e) {
      -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
      +      throw new com.google.protobuf.InvalidProtocolBufferException(
      +          e).setUnfinishedMessage(this);
           } finally {
             this.unknownFields = unknownFields.build();
             makeExtensionsImmutable();
           }
         }
      -
      -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      -    return com.google.cloud.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 @@ -164,8 +137,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`
      @@ -174,7 +145,6 @@ public boolean getUseIpAliases() {
          * 
      * * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The clusterSecondaryRangeName. */ @java.lang.Override @@ -183,15 +153,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`
      @@ -200,15 +169,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 { @@ -219,8 +189,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`
      @@ -228,9 +196,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 @@ -239,15 +205,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`
      @@ -255,17 +220,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 { @@ -276,8 +241,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.
      @@ -295,7 +258,6 @@ public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() {
          * 
      * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The clusterIpv4CidrBlock. */ @java.lang.Override @@ -304,15 +266,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.
      @@ -330,15 +291,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 { @@ -349,8 +311,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.
      @@ -368,7 +328,6 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() {
          * 
      * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The servicesIpv4CidrBlock. */ @java.lang.Override @@ -377,15 +336,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.
      @@ -403,15 +361,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 { @@ -420,7 +379,6 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -432,7 +390,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_); } @@ -458,15 +417,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 (!getClusterSecondaryRangeNameBytes().isEmpty()) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterSecondaryRangeName_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterSecondaryRangeName_); } if (!getServicesSecondaryRangeNameBytes().isEmpty()) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(3, servicesSecondaryRangeName_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, servicesSecondaryRangeName_); } if (!getClusterIpv4CidrBlockBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, clusterIpv4CidrBlock_); @@ -482,21 +440,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; } @@ -509,7 +469,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; @@ -524,105 +485,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.
      @@ -630,41 +582,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();
      @@ -682,22 +631,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);
             }
      @@ -705,10 +651,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_;
      @@ -722,52 +666,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());
             }
      @@ -802,14 +740,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) {
      @@ -819,17 +754,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 @@ -837,38 +769,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; @@ -876,8 +802,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`
      @@ -885,15 +809,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; @@ -902,8 +825,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`
      @@ -911,16 +832,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 { @@ -928,8 +849,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`
      @@ -937,24 +856,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`
      @@ -962,20 +878,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`
      @@ -983,18 +895,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; @@ -1002,8 +913,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`
      @@ -1011,15 +920,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; @@ -1028,8 +936,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`
      @@ -1037,16 +943,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 { @@ -1054,8 +960,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`
      @@ -1063,24 +967,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`
      @@ -1088,20 +989,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`
      @@ -1109,18 +1006,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; @@ -1128,8 +1024,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.
      @@ -1147,13 +1041,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; @@ -1162,8 +1056,6 @@ public java.lang.String getClusterIpv4CidrBlock() { } } /** - * - * *
            * Optional. The IP address range used to allocate IP addresses to pods in
            * the cluster.
      @@ -1181,14 +1073,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 { @@ -1196,8 +1089,6 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { } } /** - * - * *
            * Optional. The IP address range used to allocate IP addresses to pods in
            * the cluster.
      @@ -1215,22 +1106,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.
      @@ -1248,18 +1137,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.
      @@ -1277,16 +1163,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; @@ -1294,8 +1180,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.
      @@ -1313,13 +1197,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; @@ -1328,8 +1212,6 @@ public java.lang.String getServicesIpv4CidrBlock() { } } /** - * - * *
            * Optional. The IP address range of the services IP addresses in this
            * cluster.
      @@ -1347,14 +1229,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 { @@ -1362,8 +1245,6 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { } } /** - * - * *
            * Optional. The IP address range of the services IP addresses in this
            * cluster.
      @@ -1381,22 +1262,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.
      @@ -1414,18 +1293,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.
      @@ -1443,23 +1319,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); } @@ -1469,33 +1345,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; @@ -1507,8 +1380,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 71% 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 a0dc7b5f..097515e6 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,65 +55,63 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { supportedPythonVersions_ = supportedPythonVersions_.getUnmodifiableView(); @@ -139,34 +120,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 @@ -175,30 +150,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 { @@ -209,15 +184,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 @@ -228,42 +200,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. */ @@ -271,32 +235,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 @@ -304,14 +263,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 @@ -319,8 +275,6 @@ public com.google.type.Date getReleaseDate() { return releaseDate_ == null ? com.google.type.Date.getDefaultInstance() : releaseDate_; } /** - * - * *
          * The date of the version release.
          * 
      @@ -335,14 +289,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 @@ -353,15 +304,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 @@ -370,7 +318,6 @@ public boolean getUpgradeDisabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -382,7 +329,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 (!getImageVersionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, imageVersionId_); } @@ -390,8 +338,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()); @@ -415,7 +362,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; @@ -426,13 +374,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; @@ -442,24 +393,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; } @@ -474,7 +429,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(); @@ -484,154 +440,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(); @@ -655,16 +602,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 @@ -678,8 +623,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_; @@ -703,51 +647,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(); @@ -793,9 +732,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) { @@ -804,26 +741,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; @@ -832,22 +766,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 { @@ -855,80 +788,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 @@ -936,90 +859,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. */ @@ -1027,90 +933,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() { @@ -1120,22 +1016,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(); @@ -1144,31 +1038,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() { @@ -1179,8 +1066,6 @@ public com.google.type.Date getReleaseDate() { } } /** - * - * *
            * The date of the version release.
            * 
      @@ -1201,15 +1086,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(); @@ -1220,8 +1104,6 @@ public Builder setReleaseDate(com.google.type.Date.Builder builderForValue) { return this; } /** - * - * *
            * The date of the version release.
            * 
      @@ -1232,7 +1114,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; } @@ -1244,8 +1126,6 @@ public Builder mergeReleaseDate(com.google.type.Date value) { return this; } /** - * - * *
            * The date of the version release.
            * 
      @@ -1264,8 +1144,6 @@ public Builder clearReleaseDate() { return this; } /** - * - * *
            * The date of the version release.
            * 
      @@ -1273,13 +1151,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.
            * 
      @@ -1290,12 +1166,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.
            * 
      @@ -1303,28 +1178,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 @@ -1332,52 +1205,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 @@ -1385,45 +1249,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); } @@ -1433,32 +1291,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; @@ -1470,8 +1326,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 ad93bd23..22a66115 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,72 +54,64 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -145,30 +120,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 { @@ -179,14 +154,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
          * The maximum number of environments to return.
          * 
      * * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -197,14 +169,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 @@ -213,29 +182,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 { @@ -244,7 +213,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -279,7 +248,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!getPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -292,19 +262,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.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; } @@ -327,153 +297,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(); @@ -487,22 +439,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); } @@ -510,10 +459,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_; @@ -525,53 +472,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(); @@ -598,14 +538,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) { @@ -617,21 +554,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; @@ -640,22 +575,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 { @@ -663,79 +597,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 @@ -743,36 +667,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; @@ -780,20 +698,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; @@ -802,21 +718,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 { @@ -824,68 +739,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); } @@ -895,34 +803,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; @@ -934,8 +838,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 6ee68ed8..aa723d0a 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,40 +55,35 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { environments_ = java.util.Collections.unmodifiableList(environments_); @@ -114,118 +92,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 @@ -234,29 +181,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 { @@ -265,7 +212,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -277,7 +223,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < environments_.size(); i++) { output.writeMessage(1, environments_.get(i)); } @@ -294,7 +241,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 (!getNextPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -307,18 +255,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; } @@ -341,155 +288,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(); @@ -505,22 +433,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); } @@ -528,10 +453,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)) { @@ -551,54 +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.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()) { @@ -617,10 +532,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_); } @@ -645,14 +559,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) { @@ -661,40 +572,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 { @@ -702,15 +601,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) { @@ -720,18 +615,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 { @@ -739,15 +629,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) { @@ -764,20 +650,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()); @@ -788,18 +668,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(); @@ -813,15 +688,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) { @@ -838,19 +709,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()); @@ -861,20 +727,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()); @@ -885,23 +745,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); @@ -909,15 +764,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) { @@ -930,15 +781,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) { @@ -951,53 +798,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 { @@ -1005,71 +838,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_; @@ -1077,20 +888,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; @@ -1099,21 +908,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 { @@ -1121,68 +929,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); } @@ -1192,34 +993,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; @@ -1231,8 +1028,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 e646afee..82f96141 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,77 +54,69 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -150,30 +125,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
          * 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 { @@ -184,14 +159,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
          * The maximum number of image_versions to return.
          * 
      * * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -202,14 +174,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 @@ -218,29 +187,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 { @@ -251,14 +220,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 @@ -267,7 +233,6 @@ public boolean getIncludePastReleases() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -279,7 +244,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -305,13 +271,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!getPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (includePastReleases_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, includePastReleases_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, includePastReleases_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -321,20 +289,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; } @@ -353,159 +322,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(); @@ -521,22 +473,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); } @@ -544,10 +493,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_; @@ -560,54 +507,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(); @@ -637,14 +576,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) { @@ -656,21 +592,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; @@ -679,22 +613,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 { @@ -702,79 +635,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 @@ -782,36 +705,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; @@ -819,20 +736,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; @@ -841,21 +756,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 { @@ -863,76 +777,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 @@ -940,43 +844,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); } @@ -986,34 +884,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; @@ -1025,8 +919,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 57% 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 7b485db2..edfbbc91 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,40 +55,35 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { imageVersions_ = java.util.Collections.unmodifiableList(imageVersions_); @@ -115,118 +92,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 @@ -235,29 +181,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 { @@ -266,7 +212,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -278,7 +223,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < imageVersions_.size(); i++) { output.writeMessage(1, imageVersions_.get(i)); } @@ -295,7 +241,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 (!getNextPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -308,18 +255,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; } @@ -342,156 +288,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(); @@ -507,23 +433,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); } @@ -531,11 +453,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)) { @@ -555,54 +474,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()) { @@ -621,10 +532,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_); } @@ -649,14 +559,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) { @@ -665,41 +572,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 { @@ -707,15 +601,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) { @@ -725,18 +615,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 { @@ -744,15 +629,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) { @@ -769,20 +650,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()); @@ -793,18 +668,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(); @@ -818,15 +688,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) { @@ -843,19 +709,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()); @@ -866,20 +727,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()); @@ -890,23 +745,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); @@ -914,15 +764,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) { @@ -935,15 +781,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) { @@ -956,53 +798,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 { @@ -1010,70 +838,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(), @@ -1085,20 +888,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; @@ -1107,21 +908,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 { @@ -1129,68 +929,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); } @@ -1200,34 +993,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; @@ -1239,8 +1028,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 d69978e6..ab823c58 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:
      @@ -35,31 +18,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)
      @@ -78,89 +61,78 @@ 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) {
             throw e.setUnfinishedMessage(this);
           } catch (java.io.IOException e) {
      -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
      +      throw new com.google.protobuf.InvalidProtocolBufferException(
      +          e).setUnfinishedMessage(this);
           } finally {
             this.unknownFields = unknownFields.build();
             makeExtensionsImmutable();
           }
         }
      -
      -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      -    return com.google.cloud.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 @@ -168,15 +140,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 @@ -184,14 +152,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() { @@ -201,8 +166,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.
      @@ -210,7 +173,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 @@ -218,8 +180,6 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
          * Required. Maintenance window end time. It is used only to calculate the duration of
          * the maintenance window.
      @@ -227,7 +187,6 @@ public boolean hasEndTime() {
          * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The endTime. */ @java.lang.Override @@ -235,8 +194,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.
      @@ -253,8 +210,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
      @@ -263,7 +218,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
          * 
      * * string recurrence = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The recurrence. */ @java.lang.Override @@ -272,15 +226,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
      @@ -289,15 +242,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 { @@ -306,7 +260,6 @@ public com.google.protobuf.ByteString getRecurrenceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -318,7 +271,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()); } @@ -338,10 +292,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 (!getRecurrenceBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, recurrence_); @@ -354,24 +310,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; } @@ -399,105 +356,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:
      @@ -512,41 +460,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();
      @@ -568,22 +513,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);
             }
      @@ -592,8 +534,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 {
      @@ -613,52 +554,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());
             }
      @@ -688,9 +623,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) {
      @@ -702,35 +635,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() { @@ -741,14 +663,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) { @@ -764,16 +683,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(); @@ -784,20 +701,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; } @@ -809,14 +723,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) { @@ -830,59 +741,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_; @@ -890,39 +790,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() { @@ -933,16 +822,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) { @@ -958,18 +844,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(); @@ -980,22 +864,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; } @@ -1007,16 +888,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) { @@ -1030,65 +908,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_; @@ -1096,8 +963,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
      @@ -1106,13 +971,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; @@ -1121,8 +986,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
      @@ -1131,14 +994,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 { @@ -1146,8 +1010,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
      @@ -1156,22 +1018,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
      @@ -1180,18 +1040,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
      @@ -1200,23 +1057,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); } @@ -1226,33 +1083,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; @@ -1264,8 +1118,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 d0c7311a..e0893446 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,103 +61,91 @@ 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) {
             throw e.setUnfinishedMessage(this);
           } catch (java.io.IOException e) {
      -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
      +      throw new com.google.protobuf.InvalidProtocolBufferException(
      +          e).setUnfinishedMessage(this);
           } finally {
             if (((mutable_bitField0_ & 0x00000001) != 0)) {
               oauthScopes_ = oauthScopes_.getUnmodifiableView();
      @@ -186,27 +157,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
      @@ -224,7 +190,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          * 
      * * string location = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The location. */ @java.lang.Override @@ -233,15 +198,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
      @@ -259,15 +223,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 { @@ -278,8 +243,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,
      @@ -302,7 +265,6 @@ public com.google.protobuf.ByteString getLocationBytes() {
          * 
      * * string machine_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The machineType. */ @java.lang.Override @@ -311,15 +273,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,
      @@ -342,15 +303,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 { @@ -361,8 +323,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
      @@ -377,7 +337,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() {
          * 
      * * string network = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The network. */ @java.lang.Override @@ -386,15 +345,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
      @@ -409,15 +367,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 { @@ -428,8 +387,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
      @@ -442,7 +399,6 @@ public com.google.protobuf.ByteString getNetworkBytes() {
          * 
      * * string subnetwork = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The subnetwork. */ @java.lang.Override @@ -451,15 +407,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
      @@ -472,15 +427,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 { @@ -491,15 +447,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 @@ -510,8 +463,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
      @@ -519,15 +470,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
      @@ -535,15 +484,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
      @@ -551,7 +497,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. */ @@ -559,8 +504,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
      @@ -568,19 +511,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
      @@ -588,7 +529,6 @@ public com.google.protobuf.ByteString getOauthScopesBytes(int index) {
          * 
      * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The serviceAccount. */ @java.lang.Override @@ -597,15 +537,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
      @@ -613,15 +552,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 { @@ -632,8 +572,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
      @@ -642,15 +580,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
      @@ -659,15 +595,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
      @@ -676,7 +609,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. */ @@ -684,8 +616,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
      @@ -694,28 +624,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 @@ -723,48 +647,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
      @@ -779,7 +687,6 @@ public boolean hasIpAllocationPolicy() {
          * 
      * * int32 max_pods_per_node = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxPodsPerNode. */ @java.lang.Override @@ -788,7 +695,6 @@ public int getMaxPodsPerNode() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -800,7 +706,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 (!getLocationBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, location_); } @@ -853,7 +760,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; @@ -875,10 +783,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; @@ -888,27 +798,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; } @@ -952,105 +871,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.
      @@ -1058,40 +968,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();
      @@ -1123,14 +1031,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();
           }
       
      @@ -1145,8 +1052,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_;
      @@ -1178,50 +1084,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();
      @@ -1290,9 +1192,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) {
      @@ -1301,13 +1201,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
      @@ -1325,13 +1222,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; @@ -1340,8 +1237,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
      @@ -1359,14 +1254,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 { @@ -1374,8 +1270,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
      @@ -1393,22 +1287,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
      @@ -1426,18 +1318,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
      @@ -1455,16 +1344,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; @@ -1472,8 +1361,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,
      @@ -1496,13 +1383,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; @@ -1511,8 +1398,6 @@ public java.lang.String getMachineType() { } } /** - * - * *
            * Optional. The Compute Engine
            * [machine type](/compute/docs/machine-types) used for cluster instances,
      @@ -1535,14 +1420,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 { @@ -1550,8 +1436,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { } } /** - * - * *
            * Optional. The Compute Engine
            * [machine type](/compute/docs/machine-types) used for cluster instances,
      @@ -1574,22 +1458,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,
      @@ -1612,18 +1494,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,
      @@ -1646,16 +1525,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; @@ -1663,8 +1542,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
      @@ -1679,13 +1556,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; @@ -1694,8 +1571,6 @@ public java.lang.String getNetwork() { } } /** - * - * *
            * Optional. The Compute Engine network to be used for machine
            * communications, specified as a
      @@ -1710,14 +1585,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 { @@ -1725,8 +1601,6 @@ public com.google.protobuf.ByteString getNetworkBytes() { } } /** - * - * *
            * Optional. The Compute Engine network to be used for machine
            * communications, specified as a
      @@ -1741,22 +1615,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
      @@ -1771,18 +1643,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
      @@ -1797,16 +1666,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; @@ -1814,8 +1683,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
      @@ -1828,13 +1695,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; @@ -1843,8 +1710,6 @@ public java.lang.String getSubnetwork() { } } /** - * - * *
            * Optional. The Compute Engine subnetwork to be used for machine
            * communications, specified as a
      @@ -1857,14 +1722,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 { @@ -1872,8 +1738,6 @@ public com.google.protobuf.ByteString getSubnetworkBytes() { } } /** - * - * *
            * Optional. The Compute Engine subnetwork to be used for machine
            * communications, specified as a
      @@ -1886,22 +1750,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
      @@ -1914,18 +1776,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
      @@ -1938,32 +1797,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 @@ -1971,55 +1827,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
      @@ -2027,15 +1873,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
      @@ -2043,15 +1887,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
      @@ -2059,7 +1900,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. */ @@ -2067,8 +1907,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
      @@ -2076,16 +1914,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
      @@ -2093,23 +1929,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
      @@ -2117,22 +1951,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
      @@ -2140,19 +1972,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
      @@ -2160,7 +1991,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() { @@ -2170,8 +2000,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
      @@ -2179,15 +2007,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(); @@ -2196,8 +2024,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
      @@ -2205,13 +2031,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; @@ -2220,8 +2046,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
      @@ -2229,14 +2053,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 { @@ -2244,8 +2069,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
      @@ -2253,22 +2076,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
      @@ -2276,18 +2097,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
      @@ -2295,33 +2113,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
      @@ -2330,15 +2144,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
      @@ -2347,15 +2159,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
      @@ -2364,7 +2173,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. */ @@ -2372,8 +2180,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
      @@ -2382,16 +2188,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
      @@ -2400,23 +2204,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
      @@ -2425,22 +2227,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
      @@ -2449,19 +2249,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
      @@ -2470,7 +2269,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() { @@ -2480,8 +2278,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
      @@ -2490,81 +2286,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(); @@ -2578,19 +2351,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(); @@ -2601,25 +2369,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; } @@ -2631,15 +2391,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) { @@ -2653,76 +2409,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
      @@ -2737,7 +2472,6 @@ public Builder clearIpAllocationPolicy() {
            * 
      * * int32 max_pods_per_node = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxPodsPerNode. */ @java.lang.Override @@ -2745,8 +2479,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
      @@ -2761,19 +2493,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
      @@ -2788,18 +2517,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); } @@ -2809,32 +2537,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; @@ -2846,8 +2572,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 e5f8028b..3a4aab35 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,112 +56,98 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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.
            * 
      @@ -187,8 +156,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
            * The operation has been created but is not yet started.
            * 
      @@ -197,8 +164,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(1), /** - * - * *
            * The operation is underway.
            * 
      @@ -207,8 +172,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(2), /** - * - * *
            * The operation completed successfully.
            * 
      @@ -217,8 +180,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCESSFUL(3), /** - * - * *
            * The operation is no longer running but did not succeed.
            * 
      @@ -230,8 +191,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
            * Unused.
            * 
      @@ -240,8 +199,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.
            * 
      @@ -250,8 +207,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 1; /** - * - * *
            * The operation is underway.
            * 
      @@ -260,8 +215,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 2; /** - * - * *
            * The operation completed successfully.
            * 
      @@ -270,8 +223,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.
            * 
      @@ -280,6 +231,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( @@ -304,56 +256,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; @@ -371,18 +318,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.
            * 
      @@ -391,8 +335,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
            * A resource creation operation.
            * 
      @@ -401,8 +343,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ CREATE(1), /** - * - * *
            * A resource deletion operation.
            * 
      @@ -411,8 +351,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DELETE(2), /** - * - * *
            * A resource update operation.
            * 
      @@ -421,8 +359,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ UPDATE(3), /** - * - * *
            * A resource check operation.
            * 
      @@ -434,8 +370,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
            * Unused.
            * 
      @@ -444,8 +378,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
            * A resource creation operation.
            * 
      @@ -454,8 +386,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATE_VALUE = 1; /** - * - * *
            * A resource deletion operation.
            * 
      @@ -464,8 +394,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETE_VALUE = 2; /** - * - * *
            * A resource update operation.
            * 
      @@ -474,8 +402,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPDATE_VALUE = 3; /** - * - * *
            * A resource check operation.
            * 
      @@ -484,6 +410,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( @@ -508,56 +435,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; @@ -577,101 +499,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 @@ -680,30 +567,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 { @@ -714,14 +601,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 @@ -730,29 +614,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 { @@ -763,14 +647,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 @@ -778,14 +659,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 @@ -793,8 +671,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.
          * 
      @@ -809,15 +685,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 @@ -825,15 +698,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 @@ -841,8 +711,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.
      @@ -856,7 +724,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
         }
       
         private byte memoizedIsInitialized = -1;
      -
         @java.lang.Override
         public final boolean isInitialized() {
           byte isInitialized = memoizedIsInitialized;
      @@ -868,17 +735,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 (!getResourceBytes().isEmpty()) {
      @@ -902,17 +764,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 (!getResourceBytes().isEmpty()) {
             size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, resource_);
      @@ -921,10 +779,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;
      @@ -934,26 +794,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;
      @@ -988,146 +850,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(); @@ -1155,22 +1005,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); } @@ -1179,8 +1026,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_; @@ -1203,52 +1049,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()); } @@ -1288,9 +1128,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) { @@ -1302,101 +1140,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; @@ -1404,106 +1214,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; @@ -1511,21 +1288,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; @@ -1534,22 +1309,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 { @@ -1557,64 +1331,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; @@ -1622,20 +1389,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; @@ -1644,21 +1409,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 { @@ -1666,61 +1430,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; @@ -1728,47 +1485,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.
            * 
      @@ -1789,15 +1533,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(); @@ -1808,8 +1551,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
            * Output only. The time the operation was submitted to the server.
            * 
      @@ -1820,7 +1561,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; } @@ -1832,8 +1573,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
            * Output only. The time the operation was submitted to the server.
            * 
      @@ -1852,8 +1591,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
            * Output only. The time the operation was submitted to the server.
            * 
      @@ -1861,13 +1598,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.
            * 
      @@ -1878,14 +1613,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.
            * 
      @@ -1893,17 +1625,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_; @@ -1911,35 +1640,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() { @@ -1950,8 +1670,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.
      @@ -1973,8 +1691,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.
      @@ -1982,7 +1698,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();
      @@ -1993,8 +1710,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.
      @@ -2006,7 +1721,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;
               }
      @@ -2018,8 +1733,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.
      @@ -2039,8 +1752,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.
      @@ -2049,13 +1760,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.
      @@ -2067,12 +1776,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.
      @@ -2081,24 +1789,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);
           }
       
      @@ -2108,33 +1813,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;
      @@ -2146,8 +1848,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 b22808f6..c5f9aa85 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,72 +55,64 @@ 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) {
             throw e.setUnfinishedMessage(this);
           } catch (java.io.IOException e) {
      -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
      +      throw new com.google.protobuf.InvalidProtocolBufferException(
      +          e).setUnfinishedMessage(this);
           } finally {
             this.unknownFields = unknownFields.build();
             makeExtensionsImmutable();
           }
         }
      -
      -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      -    return com.google.cloud.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 @@ -148,15 +123,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 @@ -165,30 +137,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 { @@ -199,8 +171,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
      @@ -209,9 +179,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 @@ -220,15 +188,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
      @@ -237,17 +204,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 { @@ -256,7 +223,6 @@ public com.google.protobuf.ByteString getMasterIpv4ReservedRangeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -268,7 +234,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enablePrivateEndpoint_ != false) { output.writeBool(1, enablePrivateEndpoint_); } @@ -288,7 +255,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 (!getMasterIpv4CidrBlockBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, masterIpv4CidrBlock_); @@ -304,18 +272,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; } @@ -328,7 +297,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; @@ -338,111 +308,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.
      @@ -450,41 +406,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();
      @@ -498,22 +451,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);
             }
      @@ -521,10 +471,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_;
      @@ -536,52 +484,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());
             }
      @@ -608,14 +550,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) {
      @@ -625,17 +564,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 @@ -643,38 +579,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; @@ -682,21 +612,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; @@ -705,22 +633,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 { @@ -728,64 +655,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; @@ -793,8 +713,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
      @@ -803,15 +721,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; @@ -820,8 +737,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
      @@ -830,16 +745,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 { @@ -847,8 +762,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
      @@ -857,24 +770,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
      @@ -883,20 +793,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
      @@ -905,25 +811,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); } @@ -933,33 +838,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; @@ -971,8 +873,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 f8dbf2be..464f5db0 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,105 +58,89 @@ 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) {
             throw e.setUnfinishedMessage(this);
           } catch (java.io.IOException e) {
      -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
      +      throw new com.google.protobuf.InvalidProtocolBufferException(
      +          e).setUnfinishedMessage(this);
           } finally {
             this.unknownFields = unknownFields.build();
             makeExtensionsImmutable();
           }
         }
      -
      -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      -    return com.google.cloud.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
      @@ -181,7 +148,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 @@ -190,20 +156,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 @@ -211,50 +171,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
      @@ -262,7 +206,6 @@ public boolean hasPrivateClusterConfig() {
          * 
      * * string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The webServerIpv4CidrBlock. */ @java.lang.Override @@ -271,15 +214,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
      @@ -287,15 +229,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 { @@ -306,15 +249,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 @@ -323,30 +263,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 { @@ -357,15 +297,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 @@ -374,30 +310,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 { @@ -408,8 +343,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
      @@ -419,10 +352,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 @@ -431,15 +361,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
      @@ -449,18 +378,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 { @@ -471,18 +399,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 @@ -491,33 +414,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 { @@ -526,7 +447,6 @@ public com.google.protobuf.ByteString getCloudComposerNetworkIpv4ReservedRangeBy } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -538,7 +458,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_); } @@ -555,12 +476,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 5, webServerIpv4ReservedRange_); } if (!getCloudComposerNetworkIpv4CidrBlockBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 7, cloudComposerNetworkIpv4CidrBlock_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, cloudComposerNetworkIpv4CidrBlock_); } if (!getCloudComposerNetworkIpv4ReservedRangeBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 8, cloudComposerNetworkIpv4ReservedRange_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, cloudComposerNetworkIpv4ReservedRange_); } unknownFields.writeTo(output); } @@ -572,11 +491,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 (!getWebServerIpv4CidrBlockBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, webServerIpv4CidrBlock_); @@ -585,18 +505,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, cloudSqlIpv4CidrBlock_); } if (!getWebServerIpv4ReservedRangeBytes().isEmpty()) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(5, webServerIpv4ReservedRange_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, webServerIpv4ReservedRange_); } if (!getCloudComposerNetworkIpv4CidrBlockBytes().isEmpty()) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize( - 7, cloudComposerNetworkIpv4CidrBlock_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, cloudComposerNetworkIpv4CidrBlock_); } if (!getCloudComposerNetworkIpv4ReservedRangeBytes().isEmpty()) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize( - 8, cloudComposerNetworkIpv4ReservedRange_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, cloudComposerNetworkIpv4ReservedRange_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -606,25 +521,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() @@ -641,7 +557,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(); @@ -661,154 +578,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(); @@ -834,22 +733,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); } @@ -857,10 +753,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_; @@ -880,54 +774,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()); } @@ -969,14 +855,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) { @@ -986,10 +869,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
      @@ -997,7 +878,6 @@ public Builder mergeFrom(
            * 
      * * bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enablePrivateEnvironment. */ @java.lang.Override @@ -1005,8 +885,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
      @@ -1014,19 +892,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
      @@ -1034,79 +909,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(); @@ -1120,20 +971,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(); @@ -1144,26 +990,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; } @@ -1175,16 +1013,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) { @@ -1198,71 +1032,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_; @@ -1270,8 +1084,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
      @@ -1279,13 +1091,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; @@ -1294,8 +1106,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
      @@ -1303,14 +1113,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 { @@ -1318,8 +1129,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
      @@ -1327,22 +1136,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
      @@ -1350,18 +1157,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
      @@ -1369,16 +1173,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; @@ -1386,21 +1190,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; @@ -1409,22 +1211,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 { @@ -1432,64 +1233,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; @@ -1497,21 +1291,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; @@ -1520,22 +1311,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 { @@ -1543,64 +1332,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; @@ -1608,8 +1387,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
      @@ -1619,16 +1396,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; @@ -1637,8 +1412,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
      @@ -1648,17 +1421,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 { @@ -1666,8 +1438,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
      @@ -1677,25 +1447,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
      @@ -1705,22 +1471,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
      @@ -1730,19 +1490,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; @@ -1750,24 +1508,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; @@ -1776,25 +1530,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 { @@ -1802,82 +1553,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); } @@ -1887,34 +1623,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; @@ -1926,8 +1658,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 7eb03ce8..681a7845 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,53 +53,47 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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:
      @@ -124,7 +101,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          * 
      * * string name = 1; - * * @return The name. */ @java.lang.Override @@ -133,15 +109,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:
      @@ -149,15 +124,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 { @@ -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 (!getNameBytes().isEmpty()) { 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.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; } @@ -231,153 +205,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(); @@ -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_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); } @@ -410,10 +363,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; @@ -423,53 +374,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(); @@ -489,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.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) { @@ -508,8 +449,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
            * The resource name of the environment to restart the web server for, in the
            * form:
      @@ -517,13 +456,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; @@ -532,8 +471,6 @@ public java.lang.String getName() { } } /** - * - * *
            * The resource name of the environment to restart the web server for, in the
            * form:
      @@ -541,14 +478,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 { @@ -556,8 +494,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
            * The resource name of the environment to restart the web server for, in the
            * form:
      @@ -565,22 +501,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:
      @@ -588,18 +522,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:
      @@ -607,23 +538,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); } @@ -633,34 +564,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; @@ -672,8 +599,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 9a1b5747..dd9526f1 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,95 +55,85 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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(); @@ -169,25 +142,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
      @@ -209,7 +178,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
          * 
      * * string image_version = 1; - * * @return The imageVersion. */ @java.lang.Override @@ -218,15 +186,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
      @@ -248,15 +215,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 { @@ -265,22 +233,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); @@ -292,8 +259,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
      @@ -310,26 +275,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 java.lang.NullPointerException(); - } + public boolean containsAirflowConfigOverrides( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } 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
      @@ -346,17 +309,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
      @@ -373,23 +333,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 java.lang.NullPointerException(); - } + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } 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
      @@ -406,15 +362,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 java.lang.NullPointerException(); - } + + public java.lang.String getAirflowConfigOverridesOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetAirflowConfigOverrides().getMap(); if (!map.containsKey(key)) { @@ -424,22 +378,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); @@ -451,8 +404,6 @@ public int getPypiPackagesCount() { return internalGetPypiPackages().getMap().size(); } /** - * - * *
          * Optional. Custom Python Package Index (PyPI) packages to be installed in
          * the environment.
      @@ -463,25 +414,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 java.lang.NullPointerException(); - } + public boolean containsPypiPackages( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } 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.
      @@ -492,16 +442,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.
      @@ -512,21 +460,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 java.lang.NullPointerException(); - } - java.util.Map map = internalGetPypiPackages().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + 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.
      @@ -537,15 +483,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 java.lang.NullPointerException(); - } - java.util.Map map = internalGetPypiPackages().getMap(); + + public java.lang.String getPypiPackagesOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetPypiPackages().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -553,22 +499,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); @@ -580,8 +525,6 @@ public int getEnvVariablesCount() { return internalGetEnvVariables().getMap().size(); } /** - * - * *
          * Optional. Additional environment variables to provide to the Apache Airflow
          * scheduler, worker, and webserver processes.
      @@ -605,25 +548,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 java.lang.NullPointerException(); - } + public boolean containsEnvVariables( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } 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.
      @@ -647,16 +589,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.
      @@ -680,21 +620,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 java.lang.NullPointerException(); - } - java.util.Map map = internalGetEnvVariables().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + 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.
      @@ -718,15 +656,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 java.lang.NullPointerException(); - } - java.util.Map map = internalGetEnvVariables().getMap(); + + public java.lang.String getEnvVariablesOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetEnvVariables().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -736,8 +674,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.
      @@ -746,7 +682,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 @@ -755,15 +690,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.
      @@ -772,15 +706,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 { @@ -789,7 +724,6 @@ public com.google.protobuf.ByteString getPythonVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -801,19 +735,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 (!getImageVersionBytes().isEmpty()) { 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 (!getPythonVersionBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, pythonVersion_); } @@ -829,35 +773,35 @@ public int getSerializedSize() { if (!getImageVersionBytes().isEmpty()) { 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 (!getPythonVersionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, pythonVersion_); @@ -870,20 +814,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; } @@ -917,122 +864,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(); @@ -1041,12 +980,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(); @@ -1055,35 +995,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(); @@ -1098,16 +1036,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 @@ -1121,8 +1057,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(); @@ -1140,59 +1075,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(); @@ -1216,9 +1148,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) { @@ -1227,13 +1157,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
      @@ -1255,13 +1182,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; @@ -1270,8 +1197,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
      @@ -1293,14 +1218,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 { @@ -1308,8 +1234,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
      @@ -1331,22 +1255,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
      @@ -1368,18 +1290,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
      @@ -1401,41 +1320,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(); @@ -1447,8 +1362,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
      @@ -1465,26 +1378,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 java.lang.NullPointerException(); - } + public boolean containsAirflowConfigOverrides( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } 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
      @@ -1501,17 +1412,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
      @@ -1528,23 +1436,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 java.lang.NullPointerException(); - } + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } 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
      @@ -1561,15 +1465,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 java.lang.NullPointerException(); - } + + public java.lang.String getAirflowConfigOverridesOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetAirflowConfigOverrides().getMap(); if (!map.containsKey(key)) { @@ -1579,12 +1481,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
      @@ -1601,25 +1502,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 java.lang.NullPointerException(); - } - internalGetMutableAirflowConfigOverrides().getMutableMap().remove(key); + + public Builder removeAirflowConfigOverrides( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + 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
      @@ -1636,23 +1537,18 @@ 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 java.lang.NullPointerException(); - } - if (value == null) { - throw new java.lang.NullPointerException(); - } - internalGetMutableAirflowConfigOverrides().getMutableMap().put(key, value); + public Builder putAirflowConfigOverrides( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new java.lang.NullPointerException(); } + if (value == null) { throw new java.lang.NullPointerException(); } + 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
      @@ -1669,34 +1565,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(); @@ -1708,8 +1602,6 @@ public int getPypiPackagesCount() { return internalGetPypiPackages().getMap().size(); } /** - * - * *
            * Optional. Custom Python Package Index (PyPI) packages to be installed in
            * the environment.
      @@ -1720,25 +1612,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 java.lang.NullPointerException(); - } + public boolean containsPypiPackages( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } 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.
      @@ -1749,16 +1640,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.
      @@ -1769,21 +1658,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 java.lang.NullPointerException(); - } - java.util.Map map = internalGetPypiPackages().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + 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.
      @@ -1794,15 +1681,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 java.lang.NullPointerException(); - } - java.util.Map map = internalGetPypiPackages().getMap(); + + public java.lang.String getPypiPackagesOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetPypiPackages().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1810,12 +1697,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.
      @@ -1826,24 +1712,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 java.lang.NullPointerException(); - } - internalGetMutablePypiPackages().getMutableMap().remove(key); + + public Builder removePypiPackages( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + 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.
      @@ -1854,22 +1741,18 @@ 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 java.lang.NullPointerException(); - } - if (value == null) { - throw new java.lang.NullPointerException(); - } - internalGetMutablePypiPackages().getMutableMap().put(key, value); + public Builder putPypiPackages( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new java.lang.NullPointerException(); } + if (value == null) { throw new java.lang.NullPointerException(); } + internalGetMutablePypiPackages().getMutableMap() + .put(key, value); return this; } /** - * - * *
            * Optional. Custom Python Package Index (PyPI) packages to be installed in
            * the environment.
      @@ -1880,32 +1763,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(); @@ -1917,8 +1800,6 @@ public int getEnvVariablesCount() { return internalGetEnvVariables().getMap().size(); } /** - * - * *
            * Optional. Additional environment variables to provide to the Apache Airflow
            * scheduler, worker, and webserver processes.
      @@ -1942,25 +1823,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 java.lang.NullPointerException(); - } + public boolean containsEnvVariables( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } 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.
      @@ -1984,16 +1864,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.
      @@ -2017,21 +1895,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 java.lang.NullPointerException(); - } - java.util.Map map = internalGetEnvVariables().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + 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.
      @@ -2055,15 +1931,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 java.lang.NullPointerException(); - } - java.util.Map map = internalGetEnvVariables().getMap(); + + public java.lang.String getEnvVariablesOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetEnvVariables().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -2071,12 +1947,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.
      @@ -2100,24 +1975,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 java.lang.NullPointerException(); - } - internalGetMutableEnvVariables().getMutableMap().remove(key); + + public Builder removeEnvVariables( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + 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.
      @@ -2141,22 +2017,18 @@ 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 java.lang.NullPointerException(); - } - if (value == null) { - throw new java.lang.NullPointerException(); - } - internalGetMutableEnvVariables().getMutableMap().put(key, value); + public Builder putEnvVariables( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new java.lang.NullPointerException(); } + if (value == null) { throw new java.lang.NullPointerException(); } + internalGetMutableEnvVariables().getMutableMap() + .put(key, value); return this; } /** - * - * *
            * Optional. Additional environment variables to provide to the Apache Airflow
            * scheduler, worker, and webserver processes.
      @@ -2180,18 +2052,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.
      @@ -2200,13 +2072,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;
      @@ -2215,8 +2087,6 @@ public java.lang.String getPythonVersion() {
             }
           }
           /**
      -     *
      -     *
            * 
            * Optional. The major version of Python used to run the Apache Airflow
            * scheduler, worker, and webserver processes.
      @@ -2225,14 +2095,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 { @@ -2240,8 +2111,6 @@ public com.google.protobuf.ByteString getPythonVersionBytes() { } } /** - * - * *
            * Optional. The major version of Python used to run the Apache Airflow
            * scheduler, worker, and webserver processes.
      @@ -2250,22 +2119,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.
      @@ -2274,18 +2141,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.
      @@ -2294,23 +2158,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); } @@ -2320,32 +2184,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; @@ -2357,8 +2219,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 6e55798b..e05851fb 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,15 +144,13 @@ 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.lang.String getAirflowConfigOverridesOrDefault( - java.lang.String key, java.lang.String defaultValue); + java.lang.String key, + java.lang.String defaultValue); /** - * - * *
          * Optional. Apache Airflow configuration properties to override.
          * Property keys contain the section and property names, separated by a
      @@ -199,15 +167,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.
      @@ -218,13 +184,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.
      @@ -235,16 +198,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.
      @@ -255,13 +219,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.
      @@ -272,13 +234,13 @@ 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.lang.String getPypiPackagesOrDefault(java.lang.String key, java.lang.String defaultValue); + + java.lang.String getPypiPackagesOrDefault( + java.lang.String key, + java.lang.String defaultValue); /** - * - * *
          * Optional. Custom Python Package Index (PyPI) packages to be installed in
          * the environment.
      @@ -289,14 +251,13 @@ 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.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.
      @@ -320,13 +281,10 @@ java.lang.String getAirflowConfigOverridesOrDefault(
          * * `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.
      @@ -350,16 +308,17 @@ java.lang.String getAirflowConfigOverridesOrDefault(
          * * `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.
      @@ -383,13 +342,11 @@ java.lang.String getAirflowConfigOverridesOrDefault(
          * * `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.
      @@ -413,13 +370,13 @@ java.lang.String getAirflowConfigOverridesOrDefault(
          * * `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 getEnvVariablesOrDefault(java.lang.String key, java.lang.String defaultValue); + + java.lang.String getEnvVariablesOrDefault( + java.lang.String key, + java.lang.String defaultValue); /** - * - * *
          * Optional. Additional environment variables to provide to the Apache Airflow
          * scheduler, worker, and webserver processes.
      @@ -443,14 +400,13 @@ java.lang.String getAirflowConfigOverridesOrDefault(
          * * `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.
      @@ -459,13 +415,10 @@ java.lang.String getAirflowConfigOverridesOrDefault(
          * 
      * * 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.
      @@ -474,8 +427,8 @@ java.lang.String getAirflowConfigOverridesOrDefault(
          * 
      * * 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 c76c239a..ee1d50f1 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,93 +53,79 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -165,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 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 { @@ -199,15 +168,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 @@ -215,26 +181,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.
      @@ -243,16 +202,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.
      @@ -376,9 +332,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 @@ -386,8 +340,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
          * Required. A comma-separated list of paths, relative to `Environment`, of
          * fields to update.
      @@ -511,9 +463,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 @@ -521,8 +471,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.
      @@ -646,8 +594,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() { @@ -655,7 +602,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -667,7 +613,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()); } @@ -687,13 +634,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 (!getNameBytes().isEmpty()) { 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; @@ -703,24 +652,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; @@ -748,153 +697,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(); @@ -916,22 +847,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); } @@ -939,10 +867,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_; @@ -962,54 +888,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(); @@ -1035,14 +953,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) { @@ -1054,21 +969,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; @@ -1077,22 +990,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 { @@ -1100,64 +1012,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; @@ -1165,50 +1070,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.
      @@ -1216,8 +1107,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();
      @@ -1231,8 +1121,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.
      @@ -1241,8 +1129,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();
      @@ -1253,8 +1140,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.
      @@ -1262,15 +1147,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;
               }
      @@ -1282,8 +1163,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.
      @@ -1303,8 +1182,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.
      @@ -1312,15 +1189,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.
      @@ -1328,20 +1202,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.
      @@ -1350,17 +1219,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_;
      @@ -1368,13 +1234,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.
      @@ -1498,17 +1359,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.
      @@ -1632,23 +1489,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.
      @@ -1772,8 +1623,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) { @@ -1789,8 +1639,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.
      @@ -1914,10 +1762,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(); @@ -1928,8 +1776,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.
      @@ -2053,14 +1899,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; } @@ -2072,8 +1917,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.
      @@ -2197,8 +2040,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) { @@ -2212,8 +2054,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
            * Required. A comma-separated list of paths, relative to `Environment`, of
            * fields to update.
      @@ -2337,17 +2177,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.
      @@ -2471,21 +2308,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.
      @@ -2609,28 +2442,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); } @@ -2640,34 +2469,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; @@ -2679,8 +2504,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 70386ec9..c71e720f 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,52 +53,47 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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
      @@ -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. Machine type on which Airflow web server is running.
          * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
      @@ -154,15 +130,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 { @@ -171,7 +148,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +159,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 (!getMachineTypeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, machineType_); } @@ -207,15 +184,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; } @@ -235,145 +212,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(); @@ -383,22 +349,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); } @@ -407,8 +370,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; @@ -418,51 +380,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(); @@ -486,9 +443,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) { @@ -500,8 +455,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
      @@ -512,13 +465,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; @@ -527,8 +480,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
      @@ -539,14 +490,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 { @@ -554,8 +506,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
      @@ -566,22 +516,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
      @@ -592,18 +540,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
      @@ -614,23 +559,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); } @@ -640,32 +585,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; @@ -677,8 +620,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 ff10e33c..4bc19d73 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,35 +54,29 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { allowedIpRanges_ = java.util.Collections.unmodifiableList(allowedIpRanges_); @@ -109,32 +85,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.
      @@ -146,13 +114,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 +129,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_ = ""; @@ -221,15 +177,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,61 +205,53 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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.
      @@ -314,7 +263,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
            * 
      * * string value = 1; - * * @return The value. */ @java.lang.Override @@ -323,15 +271,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.
      @@ -343,15 +290,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 { @@ -362,14 +310,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 @@ -378,29 +323,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 { @@ -409,7 +354,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -421,7 +365,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 (!getValueBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); } @@ -451,23 +396,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; } @@ -488,115 +427,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 @@ -606,53 +518,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(); @@ -664,26 +567,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); } @@ -691,14 +587,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(); @@ -709,60 +599,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(); @@ -786,16 +662,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) { @@ -807,8 +678,6 @@ public Builder mergeFrom( private java.lang.Object value_ = ""; /** - * - * *
              * IP address or range, defined using CIDR notation, of requests that this
              * rule applies to.
      @@ -820,13 +689,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; @@ -835,8 +704,6 @@ public java.lang.String getValue() { } } /** - * - * *
              * IP address or range, defined using CIDR notation, of requests that this
              * rule applies to.
      @@ -848,14 +715,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 { @@ -863,8 +731,6 @@ public com.google.protobuf.ByteString getValueBytes() { } } /** - * - * *
              * IP address or range, defined using CIDR notation, of requests that this
              * rule applies to.
      @@ -876,22 +742,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.
      @@ -903,18 +767,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.
      @@ -926,16 +787,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; @@ -943,20 +804,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; @@ -965,21 +824,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 { @@ -987,66 +845,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) { @@ -1059,36 +909,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; @@ -1100,107 +944,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; @@ -1212,7 +1022,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)); } @@ -1226,7 +1037,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; @@ -1236,17 +1048,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; } @@ -1267,158 +1077,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(); @@ -1432,23 +1220,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); } @@ -1456,11 +1240,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)) { @@ -1479,55 +1260,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()) { @@ -1546,10 +1318,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_); } @@ -1570,14 +1341,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) { @@ -1586,48 +1354,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 { @@ -1635,15 +1383,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) { @@ -1653,19 +1397,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 { @@ -1673,21 +1411,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(); @@ -1701,21 +1432,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()); @@ -1726,20 +1450,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(); @@ -1753,21 +1470,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(); @@ -1781,20 +1491,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()); @@ -1805,21 +1509,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()); @@ -1830,25 +1527,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); @@ -1856,15 +1546,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) { @@ -1877,15 +1563,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) { @@ -1898,57 +1580,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 { @@ -1956,79 +1620,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(), @@ -2037,9 +1667,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); } @@ -2049,34 +1679,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; @@ -2088,8 +1714,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 2f0a9013..110a2824 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,190 +54,152 @@ 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) {
             throw e.setUnfinishedMessage(this);
           } catch (java.io.IOException e) {
      -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
      +      throw new com.google.protobuf.InvalidProtocolBufferException(
      +          e).setUnfinishedMessage(this);
           } finally {
             this.unknownFields = unknownFields.build();
             makeExtensionsImmutable();
           }
         }
      -
      -  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      -    return com.google.cloud.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) @@ -272,73 +218,66 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -349,14 +288,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 @@ -367,14 +303,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 @@ -385,14 +318,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 @@ -401,7 +331,6 @@ public int getCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -413,7 +342,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 (cpu_ != 0F) { output.writeFloat(1, cpu_); } @@ -436,16 +366,20 @@ public int getSerializedSize() { size = 0; if (cpu_ != 0F) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, cpu_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, cpu_); } if (memoryGb_ != 0F) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, memoryGb_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, memoryGb_); } if (storageGb_ != 0F) { - 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; @@ -455,27 +389,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; } @@ -488,11 +419,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(); @@ -500,114 +434,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 @@ -617,53 +525,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(); @@ -679,25 +578,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); } @@ -705,13 +598,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_; @@ -724,59 +612,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()); } @@ -804,15 +679,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) { @@ -822,16 +693,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 @@ -839,51 +707,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 @@ -891,51 +750,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 @@ -943,51 +793,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 @@ -995,41 +836,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) { @@ -1042,36 +876,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; @@ -1083,89 +911,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) @@ -1184,68 +1000,61 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -1256,14 +1065,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 @@ -1274,14 +1080,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 @@ -1290,7 +1093,6 @@ public float getStorageGb() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1302,7 +1104,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 (cpu_ != 0F) { output.writeFloat(1, cpu_); } @@ -1322,13 +1125,16 @@ public int getSerializedSize() { size = 0; if (cpu_ != 0F) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, cpu_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, cpu_); } if (memoryGb_ != 0F) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, memoryGb_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, memoryGb_); } if (storageGb_ != 0F) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, storageGb_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(3, storageGb_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1338,26 +1144,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; } @@ -1370,124 +1172,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 @@ -1497,53 +1276,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(); @@ -1557,25 +1327,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); } @@ -1583,13 +1347,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_; @@ -1601,59 +1360,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()); } @@ -1678,15 +1424,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) { @@ -1696,16 +1438,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 @@ -1713,51 +1452,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 @@ -1765,51 +1495,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 @@ -1817,41 +1538,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) { @@ -1864,36 +1578,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; @@ -1905,115 +1613,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) @@ -2032,78 +1722,71 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -2114,14 +1797,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 @@ -2132,14 +1812,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 @@ -2150,14 +1827,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 @@ -2168,14 +1842,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 @@ -2184,7 +1855,6 @@ public int getMaxCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2196,7 +1866,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 (cpu_ != 0F) { output.writeFloat(1, cpu_); } @@ -2222,19 +1893,24 @@ public int getSerializedSize() { size = 0; if (cpu_ != 0F) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, cpu_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, cpu_); } if (memoryGb_ != 0F) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, memoryGb_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, memoryGb_); } if (storageGb_ != 0F) { - 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; @@ -2244,25 +1920,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; } @@ -2275,11 +1952,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; @@ -2289,114 +1969,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 @@ -2406,53 +2060,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(); @@ -2470,23 +2115,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); } @@ -2494,12 +2135,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_; @@ -2513,58 +2150,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()); } @@ -2595,15 +2220,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) { @@ -2613,16 +2234,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 @@ -2630,51 +2248,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 @@ -2682,51 +2291,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 @@ -2734,51 +2334,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 @@ -2786,51 +2377,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 @@ -2838,41 +2420,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) { @@ -2885,36 +2460,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; @@ -2926,26 +2495,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 @@ -2953,58 +2516,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 @@ -3012,58 +2554,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 @@ -3071,46 +2592,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; @@ -3122,7 +2627,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()); } @@ -3142,13 +2648,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; @@ -3158,25 +2667,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; @@ -3207,105 +2718,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
      @@ -3314,40 +2816,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();
      @@ -3373,22 +2873,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);
             }
      @@ -3397,8 +2894,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 {
      @@ -3422,51 +2918,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());
             }
      @@ -3495,9 +2986,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) {
      @@ -3507,70 +2996,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(); @@ -3584,20 +3046,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(); @@ -3608,26 +3064,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; } @@ -3639,15 +3086,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) { @@ -3661,143 +3104,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(); @@ -3811,20 +3201,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(); @@ -3835,26 +3219,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; } @@ -3866,15 +3241,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) { @@ -3888,142 +3259,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(); @@ -4037,20 +3356,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(); @@ -4061,26 +3374,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; } @@ -4092,15 +3396,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) { @@ -4114,80 +3414,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); } @@ -4197,32 +3472,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; @@ -4234,8 +3507,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/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentName.java b/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentName.java deleted file mode 100644 index 0ec1146e..00000000 --- a/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentName.java +++ /dev/null @@ -1,227 +0,0 @@ -/* - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud.orchestration.airflow.service.v1; - -import com.google.api.pathtemplate.PathTemplate; -import com.google.api.resourcenames.ResourceName; -import com.google.common.base.Preconditions; -import com.google.common.collect.ImmutableMap; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -@Generated("by gapic-generator-java") -public class EnvironmentName implements ResourceName { - private static final PathTemplate PROJECT_LOCATION_ENVIRONMENT = - PathTemplate.createWithoutUrlEncoding( - "projects/{project}/locations/{location}/environments/{environment}"); - private volatile Map fieldValuesMap; - private final String project; - private final String location; - private final String environment; - - @Deprecated - protected EnvironmentName() { - project = null; - location = null; - environment = null; - } - - private EnvironmentName(Builder builder) { - project = Preconditions.checkNotNull(builder.getProject()); - location = Preconditions.checkNotNull(builder.getLocation()); - environment = Preconditions.checkNotNull(builder.getEnvironment()); - } - - public String getProject() { - return project; - } - - public String getLocation() { - return location; - } - - public String getEnvironment() { - return environment; - } - - public static Builder newBuilder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder(this); - } - - public static EnvironmentName of(String project, String location, String environment) { - return newBuilder() - .setProject(project) - .setLocation(location) - .setEnvironment(environment) - .build(); - } - - public static String format(String project, String location, String environment) { - return newBuilder() - .setProject(project) - .setLocation(location) - .setEnvironment(environment) - .build() - .toString(); - } - - public static EnvironmentName parse(String formattedString) { - if (formattedString.isEmpty()) { - return null; - } - Map matchMap = - PROJECT_LOCATION_ENVIRONMENT.validatedMatch( - formattedString, "EnvironmentName.parse: formattedString not in valid format"); - return of(matchMap.get("project"), matchMap.get("location"), matchMap.get("environment")); - } - - public static List parseList(List formattedStrings) { - List list = new ArrayList<>(formattedStrings.size()); - for (String formattedString : formattedStrings) { - list.add(parse(formattedString)); - } - return list; - } - - public static List toStringList(List values) { - List list = new ArrayList<>(values.size()); - for (EnvironmentName value : values) { - if (value == null) { - list.add(""); - } else { - list.add(value.toString()); - } - } - return list; - } - - public static boolean isParsableFrom(String formattedString) { - return PROJECT_LOCATION_ENVIRONMENT.matches(formattedString); - } - - @Override - public Map getFieldValuesMap() { - if (fieldValuesMap == null) { - synchronized (this) { - if (fieldValuesMap == null) { - ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); - if (project != null) { - fieldMapBuilder.put("project", project); - } - if (location != null) { - fieldMapBuilder.put("location", location); - } - if (environment != null) { - fieldMapBuilder.put("environment", environment); - } - fieldValuesMap = fieldMapBuilder.build(); - } - } - } - return fieldValuesMap; - } - - public String getFieldValue(String fieldName) { - return getFieldValuesMap().get(fieldName); - } - - @Override - public String toString() { - return PROJECT_LOCATION_ENVIRONMENT.instantiate( - "project", project, "location", location, "environment", environment); - } - - @Override - public boolean equals(Object o) { - if (o == this) { - return true; - } - if (o != null || getClass() == o.getClass()) { - EnvironmentName that = ((EnvironmentName) o); - return Objects.equals(this.project, that.project) - && Objects.equals(this.location, that.location) - && Objects.equals(this.environment, that.environment); - } - return false; - } - - @Override - public int hashCode() { - int h = 1; - h *= 1000003; - h ^= Objects.hashCode(project); - h *= 1000003; - h ^= Objects.hashCode(location); - h *= 1000003; - h ^= Objects.hashCode(environment); - return h; - } - - /** Builder for projects/{project}/locations/{location}/environments/{environment}. */ - public static class Builder { - private String project; - private String location; - private String environment; - - protected Builder() {} - - public String getProject() { - return project; - } - - public String getLocation() { - return location; - } - - public String getEnvironment() { - return environment; - } - - public Builder setProject(String project) { - this.project = project; - return this; - } - - public Builder setLocation(String location) { - this.location = location; - return this; - } - - public Builder setEnvironment(String environment) { - this.environment = environment; - return this; - } - - private Builder(EnvironmentName environmentName) { - this.project = environmentName.project; - this.location = environmentName.location; - this.environment = environmentName.environment; - } - - public EnvironmentName build() { - return new EnvironmentName(this); - } - } -} 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/EnvironmentName.java b/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentName.java deleted file mode 100644 index f54586fb..00000000 --- a/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentName.java +++ /dev/null @@ -1,227 +0,0 @@ -/* - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud.orchestration.airflow.service.v1beta1; - -import com.google.api.pathtemplate.PathTemplate; -import com.google.api.resourcenames.ResourceName; -import com.google.common.base.Preconditions; -import com.google.common.collect.ImmutableMap; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -@Generated("by gapic-generator-java") -public class EnvironmentName implements ResourceName { - private static final PathTemplate PROJECT_LOCATION_ENVIRONMENT = - PathTemplate.createWithoutUrlEncoding( - "projects/{project}/locations/{location}/environments/{environment}"); - private volatile Map fieldValuesMap; - private final String project; - private final String location; - private final String environment; - - @Deprecated - protected EnvironmentName() { - project = null; - location = null; - environment = null; - } - - private EnvironmentName(Builder builder) { - project = Preconditions.checkNotNull(builder.getProject()); - location = Preconditions.checkNotNull(builder.getLocation()); - environment = Preconditions.checkNotNull(builder.getEnvironment()); - } - - public String getProject() { - return project; - } - - public String getLocation() { - return location; - } - - public String getEnvironment() { - return environment; - } - - public static Builder newBuilder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder(this); - } - - public static EnvironmentName of(String project, String location, String environment) { - return newBuilder() - .setProject(project) - .setLocation(location) - .setEnvironment(environment) - .build(); - } - - public static String format(String project, String location, String environment) { - return newBuilder() - .setProject(project) - .setLocation(location) - .setEnvironment(environment) - .build() - .toString(); - } - - public static EnvironmentName parse(String formattedString) { - if (formattedString.isEmpty()) { - return null; - } - Map matchMap = - PROJECT_LOCATION_ENVIRONMENT.validatedMatch( - formattedString, "EnvironmentName.parse: formattedString not in valid format"); - return of(matchMap.get("project"), matchMap.get("location"), matchMap.get("environment")); - } - - public static List parseList(List formattedStrings) { - List list = new ArrayList<>(formattedStrings.size()); - for (String formattedString : formattedStrings) { - list.add(parse(formattedString)); - } - return list; - } - - public static List toStringList(List values) { - List list = new ArrayList<>(values.size()); - for (EnvironmentName value : values) { - if (value == null) { - list.add(""); - } else { - list.add(value.toString()); - } - } - return list; - } - - public static boolean isParsableFrom(String formattedString) { - return PROJECT_LOCATION_ENVIRONMENT.matches(formattedString); - } - - @Override - public Map getFieldValuesMap() { - if (fieldValuesMap == null) { - synchronized (this) { - if (fieldValuesMap == null) { - ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); - if (project != null) { - fieldMapBuilder.put("project", project); - } - if (location != null) { - fieldMapBuilder.put("location", location); - } - if (environment != null) { - fieldMapBuilder.put("environment", environment); - } - fieldValuesMap = fieldMapBuilder.build(); - } - } - } - return fieldValuesMap; - } - - public String getFieldValue(String fieldName) { - return getFieldValuesMap().get(fieldName); - } - - @Override - public String toString() { - return PROJECT_LOCATION_ENVIRONMENT.instantiate( - "project", project, "location", location, "environment", environment); - } - - @Override - public boolean equals(Object o) { - if (o == this) { - return true; - } - if (o != null || getClass() == o.getClass()) { - EnvironmentName that = ((EnvironmentName) o); - return Objects.equals(this.project, that.project) - && Objects.equals(this.location, that.location) - && Objects.equals(this.environment, that.environment); - } - return false; - } - - @Override - public int hashCode() { - int h = 1; - h *= 1000003; - h ^= Objects.hashCode(project); - h *= 1000003; - h ^= Objects.hashCode(location); - h *= 1000003; - h ^= Objects.hashCode(environment); - return h; - } - - /** Builder for projects/{project}/locations/{location}/environments/{environment}. */ - public static class Builder { - private String project; - private String location; - private String environment; - - protected Builder() {} - - public String getProject() { - return project; - } - - public String getLocation() { - return location; - } - - public String getEnvironment() { - return environment; - } - - public Builder setProject(String project) { - this.project = project; - return this; - } - - public Builder setLocation(String location) { - this.location = location; - return this; - } - - public Builder setEnvironment(String environment) { - this.environment = environment; - return this; - } - - private Builder(EnvironmentName environmentName) { - this.project = environmentName.project; - this.location = environmentName.location; - this.environment = environmentName.environment; - } - - public EnvironmentName build() { - return new EnvironmentName(this); - } - } -} 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 b2a76b8e63f9aea831ad5a74e69a67e9c5014f16 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 3 Aug 2021 22:20:26 +0000 Subject: [PATCH 2/4] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/master/packages/owl-bot/README.md --- .../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 - .../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 - .../v1beta1/stub/ImageVersionsStub.java | 0 .../stub/ImageVersionsStubSettings.java | 9 +- .../service/v1/EnvironmentsClientTest.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 .../v1beta1/EnvironmentsClientTest.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 | 845 ++++++ .../airflow/service/v1/ImageVersionsGrpc.java | 372 +++ .../service/v1beta1/EnvironmentsGrpc.java | 1110 ++++++++ .../service/v1beta1/ImageVersionsGrpc.java | 378 +++ .../airflow/service/v1/EnvironmentsGrpc.java | 646 ----- .../airflow/service/v1/ImageVersionsGrpc.java | 302 -- .../service/v1/EnvironmentsOuterClass.java | 483 ---- .../service/v1/ImageVersionsOuterClass.java | 110 - .../airflow/service/v1/OperationsProto.java | 71 - ...ebServerNetworkAccessControlOrBuilder.java | 53 - .../service/v1beta1/EnvironmentsGrpc.java | 822 ------ .../service/v1beta1/ImageVersionsGrpc.java | 302 -- .../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 | 98 +- .../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 | 131 +- .../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 | 119 +- .../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 | 1049 ++++--- .../PrivateEnvironmentConfigOrBuilder.java | 114 +- .../v1beta1/RestartWebServerRequest.java | 416 +-- .../RestartWebServerRequestOrBuilder.java | 27 +- .../service/v1beta1/SoftwareConfig.java | 1259 +++++---- .../v1beta1/SoftwareConfigOrBuilder.java | 181 +- .../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 166 files changed, 30997 insertions(+), 18943 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 (95%) 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 (98%) 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/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 (95%) 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/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/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/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/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/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 (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/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 (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/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 (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/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 (70%) 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 (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/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 (81%) 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 (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/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 (57%) 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%) 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 5293d9aa..be5a8201 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 @@ -60,13 +60,13 @@ * methods: * *
        - *
      1. A "flattened" method. With this type of method, the fields of the request type have been + *
      2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
      3. A "request object" method. This type of method only takes one parameter, a request object, + *
      4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
      5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
      6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
      * @@ -487,40 +487,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. @@ -735,7 +735,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( @@ -785,7 +788,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 1bee6e35..dadbd201 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 @@ -28,7 +28,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; @@ -45,9 +44,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 0428d312..2e0d8008 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 @@ -56,13 +56,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. *
        * @@ -298,7 +298,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( @@ -319,7 +322,9 @@ private ListImageVersionsPagedResponse(ListImageVersionsPage page) { public static class ListImageVersionsPage extends AbstractPage< - ListImageVersionsRequest, ListImageVersionsResponse, ImageVersion, + ListImageVersionsRequest, + ListImageVersionsResponse, + ImageVersion, ListImageVersionsPage> { private ListImageVersionsPage( @@ -349,7 +354,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 95% 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 55cb374a..2cfb1404 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 @@ -27,7 +27,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; @@ -42,9 +41,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 98% 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 f12e2152..9134ccb3 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 @@ -70,9 +70,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 10dbf478..e21b8e06 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 c4f52d74..969bcf10 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/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 e0579c94..01d957d8 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 @@ -58,9 +58,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 @@ -137,7 +137,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 99128036..25a644fc 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 @@ -60,13 +60,13 @@ * methods: * *

          - *
        1. A "flattened" method. With this type of method, the fields of the request type have been + *
        2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
        3. A "request object" method. This type of method only takes one parameter, a request object, + *
        4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
        5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
        6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
        * @@ -488,48 +488,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 @@ -894,7 +894,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( @@ -944,7 +947,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 754f7527..aacae0bf 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 @@ -28,7 +28,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; @@ -45,9 +44,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 8202a282..4db1b356 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 @@ -56,13 +56,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. *
          * @@ -299,7 +299,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( @@ -320,7 +323,9 @@ private ListImageVersionsPagedResponse(ListImageVersionsPage page) { public static class ListImageVersionsPage extends AbstractPage< - ListImageVersionsRequest, ListImageVersionsResponse, ImageVersion, + ListImageVersionsRequest, + ListImageVersionsResponse, + ImageVersion, ListImageVersionsPage> { private ListImageVersionsPage( @@ -350,7 +355,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 95% 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 78925496..355b21b3 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 @@ -27,7 +27,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; @@ -42,9 +41,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 33fb34b5..0df01e54 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 @@ -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/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 f7f41162..ce1b0e9f 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 5c2af900..e11e4c2a 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/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 7d4c2b23..a08f3372 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 @@ -58,9 +58,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 @@ -138,7 +138,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/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/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/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/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..e84bcf80 --- /dev/null +++ b/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsGrpc.java @@ -0,0 +1,845 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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") +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..da6da584 --- /dev/null +++ b/grpc-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsGrpc.java @@ -0,0 +1,372 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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") +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..691a8c08 --- /dev/null +++ b/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsGrpc.java @@ -0,0 +1,1110 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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") +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..5d3d547f --- /dev/null +++ b/grpc-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsGrpc.java @@ -0,0 +1,378 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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") +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 69fbcd8c..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,646 +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") -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 835f0efa..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,302 +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") -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 faa9361f..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,822 +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") -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 04a3734e..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,302 +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") -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 52ba1145..eba0f38c 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,97 +75,110 @@ 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) {
                 throw e.setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(
          -          e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -  public static final com.google.protobuf.Descriptors.Descriptor
          -      getDescriptor() {
          -    return com.google.cloud.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.
                * 
          @@ -157,6 +187,8 @@ public enum ConflictResult */ CONFLICT_RESULT_UNSPECIFIED(0), /** + * + * *
                * There were python packages conflicts.
                * 
          @@ -165,6 +197,8 @@ public enum ConflictResult */ CONFLICT(1), /** + * + * *
                * There were no python packages conflicts.
                * 
          @@ -176,6 +210,8 @@ public enum ConflictResult ; /** + * + * *
                * It is unknown whether build had conflicts or not.
                * 
          @@ -184,6 +220,8 @@ public enum ConflictResult */ public static final int CONFLICT_RESULT_UNSPECIFIED_VALUE = 0; /** + * + * *
                * There were python packages conflicts.
                * 
          @@ -192,6 +230,8 @@ public enum ConflictResult */ public static final int CONFLICT_VALUE = 1; /** + * + * *
                * There were no python packages conflicts.
                * 
          @@ -200,7 +240,6 @@ public enum ConflictResult */ public static final int NO_CONFLICT_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -225,49 +264,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; @@ -287,11 +328,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 @@ -300,29 +344,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 { @@ -333,39 +377,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 @@ -374,30 +440,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 { @@ -408,11 +475,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 @@ -421,29 +491,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 { @@ -452,21 +522,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); @@ -478,6 +549,8 @@ public int getPypiDependenciesCount() { return internalGetPypiDependencies().getMap().size(); } /** + * + * *
              * Pypi dependencies specified in the environment configuration, at the time
              * when the build was triggered.
          @@ -485,22 +558,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 java.lang.NullPointerException(); }
          +  public boolean containsPypiDependencies(java.lang.String key) {
          +    if (key == null) {
          +      throw new java.lang.NullPointerException();
          +    }
               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.
          @@ -509,11 +582,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.
          @@ -522,16 +596,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 java.lang.NullPointerException(); }
          -    java.util.Map map =
          -        internalGetPypiDependencies().getMap();
          +      java.lang.String key, java.lang.String defaultValue) {
          +    if (key == null) {
          +      throw new java.lang.NullPointerException();
          +    }
          +    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.
          @@ -540,12 +615,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 java.lang.NullPointerException(); }
          -    java.util.Map map =
          -        internalGetPypiDependencies().getMap();
          +  public java.lang.String getPypiDependenciesOrThrow(java.lang.String key) {
          +    if (key == null) {
          +      throw new java.lang.NullPointerException();
          +    }
          +    java.util.Map map = internalGetPypiDependencies().getMap();
               if (!map.containsKey(key)) {
                 throw new java.lang.IllegalArgumentException();
               }
          @@ -553,6 +627,7 @@ public java.lang.String getPypiDependenciesOrThrow(
             }
           
             private byte memoizedIsInitialized = -1;
          +
             @java.lang.Override
             public final boolean isInitialized() {
               byte isInitialized = memoizedIsInitialized;
          @@ -564,26 +639,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 (!getBuildLogUriBytes().isEmpty()) {
                 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, buildLogUri_);
               }
               if (!getPypiConflictBuildLogExtractBytes().isEmpty()) {
                 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 (!getImageVersionBytes().isEmpty()) {
                 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);
             }
           
          @@ -597,24 +670,28 @@ public int getSerializedSize() {
                 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, buildLogUri_);
               }
               if (!getPypiConflictBuildLogExtractBytes().isEmpty()) {
          -      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 (!getImageVersionBytes().isEmpty()) {
                 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;
          @@ -624,22 +701,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;
             }
          @@ -669,96 +744,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.
          @@ -766,60 +850,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();
          @@ -836,19 +920,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);
                 }
          @@ -857,7 +944,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_;
          @@ -873,46 +961,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();
          @@ -928,8 +1021,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;
          @@ -949,7 +1041,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) {
          @@ -958,22 +1052,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; @@ -982,20 +1079,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 { @@ -1003,54 +1101,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; @@ -1058,73 +1163,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; @@ -1132,19 +1271,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; @@ -1153,21 +1296,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 { @@ -1175,57 +1321,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; @@ -1233,18 +1392,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; @@ -1253,20 +1414,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 { @@ -1274,75 +1436,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(); @@ -1354,6 +1526,8 @@ public int getPypiDependenciesCount() { return internalGetPypiDependencies().getMap().size(); } /** + * + * *
                * Pypi dependencies specified in the environment configuration, at the time
                * when the build was triggered.
          @@ -1361,22 +1535,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 java.lang.NullPointerException(); }
          +    public boolean containsPypiDependencies(java.lang.String key) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
                 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.
          @@ -1385,11 +1559,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.
          @@ -1398,16 +1573,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 java.lang.NullPointerException(); }
          +        java.lang.String key, java.lang.String defaultValue) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
                 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.
          @@ -1416,10 +1593,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 java.lang.NullPointerException(); }
          +    public java.lang.String getPypiDependenciesOrThrow(java.lang.String key) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
                 java.util.Map map =
                     internalGetPypiDependencies().getMap();
                 if (!map.containsKey(key)) {
          @@ -1429,11 +1606,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.
          @@ -1441,23 +1619,21 @@ public Builder clearPypiDependencies() {
                *
                * map<string, string> pypi_dependencies = 6;
                */
          -
          -    public Builder removePypiDependencies(
          -        java.lang.String key) {
          -      if (key == null) { throw new java.lang.NullPointerException(); }
          -      internalGetMutablePypiDependencies().getMutableMap()
          -          .remove(key);
          +    public Builder removePypiDependencies(java.lang.String key) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      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.
          @@ -1465,16 +1641,19 @@ 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 java.lang.NullPointerException(); }
          -      if (value == null) { throw new java.lang.NullPointerException(); }
          -      internalGetMutablePypiDependencies().getMutableMap()
          -          .put(key, value);
          +    public Builder putPypiDependencies(java.lang.String key, java.lang.String value) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      if (value == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      internalGetMutablePypiDependencies().getMutableMap().put(key, value);
                 return this;
               }
               /**
          +     *
          +     *
                * 
                * Pypi dependencies specified in the environment configuration, at the time
                * when the build was triggered.
          @@ -1482,16 +1661,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);
               }
           
          @@ -1501,30 +1678,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;
          @@ -1536,9 +1715,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 a021c8a0..bfc748e4 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.
          @@ -131,11 +178,11 @@ boolean containsPypiDependencies(
              *
              * map<string, string> pypi_dependencies = 6;
              */
          -
             java.lang.String getPypiDependenciesOrDefault(
          -      java.lang.String key,
          -      java.lang.String defaultValue);
          +      java.lang.String key, java.lang.String defaultValue);
             /**
          +   *
          +   *
              * 
              * Pypi dependencies specified in the environment configuration, at the time
              * when the build was triggered.
          @@ -143,7 +190,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 69b97e6e..63d6aac8 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,66 +70,78 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -121,30 +150,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 { @@ -155,11 +184,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 @@ -167,18 +199,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.
              * 
          @@ -186,11 +225,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; @@ -202,8 +243,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -223,8 +263,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; @@ -234,19 +273,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; @@ -270,135 +309,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(); @@ -414,19 +470,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); } @@ -434,8 +493,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_; @@ -450,46 +511,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(); @@ -512,11 +579,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) { @@ -528,19 +598,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; @@ -549,21 +621,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 { @@ -571,57 +644,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; @@ -629,41 +709,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(); @@ -677,6 +771,8 @@ public Builder setEnvironment(com.google.cloud.orchestration.airflow.service.v1. return this; } /** + * + * *
                * The environment to create.
                * 
          @@ -695,17 +791,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; } @@ -717,6 +818,8 @@ public Builder mergeEnvironment(com.google.cloud.orchestration.airflow.service.v return this; } /** + * + * *
                * The environment to create.
                * 
          @@ -735,33 +838,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.
                * 
          @@ -769,21 +881,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); } @@ -793,30 +908,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; @@ -828,9 +946,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 68% 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 73692226..515c9df5 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,47 +71,52 @@ 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) {
                 throw e.setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(
          -          e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -  public static final com.google.protobuf.Descriptors.Descriptor
          -      getDescriptor() {
          -    return com.google.cloud.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
          @@ -102,6 +124,7 @@ private DatabaseConfig(
              * 
          * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The machineType. */ @java.lang.Override @@ -110,14 +133,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
          @@ -125,16 +149,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 { @@ -143,6 +166,7 @@ public java.lang.String getMachineType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,8 +178,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getMachineTypeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, machineType_); } @@ -179,15 +202,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -207,96 +230,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.
          @@ -304,21 +335,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()
          @@ -326,16 +359,15 @@ private Builder() {
                 maybeForceBuilderInitialization();
               }
           
          -    private Builder(
          -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                 super(parent);
                 maybeForceBuilderInitialization();
               }
          +
               private void maybeForceBuilderInitialization() {
          -      if (com.google.protobuf.GeneratedMessageV3
          -              .alwaysUseFieldBuilders) {
          -      }
          +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
               }
          +
               @java.lang.Override
               public Builder clear() {
                 super.clear();
          @@ -345,13 +377,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();
               }
           
          @@ -366,7 +399,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;
          @@ -376,46 +410,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();
          @@ -439,7 +477,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) {
          @@ -451,6 +491,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
          @@ -458,13 +500,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; @@ -473,6 +515,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
          @@ -480,15 +524,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 { @@ -496,6 +539,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
          @@ -503,20 +548,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
          @@ -524,15 +571,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
          @@ -540,23 +590,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); } @@ -566,30 +616,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; @@ -601,9 +653,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 6f02d84d..521e7a00 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,53 +70,60 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -108,30 +132,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 { @@ -140,6 +164,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +176,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +200,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; } @@ -203,135 +228,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(); @@ -341,19 +383,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); } @@ -361,8 +406,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; @@ -372,46 +419,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(); @@ -431,11 +484,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) { @@ -447,19 +503,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; @@ -468,21 +526,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 { @@ -490,64 +549,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); } @@ -557,30 +623,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; @@ -592,9 +661,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 66% 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 f0b32254..3cc1a225 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,47 +71,52 @@ 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) {
                 throw e.setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(
          -          e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -  public static final com.google.protobuf.Descriptors.Descriptor
          -      getDescriptor() {
          -    return com.google.cloud.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.
          @@ -102,6 +124,7 @@ private EncryptionConfig(
              * 
          * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The kmsKeyName. */ @java.lang.Override @@ -110,14 +133,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.
          @@ -125,16 +149,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 { @@ -143,6 +166,7 @@ public java.lang.String getKmsKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,8 +178,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getKmsKeyNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kmsKeyName_); } @@ -179,15 +202,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -207,96 +230,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.
          @@ -304,38 +336,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();
          @@ -345,14 +379,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
          @@ -366,7 +402,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;
          @@ -376,46 +413,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();
          @@ -439,7 +481,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) {
          @@ -451,6 +495,8 @@ public Builder mergeFrom(
           
               private java.lang.Object kmsKeyName_ = "";
               /**
          +     *
          +     *
                * 
                * Optional. Customer-managed Encryption Key available through Google's Key Management
                * Service. Cannot be updated.
          @@ -458,13 +504,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; @@ -473,6 +519,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
                * Optional. Customer-managed Encryption Key available through Google's Key Management
                * Service. Cannot be updated.
          @@ -480,15 +528,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 { @@ -496,6 +543,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
                * Optional. Customer-managed Encryption Key available through Google's Key Management
                * Service. Cannot be updated.
          @@ -503,20 +552,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.
          @@ -524,15 +575,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.
          @@ -540,23 +594,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); } @@ -566,30 +620,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; @@ -601,9 +657,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 ba073c07..de7544fa 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,130 +73,146 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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.
                * 
          @@ -188,6 +221,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
                * The environment is in the process of being created.
                * 
          @@ -196,6 +231,8 @@ public enum State */ CREATING(1), /** + * + * *
                * The environment is currently running and healthy. It is ready for use.
                * 
          @@ -204,6 +241,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.
          @@ -213,6 +252,8 @@ public enum State
                */
               UPDATING(3),
               /**
          +     *
          +     *
                * 
                * The environment is undergoing deletion. It cannot be used.
                * 
          @@ -221,6 +262,8 @@ public enum State */ DELETING(4), /** + * + * *
                * The environment has encountered an error and cannot be used.
                * 
          @@ -232,6 +275,8 @@ public enum State ; /** + * + * *
                * The state of the environment is unknown.
                * 
          @@ -240,6 +285,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
                * The environment is in the process of being created.
                * 
          @@ -248,6 +295,8 @@ public enum State */ public static final int CREATING_VALUE = 1; /** + * + * *
                * The environment is currently running and healthy. It is ready for use.
                * 
          @@ -256,6 +305,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.
          @@ -265,6 +316,8 @@ public enum State
                */
               public static final int UPDATING_VALUE = 3;
               /**
          +     *
          +     *
                * 
                * The environment is undergoing deletion. It cannot be used.
                * 
          @@ -273,6 +326,8 @@ public enum State */ public static final int DELETING_VALUE = 4; /** + * + * *
                * The environment has encountered an error and cannot be used.
                * 
          @@ -281,7 +336,6 @@ public enum State */ public static final int ERROR_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -306,52 +360,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; @@ -371,6 +430,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}"
          @@ -379,6 +440,7 @@ private State(int value) {
              * 
          * * string name = 1; + * * @return The name. */ @java.lang.Override @@ -387,14 +449,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}"
          @@ -403,16 +466,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 { @@ -423,11 +485,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 @@ -435,18 +500,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.
              * 
          @@ -454,19 +526,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 @@ -475,30 +551,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 { @@ -509,38 +585,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 @@ -548,11 +638,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 @@ -560,6 +653,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.
              * 
          @@ -574,11 +669,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 @@ -586,11 +684,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 @@ -598,6 +699,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.
              * 
          @@ -610,24 +713,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_; } @@ -636,6 +738,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
          @@ -648,22 +752,22 @@ public int getLabelsCount() {
              *
              * map<string, string> labels = 7;
              */
          -
             @java.lang.Override
          -  public boolean containsLabels(
          -      java.lang.String key) {
          -    if (key == null) { throw new java.lang.NullPointerException(); }
          +  public boolean containsLabels(java.lang.String key) {
          +    if (key == null) {
          +      throw new java.lang.NullPointerException();
          +    }
               return internalGetLabels().getMap().containsKey(key);
             }
          -  /**
          -   * Use {@link #getLabelsMap()} instead.
          -   */
          +  /** Use {@link #getLabelsMap()} instead. */
             @java.lang.Override
             @java.lang.Deprecated
             public java.util.Map getLabels() {
               return getLabelsMap();
             }
             /**
          +   *
          +   *
              * 
              * Optional. User-defined labels for this environment.
              * The labels map can contain no more than 64 entries. Entries of the labels
          @@ -677,11 +781,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
          @@ -695,16 +800,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 java.lang.NullPointerException(); }
          -    java.util.Map map =
          -        internalGetLabels().getMap();
          +  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
          +    if (key == null) {
          +      throw new java.lang.NullPointerException();
          +    }
          +    java.util.Map map = internalGetLabels().getMap();
               return map.containsKey(key) ? map.get(key) : defaultValue;
             }
             /**
          +   *
          +   *
              * 
              * Optional. User-defined labels for this environment.
              * The labels map can contain no more than 64 entries. Entries of the labels
          @@ -718,12 +823,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 java.lang.NullPointerException(); }
          -    java.util.Map map =
          -        internalGetLabels().getMap();
          +  public java.lang.String getLabelsOrThrow(java.lang.String key) {
          +    if (key == null) {
          +      throw new java.lang.NullPointerException();
          +    }
          +    java.util.Map map = internalGetLabels().getMap();
               if (!map.containsKey(key)) {
                 throw new java.lang.IllegalArgumentException();
               }
          @@ -731,6 +835,7 @@ public java.lang.String getLabelsOrThrow(
             }
           
             private byte memoizedIsInitialized = -1;
          +
             @java.lang.Override
             public final boolean isInitialized() {
               byte isInitialized = memoizedIsInitialized;
          @@ -742,8 +847,7 @@ public final boolean isInitialized() {
             }
           
             @java.lang.Override
          -  public void writeTo(com.google.protobuf.CodedOutputStream output)
          -                      throws java.io.IOException {
          +  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
               if (!getNameBytes().isEmpty()) {
                 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
               }
          @@ -753,7 +857,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
               if (!getUuidBytes().isEmpty()) {
                 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) {
          @@ -762,12 +868,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);
             }
           
          @@ -781,33 +883,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 (!getUuidBytes().isEmpty()) {
                 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;
          @@ -817,35 +917,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;
             }
          @@ -885,139 +980,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() @@ -1025,16 +1128,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(); @@ -1067,13 +1169,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(); } @@ -1088,7 +1191,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) { @@ -1118,38 +1222,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; @@ -1157,7 +1262,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(); @@ -1178,8 +1285,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; @@ -1199,7 +1305,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) { @@ -1208,10 +1316,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}"
          @@ -1220,13 +1331,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; @@ -1235,6 +1346,8 @@ public java.lang.String getName() { } } /** + * + * *
                * The resource name of the environment, in the form:
                * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          @@ -1243,15 +1356,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 { @@ -1259,6 +1371,8 @@ public java.lang.String getName() { } } /** + * + * *
                * The resource name of the environment, in the form:
                * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          @@ -1267,20 +1381,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}"
          @@ -1289,15 +1405,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}"
          @@ -1306,16 +1425,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; @@ -1323,41 +1442,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(); @@ -1371,6 +1505,8 @@ public Builder setConfig(com.google.cloud.orchestration.airflow.service.v1.Envir return this; } /** + * + * *
                * Configuration parameters for this environment.
                * 
          @@ -1378,7 +1514,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(); @@ -1389,17 +1526,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; } @@ -1411,6 +1554,8 @@ public Builder mergeConfig(com.google.cloud.orchestration.airflow.service.v1.Env return this; } /** + * + * *
                * Configuration parameters for this environment.
                * 
          @@ -1429,33 +1574,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.
                * 
          @@ -1463,14 +1618,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_; @@ -1478,19 +1636,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; @@ -1499,21 +1659,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 { @@ -1521,57 +1682,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; @@ -1579,73 +1747,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; @@ -1653,34 +1841,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.
                * 
          @@ -1701,14 +1902,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(); @@ -1719,6 +1921,8 @@ public Builder setCreateTime( return this; } /** + * + * *
                * Output only. The time at which this environment was created.
                * 
          @@ -1729,7 +1933,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; } @@ -1741,6 +1945,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
                * Output only. The time at which this environment was created.
                * 
          @@ -1759,6 +1965,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
                * Output only. The time at which this environment was created.
                * 
          @@ -1766,11 +1974,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.
                * 
          @@ -1781,11 +1991,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.
                * 
          @@ -1793,14 +2006,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_; @@ -1808,34 +2024,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.
                * 
          @@ -1856,14 +2085,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(); @@ -1874,6 +2104,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
                * Output only. The time at which this environment was last modified.
                * 
          @@ -1884,7 +2116,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; } @@ -1896,6 +2128,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
                * Output only. The time at which this environment was last modified.
                * 
          @@ -1914,6 +2148,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
                * Output only. The time at which this environment was last modified.
                * 
          @@ -1921,11 +2157,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.
                * 
          @@ -1936,11 +2174,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.
                * 
          @@ -1948,35 +2189,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(); @@ -1988,6 +2231,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
          @@ -2000,22 +2245,22 @@ public int getLabelsCount() {
                *
                * map<string, string> labels = 7;
                */
          -
               @java.lang.Override
          -    public boolean containsLabels(
          -        java.lang.String key) {
          -      if (key == null) { throw new java.lang.NullPointerException(); }
          +    public boolean containsLabels(java.lang.String key) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
                 return internalGetLabels().getMap().containsKey(key);
               }
          -    /**
          -     * Use {@link #getLabelsMap()} instead.
          -     */
          +    /** Use {@link #getLabelsMap()} instead. */
               @java.lang.Override
               @java.lang.Deprecated
               public java.util.Map getLabels() {
                 return getLabelsMap();
               }
               /**
          +     *
          +     *
                * 
                * Optional. User-defined labels for this environment.
                * The labels map can contain no more than 64 entries. Entries of the labels
          @@ -2029,11 +2274,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
          @@ -2047,16 +2293,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 java.lang.NullPointerException(); }
          -      java.util.Map map =
          -          internalGetLabels().getMap();
          +        java.lang.String key, java.lang.String defaultValue) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      java.util.Map map = internalGetLabels().getMap();
                 return map.containsKey(key) ? map.get(key) : defaultValue;
               }
               /**
          +     *
          +     *
                * 
                * Optional. User-defined labels for this environment.
                * The labels map can contain no more than 64 entries. Entries of the labels
          @@ -2070,12 +2317,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 java.lang.NullPointerException(); }
          -      java.util.Map map =
          -          internalGetLabels().getMap();
          +    public java.lang.String getLabelsOrThrow(java.lang.String key) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      java.util.Map map = internalGetLabels().getMap();
                 if (!map.containsKey(key)) {
                   throw new java.lang.IllegalArgumentException();
                 }
          @@ -2083,11 +2329,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
          @@ -2100,23 +2347,21 @@ public Builder clearLabels() {
                *
                * map<string, string> labels = 7;
                */
          -
          -    public Builder removeLabels(
          -        java.lang.String key) {
          -      if (key == null) { throw new java.lang.NullPointerException(); }
          -      internalGetMutableLabels().getMutableMap()
          -          .remove(key);
          +    public Builder removeLabels(java.lang.String key) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      internalGetMutableLabels().getMutableMap().remove(key);
                 return this;
               }
          -    /**
          -     * Use alternate mutation accessors instead.
          -     */
          +    /** Use alternate mutation accessors instead. */
               @java.lang.Deprecated
          -    public java.util.Map
          -    getMutableLabels() {
          +    public java.util.Map getMutableLabels() {
                 return internalGetMutableLabels().getMutableMap();
               }
               /**
          +     *
          +     *
                * 
                * Optional. User-defined labels for this environment.
                * The labels map can contain no more than 64 entries. Entries of the labels
          @@ -2129,16 +2374,19 @@ public Builder removeLabels(
                *
                * map<string, string> labels = 7;
                */
          -    public Builder putLabels(
          -        java.lang.String key,
          -        java.lang.String value) {
          -      if (key == null) { throw new java.lang.NullPointerException(); }
          -      if (value == null) { throw new java.lang.NullPointerException(); }
          -      internalGetMutableLabels().getMutableMap()
          -          .put(key, value);
          +    public Builder putLabels(java.lang.String key, java.lang.String value) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      if (value == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      internalGetMutableLabels().getMutableMap().put(key, value);
                 return this;
               }
               /**
          +     *
          +     *
                * 
                * Optional. User-defined labels for this environment.
                * The labels map can contain no more than 64 entries. Entries of the labels
          @@ -2151,16 +2399,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);
               }
           
          @@ -2170,12 +2415,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();
             }
          @@ -2184,16 +2430,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;
          @@ -2208,6 +2454,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 f08042af..e0489a7a 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,160 +72,206 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -217,29 +280,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 { @@ -250,6 +313,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
          @@ -258,6 +323,7 @@ public java.lang.String getGkeCluster() {
              * 
          * * string dag_gcs_prefix = 2; + * * @return The dagGcsPrefix. */ @java.lang.Override @@ -266,14 +332,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
          @@ -282,16 +349,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 { @@ -302,12 +368,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 @@ -318,11 +387,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 @@ -330,18 +402,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.
              * 
          @@ -349,18 +428,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 @@ -368,18 +451,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.
              * 
          @@ -387,18 +477,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 @@ -406,38 +503,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 @@ -445,40 +562,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 @@ -486,39 +622,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 @@ -526,38 +679,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 @@ -565,34 +735,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
          @@ -600,6 +784,7 @@ public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfigOrBuild
              * 
          * * string airflow_uri = 6; + * * @return The airflowUri. */ @java.lang.Override @@ -608,14 +793,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
          @@ -623,16 +809,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 { @@ -641,6 +826,7 @@ public java.lang.String getAirflowUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -652,8 +838,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 (!getGkeClusterBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, gkeCluster_); } @@ -703,39 +888,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 (!getAirflowUriBytes().isEmpty()) { 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; @@ -745,56 +926,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; } @@ -848,134 +1021,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(); @@ -1033,14 +1217,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 @@ -1054,7 +1240,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_; @@ -1102,46 +1289,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(); @@ -1197,7 +1389,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) { @@ -1209,18 +1403,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; @@ -1229,20 +1425,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 { @@ -1250,54 +1447,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; @@ -1305,6 +1509,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
          @@ -1313,13 +1519,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; @@ -1328,6 +1534,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
          @@ -1336,15 +1544,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 { @@ -1352,6 +1559,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
          @@ -1360,20 +1569,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
          @@ -1382,15 +1593,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
          @@ -1399,29 +1613,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 @@ -1429,32 +1646,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; @@ -1462,41 +1685,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(); @@ -1510,11 +1750,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) { @@ -1528,17 +1771,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; } @@ -1550,11 +1800,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) { @@ -1568,48 +1821,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_; @@ -1617,41 +1885,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(); @@ -1665,6 +1947,8 @@ public Builder setNodeConfig(com.google.cloud.orchestration.airflow.service.v1.N return this; } /** + * + * *
                * The configuration used for the Kubernetes Engine cluster.
                * 
          @@ -1683,17 +1967,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; } @@ -1705,6 +1994,8 @@ public Builder mergeNodeConfig(com.google.cloud.orchestration.airflow.service.v1 return this; } /** + * + * *
                * The configuration used for the Kubernetes Engine cluster.
                * 
          @@ -1723,33 +2014,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.
                * 
          @@ -1757,56 +2057,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(); @@ -1820,14 +2146,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(); @@ -1838,17 +2169,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; } @@ -1860,11 +2199,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) { @@ -1878,93 +2221,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(); @@ -1978,15 +2366,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(); @@ -1997,18 +2390,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; } @@ -2020,12 +2421,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) { @@ -2039,51 +2444,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_; @@ -2091,44 +2518,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(); @@ -2142,12 +2589,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) { @@ -2161,18 +2612,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; } @@ -2184,12 +2643,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) { @@ -2203,51 +2666,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_; @@ -2255,41 +2736,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(); @@ -2303,11 +2804,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) { @@ -2321,17 +2826,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; } @@ -2343,11 +2856,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) { @@ -2361,48 +2878,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_; @@ -2410,44 +2945,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(); @@ -2461,15 +3018,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(); @@ -2480,18 +3042,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; } @@ -2503,12 +3073,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) { @@ -2522,51 +3096,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_; @@ -2574,6 +3167,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
          @@ -2581,13 +3176,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; @@ -2596,6 +3191,8 @@ public java.lang.String getAirflowUri() { } } /** + * + * *
                * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
                * [Airflow web
          @@ -2603,15 +3200,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 { @@ -2619,6 +3215,8 @@ public java.lang.String getAirflowUri() { } } /** + * + * *
                * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
                * [Airflow web
          @@ -2626,20 +3224,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
          @@ -2647,15 +3247,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
          @@ -2663,23 +3266,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); } @@ -2689,30 +3292,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; @@ -2724,9 +3329,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 bf2cdda2..58194e22 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
          @@ -218,11 +277,10 @@ boolean containsLabels(
              *
              * map<string, string> labels = 7;
              */
          -
          -  java.lang.String getLabelsOrDefault(
          -      java.lang.String key,
          -      java.lang.String defaultValue);
          +  java.lang.String getLabelsOrDefault(java.lang.String key, 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
          @@ -235,7 +293,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 1ac382ee..54ba8b80 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,53 +70,59 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -108,30 +131,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
              * The 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -204,134 +227,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(); @@ -341,19 +376,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); } @@ -362,7 +400,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; @@ -372,46 +411,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(); @@ -435,7 +480,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) { @@ -447,19 +494,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; @@ -468,21 +517,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 { @@ -490,64 +540,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); } @@ -557,30 +614,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; @@ -592,9 +652,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 caaa9e5e..c19f3750 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,76 +69,85 @@ 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) {
                 throw e.setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(
          -          e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -  public static final com.google.protobuf.Descriptors.Descriptor
          -      getDescriptor() {
          -    return com.google.cloud.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;
               }
          @@ -138,32 +163,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;
               }
          @@ -179,32 +210,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 @@ -214,6 +251,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.
          @@ -221,12 +260,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.
          @@ -234,6 +276,7 @@ public boolean hasClusterSecondaryRangeName() {
              * 
          * * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The clusterSecondaryRangeName. */ public java.lang.String getClusterSecondaryRangeName() { @@ -244,8 +287,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; @@ -254,6 +296,8 @@ public java.lang.String getClusterSecondaryRangeName() { } } /** + * + * *
              * Optional. The name of the GKE cluster's secondary range used to allocate
              * IP addresses to pods.
          @@ -261,18 +305,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; } @@ -284,6 +327,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.
          @@ -299,12 +344,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.
          @@ -320,6 +368,7 @@ public boolean hasClusterIpv4CidrBlock() {
              * 
          * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The clusterIpv4CidrBlock. */ public java.lang.String getClusterIpv4CidrBlock() { @@ -330,8 +379,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; @@ -340,6 +388,8 @@ public java.lang.String getClusterIpv4CidrBlock() { } } /** + * + * *
              * Optional. The IP address range used to allocate IP addresses to pods in
              * the GKE cluster.
          @@ -355,18 +405,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; } @@ -378,26 +427,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() { @@ -408,8 +465,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; @@ -418,25 +474,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; } @@ -448,6 +506,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.
          @@ -463,12 +523,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.
          @@ -484,6 +547,7 @@ public boolean hasServicesIpv4CidrBlock() {
              * 
          * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The servicesIpv4CidrBlock. */ public java.lang.String getServicesIpv4CidrBlock() { @@ -494,8 +558,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; @@ -504,6 +567,8 @@ public java.lang.String getServicesIpv4CidrBlock() { } } /** + * + * *
              * Optional. The IP address range of the services IP addresses in this
              * GKE cluster.
          @@ -519,18 +584,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; } @@ -541,6 +605,7 @@ public java.lang.String getServicesIpv4CidrBlock() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -552,8 +617,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_); } @@ -579,8 +643,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_); @@ -602,24 +665,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: @@ -627,12 +689,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: @@ -649,8 +710,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; @@ -681,96 +741,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.
          @@ -778,38 +847,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();
          @@ -823,14 +894,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
          @@ -844,7 +917,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_;
          @@ -868,82 +942,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();
          @@ -964,7 +1049,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) {
          @@ -973,12 +1060,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() {
          @@ -990,10 +1077,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() {
          @@ -1003,15 +1089,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 @@ -1019,45 +1107,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 @@ -1065,13 +1163,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 @@ -1081,8 +1183,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; @@ -1093,26 +1194,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; } @@ -1122,34 +1225,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() { @@ -1161,22 +1271,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(); @@ -1184,6 +1297,8 @@ public Builder setClusterSecondaryRangeNameBytes( } /** + * + * *
                * Optional. The IP address range used to allocate IP addresses to pods in
                * the GKE cluster.
          @@ -1199,6 +1314,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 @@ -1206,6 +1322,8 @@ public boolean hasClusterIpv4CidrBlock() { return clusterIpAllocationCase_ == 4; } /** + * + * *
                * Optional. The IP address range used to allocate IP addresses to pods in
                * the GKE cluster.
          @@ -1221,6 +1339,7 @@ public boolean hasClusterIpv4CidrBlock() {
                * 
          * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The clusterIpv4CidrBlock. */ @java.lang.Override @@ -1230,8 +1349,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; @@ -1242,6 +1360,8 @@ public java.lang.String getClusterIpv4CidrBlock() { } } /** + * + * *
                * Optional. The IP address range used to allocate IP addresses to pods in
                * the GKE cluster.
          @@ -1257,19 +1377,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; } @@ -1279,6 +1398,8 @@ public java.lang.String getClusterIpv4CidrBlock() { } } /** + * + * *
                * Optional. The IP address range used to allocate IP addresses to pods in
                * the GKE cluster.
          @@ -1294,20 +1415,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.
          @@ -1323,6 +1446,7 @@ public Builder setClusterIpv4CidrBlock(
                * 
          * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearClusterIpv4CidrBlock() { @@ -1334,6 +1458,8 @@ public Builder clearClusterIpv4CidrBlock() { return this; } /** + * + * *
                * Optional. The IP address range used to allocate IP addresses to pods in
                * the GKE cluster.
          @@ -1349,15 +1475,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(); @@ -1365,13 +1491,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 @@ -1379,13 +1509,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 @@ -1395,8 +1529,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; @@ -1407,26 +1540,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; } @@ -1436,34 +1571,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() { @@ -1475,22 +1617,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(); @@ -1498,6 +1643,8 @@ public Builder setServicesSecondaryRangeNameBytes( } /** + * + * *
                * Optional. The IP address range of the services IP addresses in this
                * GKE cluster.
          @@ -1513,6 +1660,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 @@ -1520,6 +1668,8 @@ public boolean hasServicesIpv4CidrBlock() { return servicesIpAllocationCase_ == 5; } /** + * + * *
                * Optional. The IP address range of the services IP addresses in this
                * GKE cluster.
          @@ -1535,6 +1685,7 @@ public boolean hasServicesIpv4CidrBlock() {
                * 
          * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The servicesIpv4CidrBlock. */ @java.lang.Override @@ -1544,8 +1695,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; @@ -1556,6 +1706,8 @@ public java.lang.String getServicesIpv4CidrBlock() { } } /** + * + * *
                * Optional. The IP address range of the services IP addresses in this
                * GKE cluster.
          @@ -1571,19 +1723,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; } @@ -1593,6 +1744,8 @@ public java.lang.String getServicesIpv4CidrBlock() { } } /** + * + * *
                * Optional. The IP address range of the services IP addresses in this
                * GKE cluster.
          @@ -1608,20 +1761,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.
          @@ -1637,6 +1792,7 @@ public Builder setServicesIpv4CidrBlock(
                * 
          * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearServicesIpv4CidrBlock() { @@ -1648,6 +1804,8 @@ public Builder clearServicesIpv4CidrBlock() { return this; } /** + * + * *
                * Optional. The IP address range of the services IP addresses in this
                * GKE cluster.
          @@ -1663,23 +1821,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); } @@ -1689,30 +1847,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; @@ -1724,9 +1884,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 e2b5b13a..4855262d 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,63 +72,65 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { supportedPythonVersions_ = supportedPythonVersions_.getUnmodifiableView(); @@ -120,28 +139,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 @@ -150,30 +175,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 { @@ -184,12 +209,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 @@ -200,34 +228,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. */ @@ -235,27 +271,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 @@ -263,11 +304,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 @@ -275,6 +319,8 @@ public com.google.type.Date getReleaseDate() { return releaseDate_ == null ? com.google.type.Date.getDefaultInstance() : releaseDate_; } /** + * + * *
              * The date of the version release.
              * 
          @@ -289,11 +335,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 @@ -304,12 +353,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 @@ -318,6 +370,7 @@ public boolean getUpgradeDisabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -329,8 +382,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 (!getImageVersionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, imageVersionId_); } @@ -338,7 +390,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()); @@ -362,8 +415,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; @@ -374,16 +426,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; @@ -393,28 +442,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; } @@ -429,8 +474,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(); @@ -440,128 +484,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() @@ -569,16 +621,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(); @@ -602,13 +653,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(); } @@ -623,7 +675,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_; @@ -647,38 +700,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; @@ -686,7 +740,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(); @@ -732,7 +788,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) { @@ -741,23 +799,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; @@ -766,21 +827,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 { @@ -788,70 +850,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 @@ -859,73 +931,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. */ @@ -933,80 +1022,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() { @@ -1016,20 +1115,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(); @@ -1038,24 +1139,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() { @@ -1066,6 +1174,8 @@ public com.google.type.Date getReleaseDate() { } } /** + * + * *
                * The date of the version release.
                * 
          @@ -1086,14 +1196,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(); @@ -1104,6 +1215,8 @@ public Builder setReleaseDate( return this; } /** + * + * *
                * The date of the version release.
                * 
          @@ -1114,7 +1227,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; } @@ -1126,6 +1239,8 @@ public Builder mergeReleaseDate(com.google.type.Date value) { return this; } /** + * + * *
                * The date of the version release.
                * 
          @@ -1144,6 +1259,8 @@ public Builder clearReleaseDate() { return this; } /** + * + * *
                * The date of the version release.
                * 
          @@ -1151,11 +1268,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.
                * 
          @@ -1166,11 +1285,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.
                * 
          @@ -1178,26 +1298,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 @@ -1205,43 +1327,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 @@ -1249,39 +1380,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); } @@ -1291,30 +1428,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; @@ -1326,9 +1465,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 566d989a..cafd6225 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,64 +71,72 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -120,30 +145,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 { @@ -154,11 +179,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 @@ -169,11 +197,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 @@ -182,29 +213,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 { @@ -213,6 +244,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +256,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -248,8 +279,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!getPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -262,19 +292,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; } @@ -298,134 +327,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(); @@ -439,19 +480,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); } @@ -459,8 +503,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_; @@ -472,46 +518,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(); @@ -538,11 +590,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) { @@ -554,19 +609,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; @@ -575,21 +632,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 { @@ -597,69 +655,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 @@ -667,30 +735,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; @@ -698,18 +772,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; @@ -718,20 +794,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 { @@ -739,61 +816,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); } @@ -803,30 +887,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; @@ -838,9 +925,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 63% 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 75dab8f3..4955f2fd 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,35 +72,40 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { environments_ = java.util.Collections.unmodifiableList(environments_); @@ -92,87 +114,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 @@ -181,29 +228,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 { @@ -212,6 +259,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,8 +271,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < environments_.size(); i++) { output.writeMessage(1, environments_.get(i)); } @@ -241,8 +288,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 (!getNextPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -255,17 +301,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; } @@ -288,136 +334,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(); @@ -433,19 +497,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); } @@ -453,8 +520,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)) { @@ -474,46 +543,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()) { @@ -532,9 +607,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_); } @@ -559,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.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) { @@ -572,28 +651,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 { @@ -601,11 +691,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) { @@ -615,13 +708,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 { @@ -629,11 +726,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) { @@ -650,14 +750,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()); @@ -668,13 +772,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(); @@ -688,11 +796,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) { @@ -709,11 +820,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) { @@ -727,14 +841,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()); @@ -745,18 +863,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); @@ -764,11 +885,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) { @@ -781,11 +905,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) { @@ -798,39 +925,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 { @@ -838,49 +976,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_; @@ -888,18 +1042,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; @@ -908,20 +1064,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 { @@ -929,61 +1086,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); } @@ -993,30 +1157,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; @@ -1028,9 +1195,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 6662473a..630e0b36 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,69 +71,77 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -125,30 +150,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 { @@ -159,11 +184,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 @@ -174,11 +202,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 @@ -187,29 +218,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 { @@ -220,11 +251,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 @@ -233,6 +267,7 @@ public boolean getIncludePastReleases() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,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 { if (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -271,15 +305,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!getPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (includePastReleases_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, includePastReleases_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, includePastReleases_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -289,21 +321,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; } @@ -322,142 +352,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(); @@ -473,19 +519,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); } @@ -493,8 +542,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_; @@ -507,46 +558,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(); @@ -576,11 +633,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) { @@ -592,19 +652,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; @@ -613,21 +675,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 { @@ -635,69 +698,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 @@ -705,30 +778,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; @@ -736,18 +815,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; @@ -756,20 +837,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 { @@ -777,66 +859,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 @@ -844,37 +936,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); } @@ -884,30 +982,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; @@ -919,9 +1020,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 116451ca..34f6f485 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,35 +72,40 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { imageVersions_ = java.util.Collections.unmodifiableList(imageVersions_); @@ -92,87 +114,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 @@ -181,29 +229,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 { @@ -212,6 +260,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,8 +272,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < imageVersions_.size(); i++) { output.writeMessage(1, imageVersions_.get(i)); } @@ -241,8 +289,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 (!getNextPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -255,17 +302,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; } @@ -288,136 +335,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(); @@ -433,19 +498,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); } @@ -453,8 +521,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)) { @@ -474,46 +544,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()) { @@ -532,9 +608,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_); } @@ -559,11 +636,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) { @@ -572,28 +652,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 { @@ -601,11 +693,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) { @@ -615,13 +711,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 { @@ -629,11 +730,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) { @@ -650,14 +755,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()); @@ -668,13 +778,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(); @@ -688,11 +803,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) { @@ -709,11 +828,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) { @@ -727,14 +850,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()); @@ -745,18 +873,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); @@ -764,11 +896,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) { @@ -781,11 +917,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) { @@ -798,39 +938,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 { @@ -838,45 +992,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(), @@ -888,18 +1064,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; @@ -908,20 +1086,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 { @@ -929,61 +1108,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); } @@ -993,30 +1179,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; @@ -1028,9 +1217,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 95ff3e8e..9e257f8e 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,86 +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.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) {
                 throw e.setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(
          -          e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
               } finally {
                 if (((mutable_bitField0_ & 0x00000001) != 0)) {
                   oauthScopes_ = oauthScopes_.getUnmodifiableView();
          @@ -152,22 +180,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
          @@ -185,6 +218,7 @@ private NodeConfig(
              * 
          * * string location = 1; + * * @return The location. */ @java.lang.Override @@ -193,14 +227,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
          @@ -218,16 +253,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 { @@ -238,6 +272,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,
          @@ -260,6 +296,7 @@ public java.lang.String getLocation() {
              * 
          * * string machine_type = 2; + * * @return The machineType. */ @java.lang.Override @@ -268,14 +305,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,
          @@ -298,16 +336,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 { @@ -318,6 +355,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
          @@ -332,6 +371,7 @@ public java.lang.String getMachineType() {
              * 
          * * string network = 3; + * * @return The network. */ @java.lang.Override @@ -340,14 +380,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
          @@ -362,16 +403,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 { @@ -382,6 +422,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
          @@ -394,6 +436,7 @@ public java.lang.String getNetwork() {
              * 
          * * string subnetwork = 4; + * * @return The subnetwork. */ @java.lang.Override @@ -402,14 +445,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
          @@ -422,16 +466,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 { @@ -442,12 +485,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 @@ -458,6 +504,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
          @@ -465,13 +513,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
          @@ -479,12 +529,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
          @@ -492,6 +545,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. */ @@ -499,6 +553,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
          @@ -506,17 +562,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
          @@ -524,6 +582,7 @@ public java.lang.String getOauthScopes(int index) {
              * 
          * * string service_account = 7; + * * @return The serviceAccount. */ @java.lang.Override @@ -532,14 +591,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
          @@ -547,16 +607,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 { @@ -567,6 +626,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
          @@ -575,13 +636,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
          @@ -590,12 +653,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
          @@ -604,6 +670,7 @@ public int getTagsCount() {
              * 
          * * repeated string tags = 8; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -611,6 +678,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
          @@ -619,22 +688,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 @@ -642,30 +716,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; @@ -677,8 +765,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 (!getLocationBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, location_); } @@ -728,8 +815,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; @@ -751,8 +837,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; @@ -762,33 +847,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; @@ -831,96 +908,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.
          @@ -928,21 +1013,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()
          @@ -950,16 +1037,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();
          @@ -989,13 +1075,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();
               }
           
          @@ -1010,7 +1097,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_;
          @@ -1041,38 +1129,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;
          @@ -1080,7 +1169,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();
          @@ -1146,7 +1237,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) {
          @@ -1155,10 +1247,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
          @@ -1176,13 +1271,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; @@ -1191,6 +1286,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
          @@ -1208,15 +1305,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 { @@ -1224,6 +1320,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
          @@ -1241,20 +1339,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
          @@ -1272,15 +1372,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
          @@ -1298,16 +1401,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; @@ -1315,6 +1418,8 @@ public Builder setLocationBytes( private java.lang.Object machineType_ = ""; /** + * + * *
                * Optional. The Compute Engine
                * [machine type](/compute/docs/machine-types) used for cluster instances,
          @@ -1337,13 +1442,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; @@ -1352,6 +1457,8 @@ public java.lang.String getMachineType() { } } /** + * + * *
                * Optional. The Compute Engine
                * [machine type](/compute/docs/machine-types) used for cluster instances,
          @@ -1374,15 +1481,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 { @@ -1390,6 +1496,8 @@ public java.lang.String getMachineType() { } } /** + * + * *
                * Optional. The Compute Engine
                * [machine type](/compute/docs/machine-types) used for cluster instances,
          @@ -1412,20 +1520,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,
          @@ -1448,15 +1558,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,
          @@ -1479,16 +1592,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; @@ -1496,6 +1609,8 @@ public Builder setMachineTypeBytes( private java.lang.Object network_ = ""; /** + * + * *
                * Optional. The Compute Engine network to be used for machine
                * communications, specified as a
          @@ -1510,13 +1625,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; @@ -1525,6 +1640,8 @@ public java.lang.String getNetwork() { } } /** + * + * *
                * Optional. The Compute Engine network to be used for machine
                * communications, specified as a
          @@ -1539,15 +1656,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 { @@ -1555,6 +1671,8 @@ public java.lang.String getNetwork() { } } /** + * + * *
                * Optional. The Compute Engine network to be used for machine
                * communications, specified as a
          @@ -1569,20 +1687,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
          @@ -1597,15 +1717,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
          @@ -1620,16 +1743,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; @@ -1637,6 +1760,8 @@ public Builder setNetworkBytes( private java.lang.Object subnetwork_ = ""; /** + * + * *
                * Optional. The Compute Engine subnetwork to be used for machine
                * communications, specified as a
          @@ -1649,13 +1774,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; @@ -1664,6 +1789,8 @@ public java.lang.String getSubnetwork() { } } /** + * + * *
                * Optional. The Compute Engine subnetwork to be used for machine
                * communications, specified as a
          @@ -1676,15 +1803,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 { @@ -1692,6 +1818,8 @@ public java.lang.String getSubnetwork() { } } /** + * + * *
                * Optional. The Compute Engine subnetwork to be used for machine
                * communications, specified as a
          @@ -1704,20 +1832,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
          @@ -1730,15 +1860,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
          @@ -1751,29 +1884,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 @@ -1781,45 +1917,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
          @@ -1827,13 +1973,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
          @@ -1841,12 +1989,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
          @@ -1854,6 +2005,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. */ @@ -1861,6 +2013,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
          @@ -1868,14 +2022,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
          @@ -1883,21 +2039,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
          @@ -1905,20 +2063,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
          @@ -1926,18 +2086,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
          @@ -1945,6 +2106,7 @@ public Builder addAllOauthScopes(
                * 
          * * repeated string oauth_scopes = 6; + * * @return This builder for chaining. */ public Builder clearOauthScopes() { @@ -1954,6 +2116,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
          @@ -1961,15 +2125,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(); @@ -1978,6 +2142,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
          @@ -1985,13 +2151,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; @@ -2000,6 +2166,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
          @@ -2007,15 +2175,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 { @@ -2023,6 +2190,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
          @@ -2030,20 +2199,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
          @@ -2051,15 +2222,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
          @@ -2067,29 +2241,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
          @@ -2098,13 +2276,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
          @@ -2113,12 +2293,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
          @@ -2127,6 +2310,7 @@ public int getTagsCount() {
                * 
          * * repeated string tags = 8; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -2134,6 +2318,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
          @@ -2142,14 +2328,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
          @@ -2158,21 +2346,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
          @@ -2181,20 +2371,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
          @@ -2203,18 +2395,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
          @@ -2223,6 +2416,7 @@ public Builder addAllTags(
                * 
          * * repeated string tags = 8; + * * @return This builder for chaining. */ public Builder clearTags() { @@ -2232,6 +2426,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
          @@ -2240,58 +2436,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(); @@ -2305,14 +2524,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(); @@ -2323,17 +2547,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; } @@ -2345,11 +2577,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) { @@ -2363,55 +2599,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); } @@ -2421,12 +2676,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(); } @@ -2435,16 +2691,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; @@ -2459,6 +2715,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 9a985aa3..58fe565e 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,98 +73,111 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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.
                * 
          @@ -156,6 +186,8 @@ public enum State */ STATE_UNSPECIFIED(0, 0), /** + * + * *
                * The operation has been created but is not yet started.
                * 
          @@ -164,6 +196,8 @@ public enum State */ PENDING(1, 1), /** + * + * *
                * The operation is underway.
                * 
          @@ -172,6 +206,8 @@ public enum State */ RUNNING(2, 2), /** + * + * *
                * The operation completed successfully.
                * 
          @@ -180,6 +216,8 @@ public enum State */ SUCCEEDED(3, 3), /** + * + * *
                * The operation is no longer running but did not succeed.
                * 
          @@ -190,11 +228,11 @@ public enum State UNRECOGNIZED(-1, -1), ; - /** - * SUCCESSFUL = 3; - */ + /** SUCCESSFUL = 3; */ public static final State SUCCESSFUL = SUCCEEDED; /** + * + * *
                * Unused.
                * 
          @@ -203,6 +241,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
                * The operation has been created but is not yet started.
                * 
          @@ -211,6 +251,8 @@ public enum State */ public static final int PENDING_VALUE = 1; /** + * + * *
                * The operation is underway.
                * 
          @@ -219,6 +261,8 @@ public enum State */ public static final int RUNNING_VALUE = 2; /** + * + * *
                * The operation completed successfully.
                * 
          @@ -226,11 +270,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.
                * 
          @@ -239,7 +283,6 @@ public enum State */ public static final int FAILED_VALUE = 4; - public final int getNumber() { if (index == -1) { throw new java.lang.IllegalArgumentException( @@ -264,55 +307,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; @@ -332,15 +381,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.
                * 
          @@ -349,6 +401,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
                * A resource creation operation.
                * 
          @@ -357,6 +411,8 @@ public enum Type */ CREATE(1), /** + * + * *
                * A resource deletion operation.
                * 
          @@ -365,6 +421,8 @@ public enum Type */ DELETE(2), /** + * + * *
                * A resource update operation.
                * 
          @@ -373,6 +431,8 @@ public enum Type */ UPDATE(3), /** + * + * *
                * A resource check operation.
                * 
          @@ -384,6 +444,8 @@ public enum Type ; /** + * + * *
                * Unused.
                * 
          @@ -392,6 +454,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
                * A resource creation operation.
                * 
          @@ -400,6 +464,8 @@ public enum Type */ public static final int CREATE_VALUE = 1; /** + * + * *
                * A resource deletion operation.
                * 
          @@ -408,6 +474,8 @@ public enum Type */ public static final int DELETE_VALUE = 2; /** + * + * *
                * A resource update operation.
                * 
          @@ -416,6 +484,8 @@ public enum Type */ public static final int UPDATE_VALUE = 3; /** + * + * *
                * A resource check operation.
                * 
          @@ -424,7 +494,6 @@ public enum Type */ public static final int CHECK_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -449,51 +518,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; @@ -513,66 +586,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 @@ -581,30 +683,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 { @@ -615,11 +717,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 @@ -628,29 +733,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 { @@ -661,11 +766,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 @@ -673,11 +781,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 @@ -685,6 +796,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.
              * 
          @@ -699,12 +812,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 @@ -712,12 +828,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 @@ -725,6 +844,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.
          @@ -738,6 +859,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
             }
           
             private byte memoizedIsInitialized = -1;
          +
             @java.lang.Override
             public final boolean isInitialized() {
               byte isInitialized = memoizedIsInitialized;
          @@ -749,12 +871,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 (!getResourceBytes().isEmpty()) {
          @@ -778,13 +904,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 (!getResourceBytes().isEmpty()) {
                 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, resource_);
          @@ -793,12 +922,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;
          @@ -808,28 +935,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;
          @@ -864,134 +988,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(); @@ -1019,14 +1154,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 @@ -1040,7 +1177,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_; @@ -1063,46 +1201,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()); } @@ -1142,7 +1285,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) { @@ -1154,73 +1299,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; @@ -1228,73 +1398,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; @@ -1302,19 +1504,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; @@ -1323,21 +1527,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 { @@ -1345,57 +1550,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; @@ -1403,18 +1615,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; @@ -1423,20 +1637,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 { @@ -1444,54 +1659,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; @@ -1499,34 +1721,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.
                * 
          @@ -1547,14 +1782,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(); @@ -1565,6 +1801,8 @@ public Builder setCreateTime( return this; } /** + * + * *
                * Output only. The time the operation was submitted to the server.
                * 
          @@ -1575,7 +1813,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; } @@ -1587,6 +1825,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
                * Output only. The time the operation was submitted to the server.
                * 
          @@ -1605,6 +1845,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
                * Output only. The time the operation was submitted to the server.
                * 
          @@ -1612,11 +1854,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.
                * 
          @@ -1627,11 +1871,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.
                * 
          @@ -1639,14 +1886,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_; @@ -1654,26 +1904,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() { @@ -1684,6 +1943,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.
          @@ -1705,6 +1966,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.
          @@ -1712,8 +1975,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();
          @@ -1724,6 +1986,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.
          @@ -1735,7 +1999,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;
                   }
          @@ -1747,6 +2011,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.
          @@ -1766,6 +2032,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.
          @@ -1774,11 +2042,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.
          @@ -1790,11 +2060,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.
          @@ -1803,21 +2074,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);
               }
           
          @@ -1827,30 +2101,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;
          @@ -1862,9 +2138,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 70%
          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 fccf346c..0f8bf9d7 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,64 +72,71 @@ 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) {
                 throw e.setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(
          -          e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -  public static final com.google.protobuf.Descriptors.Descriptor
          -      getDescriptor() {
          -    return com.google.cloud.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 @@ -123,12 +147,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 @@ -137,30 +164,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 { @@ -171,6 +198,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
          @@ -179,7 +208,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 @@ -188,14 +219,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
          @@ -204,17 +236,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 { @@ -223,6 +255,7 @@ public java.lang.String getMasterIpv4ReservedRange() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,8 +267,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_); } @@ -255,8 +287,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 (!getMasterIpv4CidrBlockBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, masterIpv4CidrBlock_); @@ -272,19 +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.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; } @@ -297,8 +326,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; @@ -309,96 +337,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.
          @@ -406,38 +443,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();
          @@ -451,19 +490,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);
                 }
          @@ -472,7 +514,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_;
          @@ -484,46 +527,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());
                 }
          @@ -554,7 +602,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) {
          @@ -564,14 +614,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 @@ -579,32 +632,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; @@ -612,19 +671,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; @@ -633,21 +694,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 { @@ -655,57 +717,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; @@ -713,6 +782,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
          @@ -721,14 +792,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; @@ -737,6 +809,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
          @@ -745,16 +819,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 { @@ -762,6 +836,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
          @@ -770,21 +846,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
          @@ -793,16 +872,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
          @@ -811,24 +894,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); } @@ -838,30 +922,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; @@ -873,9 +959,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 a403dc26..03758146 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,77 +73,91 @@ 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) {
                 throw e.setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(
          -          e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -  public static final com.google.protobuf.Descriptors.Descriptor
          -      getDescriptor() {
          -    return com.google.cloud.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
          @@ -134,6 +165,7 @@ private PrivateEnvironmentConfig(
              * 
          * * bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enablePrivateEnvironment. */ @java.lang.Override @@ -142,14 +174,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 @@ -157,34 +195,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
          @@ -192,6 +246,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 @@ -200,14 +255,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
          @@ -215,16 +271,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 { @@ -235,12 +290,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 @@ -249,30 +307,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 { @@ -283,11 +341,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 @@ -296,29 +358,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 { @@ -327,6 +390,7 @@ public java.lang.String getWebServerIpv4ReservedRange() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -338,8 +402,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enablePrivateEnvironment_ != false) { output.writeBool(1, enablePrivateEnvironment_); } @@ -365,12 +428,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 (!getWebServerIpv4CidrBlockBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, webServerIpv4CidrBlock_); @@ -379,7 +441,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, cloudSqlIpv4CidrBlock_); } if (!getWebServerIpv4ReservedRangeBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, webServerIpv4ReservedRange_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(5, webServerIpv4ReservedRange_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -389,26 +452,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; } @@ -421,8 +482,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(); @@ -438,97 +498,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.
          @@ -536,38 +610,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();
          @@ -589,19 +666,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);
                 }
          @@ -609,8 +689,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_;
          @@ -628,46 +710,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());
                 }
          @@ -701,11 +789,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) {
          @@ -715,8 +806,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
          @@ -724,6 +817,7 @@ public Builder mergeFrom(
                * 
          * * bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enablePrivateEnvironment. */ @java.lang.Override @@ -731,6 +825,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
          @@ -738,16 +834,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
          @@ -755,55 +854,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(); @@ -817,15 +940,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(); @@ -836,18 +964,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; } @@ -859,12 +995,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) { @@ -878,51 +1018,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_; @@ -930,6 +1089,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
          @@ -937,13 +1098,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; @@ -952,6 +1113,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
          @@ -959,15 +1122,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 { @@ -975,6 +1137,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
          @@ -982,20 +1146,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
          @@ -1003,15 +1169,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
          @@ -1019,16 +1188,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; @@ -1036,19 +1205,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; @@ -1057,21 +1228,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 { @@ -1079,57 +1251,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; @@ -1137,18 +1316,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; @@ -1157,20 +1339,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 { @@ -1178,61 +1362,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); } @@ -1242,30 +1436,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; @@ -1277,9 +1474,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 d4c45a3b..ef439e15 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,85 +72,95 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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(); @@ -142,21 +169,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
          @@ -178,6 +209,7 @@ protected com.google.protobuf.MapField internalGetMapField(
              * 
          * * string image_version = 1; + * * @return The imageVersion. */ @java.lang.Override @@ -186,14 +218,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
          @@ -215,16 +248,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 { @@ -233,21 +265,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); @@ -259,6 +292,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,22 +312,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 java.lang.NullPointerException(); }
          +  public boolean containsAirflowConfigOverrides(java.lang.String key) {
          +    if (key == null) {
          +      throw new java.lang.NullPointerException();
          +    }
               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
          @@ -312,11 +347,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
          @@ -336,16 +372,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 java.lang.NullPointerException(); }
          +      java.lang.String key, java.lang.String defaultValue) {
          +    if (key == null) {
          +      throw new java.lang.NullPointerException();
          +    }
               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
          @@ -365,10 +403,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 java.lang.NullPointerException(); }
          +  public java.lang.String getAirflowConfigOverridesOrThrow(java.lang.String key) {
          +    if (key == null) {
          +      throw new java.lang.NullPointerException();
          +    }
               java.util.Map map =
                   internalGetAirflowConfigOverrides().getMap();
               if (!map.containsKey(key)) {
          @@ -378,21 +416,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);
          @@ -404,6 +443,8 @@ public int getPypiPackagesCount() {
               return internalGetPypiPackages().getMap().size();
             }
             /**
          +   *
          +   *
              * 
              * Optional. Custom Python Package Index (PyPI) packages to be installed in
              * the environment.
          @@ -416,22 +457,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 java.lang.NullPointerException(); }
          +  public boolean containsPypiPackages(java.lang.String key) {
          +    if (key == null) {
          +      throw new java.lang.NullPointerException();
          +    }
               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.
          @@ -445,11 +486,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.
          @@ -463,16 +505,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 java.lang.NullPointerException(); }
          -    java.util.Map map =
          -        internalGetPypiPackages().getMap();
          +      java.lang.String key, java.lang.String defaultValue) {
          +    if (key == null) {
          +      throw new java.lang.NullPointerException();
          +    }
          +    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.
          @@ -486,12 +529,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 java.lang.NullPointerException(); }
          -    java.util.Map map =
          -        internalGetPypiPackages().getMap();
          +  public java.lang.String getPypiPackagesOrThrow(java.lang.String key) {
          +    if (key == null) {
          +      throw new java.lang.NullPointerException();
          +    }
          +    java.util.Map map = internalGetPypiPackages().getMap();
               if (!map.containsKey(key)) {
                 throw new java.lang.IllegalArgumentException();
               }
          @@ -499,21 +541,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);
          @@ -525,6 +568,8 @@ public int getEnvVariablesCount() {
               return internalGetEnvVariables().getMap().size();
             }
             /**
          +   *
          +   *
              * 
              * Optional. Additional environment variables to provide to the Apache Airflow
              * scheduler, worker, and webserver processes.
          @@ -550,22 +595,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 java.lang.NullPointerException(); }
          +  public boolean containsEnvVariables(java.lang.String key) {
          +    if (key == null) {
          +      throw new java.lang.NullPointerException();
          +    }
               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.
          @@ -592,11 +637,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.
          @@ -623,16 +669,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 java.lang.NullPointerException(); }
          -    java.util.Map map =
          -        internalGetEnvVariables().getMap();
          +      java.lang.String key, java.lang.String defaultValue) {
          +    if (key == null) {
          +      throw new java.lang.NullPointerException();
          +    }
          +    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.
          @@ -659,12 +706,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 java.lang.NullPointerException(); }
          -    java.util.Map map =
          -        internalGetEnvVariables().getMap();
          +  public java.lang.String getEnvVariablesOrThrow(java.lang.String key) {
          +    if (key == null) {
          +      throw new java.lang.NullPointerException();
          +    }
          +    java.util.Map map = internalGetEnvVariables().getMap();
               if (!map.containsKey(key)) {
                 throw new java.lang.IllegalArgumentException();
               }
          @@ -674,6 +720,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.
          @@ -682,6 +730,7 @@ public java.lang.String getEnvVariablesOrThrow(
              * 
          * * string python_version = 6; + * * @return The pythonVersion. */ @java.lang.Override @@ -690,14 +739,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.
          @@ -706,16 +756,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 { @@ -724,6 +773,7 @@ public java.lang.String getPythonVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -735,29 +785,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 (!getImageVersionBytes().isEmpty()) { 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 (!getPythonVersionBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, pythonVersion_); } @@ -773,35 +813,35 @@ public int getSerializedSize() { if (!getImageVersionBytes().isEmpty()) { 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 (!getPythonVersionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, pythonVersion_); @@ -814,23 +854,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; } @@ -864,114 +901,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(); @@ -980,13 +1024,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(); @@ -995,16 +1038,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() @@ -1012,16 +1057,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(); @@ -1036,13 +1080,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(); } @@ -1057,7 +1102,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(); @@ -1075,56 +1121,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(); @@ -1148,7 +1196,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) { @@ -1157,10 +1207,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
          @@ -1182,13 +1235,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; @@ -1197,6 +1250,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
          @@ -1218,15 +1273,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 { @@ -1234,6 +1288,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
          @@ -1255,20 +1311,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
          @@ -1290,15 +1348,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
          @@ -1320,37 +1381,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(); @@ -1362,6 +1427,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,22 +1447,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 java.lang.NullPointerException(); }
          +    public boolean containsAirflowConfigOverrides(java.lang.String key) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
                 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
          @@ -1415,11 +1482,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
          @@ -1439,16 +1507,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 java.lang.NullPointerException(); }
          +        java.lang.String key, java.lang.String defaultValue) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
                 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
          @@ -1468,10 +1538,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 java.lang.NullPointerException(); }
          +    public java.lang.String getAirflowConfigOverridesOrThrow(java.lang.String key) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
                 java.util.Map map =
                     internalGetAirflowConfigOverrides().getMap();
                 if (!map.containsKey(key)) {
          @@ -1481,11 +1551,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,23 +1575,21 @@ public Builder clearAirflowConfigOverrides() {
                *
                * map<string, string> airflow_config_overrides = 2;
                */
          -
          -    public Builder removeAirflowConfigOverrides(
          -        java.lang.String key) {
          -      if (key == null) { throw new java.lang.NullPointerException(); }
          -      internalGetMutableAirflowConfigOverrides().getMutableMap()
          -          .remove(key);
          +    public Builder removeAirflowConfigOverrides(java.lang.String key) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      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,16 +1608,19 @@ 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 java.lang.NullPointerException(); }
          -      if (value == null) { throw new java.lang.NullPointerException(); }
          -      internalGetMutableAirflowConfigOverrides().getMutableMap()
          -          .put(key, value);
          +    public Builder putAirflowConfigOverrides(java.lang.String key, java.lang.String value) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      if (value == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      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
          @@ -1567,30 +1639,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();
          @@ -1602,6 +1674,8 @@ public int getPypiPackagesCount() {
                 return internalGetPypiPackages().getMap().size();
               }
               /**
          +     *
          +     *
                * 
                * Optional. Custom Python Package Index (PyPI) packages to be installed in
                * the environment.
          @@ -1614,22 +1688,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 java.lang.NullPointerException(); }
          +    public boolean containsPypiPackages(java.lang.String key) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
                 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.
          @@ -1643,11 +1717,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.
          @@ -1661,16 +1736,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 java.lang.NullPointerException(); }
          -      java.util.Map map =
          -          internalGetPypiPackages().getMap();
          +        java.lang.String key, java.lang.String defaultValue) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      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.
          @@ -1684,12 +1760,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 java.lang.NullPointerException(); }
          -      java.util.Map map =
          -          internalGetPypiPackages().getMap();
          +    public java.lang.String getPypiPackagesOrThrow(java.lang.String key) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      java.util.Map map = internalGetPypiPackages().getMap();
                 if (!map.containsKey(key)) {
                   throw new java.lang.IllegalArgumentException();
                 }
          @@ -1697,11 +1772,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.
          @@ -1714,23 +1790,21 @@ public Builder clearPypiPackages() {
                *
                * map<string, string> pypi_packages = 3;
                */
          -
          -    public Builder removePypiPackages(
          -        java.lang.String key) {
          -      if (key == null) { throw new java.lang.NullPointerException(); }
          -      internalGetMutablePypiPackages().getMutableMap()
          -          .remove(key);
          +    public Builder removePypiPackages(java.lang.String key) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      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.
          @@ -1743,16 +1817,19 @@ 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 java.lang.NullPointerException(); }
          -      if (value == null) { throw new java.lang.NullPointerException(); }
          -      internalGetMutablePypiPackages().getMutableMap()
          -          .put(key, value);
          +    public Builder putPypiPackages(java.lang.String key, java.lang.String value) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      if (value == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      internalGetMutablePypiPackages().getMutableMap().put(key, value);
                 return this;
               }
               /**
          +     *
          +     *
                * 
                * Optional. Custom Python Package Index (PyPI) packages to be installed in
                * the environment.
          @@ -1765,30 +1842,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();
          @@ -1800,6 +1876,8 @@ public int getEnvVariablesCount() {
                 return internalGetEnvVariables().getMap().size();
               }
               /**
          +     *
          +     *
                * 
                * Optional. Additional environment variables to provide to the Apache Airflow
                * scheduler, worker, and webserver processes.
          @@ -1825,22 +1903,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 java.lang.NullPointerException(); }
          +    public boolean containsEnvVariables(java.lang.String key) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
                 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.
          @@ -1867,11 +1945,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.
          @@ -1898,16 +1977,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 java.lang.NullPointerException(); }
          -      java.util.Map map =
          -          internalGetEnvVariables().getMap();
          +        java.lang.String key, java.lang.String defaultValue) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      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.
          @@ -1934,12 +2014,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 java.lang.NullPointerException(); }
          -      java.util.Map map =
          -          internalGetEnvVariables().getMap();
          +    public java.lang.String getEnvVariablesOrThrow(java.lang.String key) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      java.util.Map map = internalGetEnvVariables().getMap();
                 if (!map.containsKey(key)) {
                   throw new java.lang.IllegalArgumentException();
                 }
          @@ -1947,11 +2026,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.
          @@ -1977,23 +2057,21 @@ public Builder clearEnvVariables() {
                *
                * map<string, string> env_variables = 4;
                */
          -
          -    public Builder removeEnvVariables(
          -        java.lang.String key) {
          -      if (key == null) { throw new java.lang.NullPointerException(); }
          -      internalGetMutableEnvVariables().getMutableMap()
          -          .remove(key);
          +    public Builder removeEnvVariables(java.lang.String key) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      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.
          @@ -2019,16 +2097,19 @@ 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 java.lang.NullPointerException(); }
          -      if (value == null) { throw new java.lang.NullPointerException(); }
          -      internalGetMutableEnvVariables().getMutableMap()
          -          .put(key, value);
          +    public Builder putEnvVariables(java.lang.String key, java.lang.String value) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      if (value == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      internalGetMutableEnvVariables().getMutableMap().put(key, value);
                 return this;
               }
               /**
          +     *
          +     *
                * 
                * Optional. Additional environment variables to provide to the Apache Airflow
                * scheduler, worker, and webserver processes.
          @@ -2054,16 +2135,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.
          @@ -2072,13 +2152,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; @@ -2087,6 +2167,8 @@ public java.lang.String getPythonVersion() { } } /** + * + * *
                * Optional. The major version of Python used to run the Apache Airflow
                * scheduler, worker, and webserver processes.
          @@ -2095,15 +2177,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 { @@ -2111,6 +2192,8 @@ public java.lang.String getPythonVersion() { } } /** + * + * *
                * Optional. The major version of Python used to run the Apache Airflow
                * scheduler, worker, and webserver processes.
          @@ -2119,20 +2202,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.
          @@ -2141,15 +2226,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.
          @@ -2158,23 +2246,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); } @@ -2184,30 +2272,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; @@ -2219,9 +2309,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 34bd58ef..03201c71 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
          @@ -146,11 +170,11 @@ boolean containsAirflowConfigOverrides(
              *
              * map<string, string> airflow_config_overrides = 2;
              */
          -
             java.lang.String getAirflowConfigOverridesOrDefault(
          -      java.lang.String key,
          -      java.lang.String defaultValue);
          +      java.lang.String key, java.lang.String defaultValue);
             /**
          +   *
          +   *
              * 
              * Optional. Apache Airflow configuration properties to override.
              * Property keys contain the section and property names, separated by a
          @@ -169,11 +193,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.
          @@ -188,6 +212,8 @@ java.lang.String getAirflowConfigOverridesOrThrow(
              */
             int getPypiPackagesCount();
             /**
          +   *
          +   *
              * 
              * Optional. Custom Python Package Index (PyPI) packages to be installed in
              * the environment.
          @@ -200,15 +226,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.
          @@ -221,9 +245,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.
          @@ -236,11 +261,10 @@ boolean containsPypiPackages(
              *
              * map<string, string> pypi_packages = 3;
              */
          -
          -  java.lang.String getPypiPackagesOrDefault(
          -      java.lang.String key,
          -      java.lang.String defaultValue);
          +  java.lang.String getPypiPackagesOrDefault(java.lang.String key, java.lang.String defaultValue);
             /**
          +   *
          +   *
              * 
              * Optional. Custom Python Package Index (PyPI) packages to be installed in
              * the environment.
          @@ -253,11 +277,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.
          @@ -285,6 +309,8 @@ java.lang.String getPypiPackagesOrThrow(
              */
             int getEnvVariablesCount();
             /**
          +   *
          +   *
              * 
              * Optional. Additional environment variables to provide to the Apache Airflow
              * scheduler, worker, and webserver processes.
          @@ -310,15 +336,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.
          @@ -344,9 +368,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.
          @@ -372,11 +397,10 @@ boolean containsEnvVariables(
              *
              * map<string, string> env_variables = 4;
              */
          -
          -  java.lang.String getEnvVariablesOrDefault(
          -      java.lang.String key,
          -      java.lang.String defaultValue);
          +  java.lang.String getEnvVariablesOrDefault(java.lang.String key, java.lang.String defaultValue);
             /**
          +   *
          +   *
              * 
              * Optional. Additional environment variables to provide to the Apache Airflow
              * scheduler, worker, and webserver processes.
          @@ -402,11 +426,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.
          @@ -415,10 +439,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.
          @@ -427,8 +454,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 b84ae17b..d87eef1b 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,79 +70,93 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -134,30 +165,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 { @@ -168,12 +199,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 @@ -181,19 +215,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.
          @@ -202,13 +243,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.
          @@ -317,6 +361,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 @@ -324,6 +369,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
              * Required. A comma-separated list of paths, relative to `Environment`, of
              * fields to update.
          @@ -432,6 +479,7 @@ public boolean hasUpdateMask() {
              * 
          * * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ @java.lang.Override @@ -439,6 +487,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.
          @@ -554,6 +604,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
             }
           
             private byte memoizedIsInitialized = -1;
          +
             @java.lang.Override
             public final boolean isInitialized() {
               byte isInitialized = memoizedIsInitialized;
          @@ -565,8 +616,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());
               }
          @@ -586,15 +636,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 (!getNameBytes().isEmpty()) {
                 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;
          @@ -604,24 +652,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;
          @@ -649,135 +696,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(); @@ -799,19 +863,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); } @@ -819,8 +886,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_; @@ -840,46 +909,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(); @@ -905,11 +980,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) { @@ -921,19 +999,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; @@ -942,21 +1022,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 { @@ -964,57 +1045,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; @@ -1022,36 +1110,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.
          @@ -1059,7 +1160,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();
          @@ -1073,6 +1175,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.
          @@ -1092,6 +1196,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.
          @@ -1099,11 +1205,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;
                   }
          @@ -1115,6 +1224,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.
          @@ -1134,6 +1245,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.
          @@ -1141,12 +1254,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.
          @@ -1154,15 +1270,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.
          @@ -1171,14 +1291,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_;
          @@ -1186,8 +1309,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.
          @@ -1296,12 +1424,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.
          @@ -1410,16 +1541,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.
          @@ -1543,6 +1679,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.
          @@ -1652,8 +1790,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();
          @@ -1664,6 +1801,8 @@ public Builder setUpdateMask(
                 return this;
               }
               /**
          +     *
          +     *
                * 
                * Required. A comma-separated list of paths, relative to `Environment`, of
                * fields to update.
          @@ -1777,7 +1916,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;
                   }
          @@ -1789,6 +1928,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.
          @@ -1910,6 +2051,8 @@ public Builder clearUpdateMask() {
                 return this;
               }
               /**
          +     *
          +     *
                * 
                * Required. A comma-separated list of paths, relative to `Environment`, of
                * fields to update.
          @@ -2020,11 +2163,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.
          @@ -2138,11 +2283,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.
          @@ -2253,21 +2401,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);
               }
           
          @@ -2277,30 +2428,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;
          @@ -2312,9 +2466,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 0f5e0c03..973888fe 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,47 +70,52 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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
          @@ -104,6 +126,7 @@ private WebServerConfig(
              * 
          * * 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. Machine type on which Airflow web server is running.
              * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
          @@ -130,16 +154,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 { @@ -148,6 +171,7 @@ public java.lang.String getMachineType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -159,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getMachineTypeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, machineType_); } @@ -184,15 +207,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; } @@ -212,134 +235,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(); @@ -349,13 +383,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(); } @@ -370,7 +405,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; @@ -380,46 +416,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(); @@ -443,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.WebServerConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1.WebServerConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -455,6 +497,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
          @@ -465,13 +509,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; @@ -480,6 +524,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
          @@ -490,15 +536,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 { @@ -506,6 +551,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
          @@ -516,20 +563,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
          @@ -540,15 +589,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
          @@ -559,23 +611,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); } @@ -585,30 +637,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; @@ -620,9 +674,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 8d521ff2..c9453c58 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,29 +71,35 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { allowedIpRanges_ = java.util.Collections.unmodifiableList(allowedIpRanges_); @@ -85,24 +108,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.
          @@ -114,10 +144,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.
          @@ -129,47 +162,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_ = ""; @@ -177,16 +219,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) @@ -205,53 +246,61 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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.
          @@ -263,6 +312,7 @@ private AllowedIpRange(
                * 
          * * string value = 1; + * * @return The value. */ @java.lang.Override @@ -271,14 +321,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.
          @@ -290,16 +341,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 { @@ -310,11 +360,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 @@ -323,29 +376,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 { @@ -354,6 +407,7 @@ public java.lang.String getDescription() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -365,8 +419,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 (!getValueBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); } @@ -396,17 +449,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; } @@ -427,88 +485,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 @@ -518,44 +603,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(); @@ -567,19 +661,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); } @@ -587,8 +688,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(); @@ -599,46 +706,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(); @@ -662,11 +783,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) { @@ -678,6 +804,8 @@ public Builder mergeFrom( private java.lang.Object value_ = ""; /** + * + * *
                  * IP address or range, defined using CIDR notation, of requests that this
                  * rule applies to.
          @@ -689,13 +817,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; @@ -704,6 +832,8 @@ public java.lang.String getValue() { } } /** + * + * *
                  * IP address or range, defined using CIDR notation, of requests that this
                  * rule applies to.
          @@ -715,15 +845,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 { @@ -731,6 +860,8 @@ public java.lang.String getValue() { } } /** + * + * *
                  * IP address or range, defined using CIDR notation, of requests that this
                  * rule applies to.
          @@ -742,20 +873,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.
          @@ -767,15 +900,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.
          @@ -787,16 +923,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; @@ -804,18 +940,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; @@ -824,20 +962,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 { @@ -845,58 +984,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) { @@ -909,30 +1056,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; @@ -944,73 +1097,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; @@ -1022,8 +1209,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)); } @@ -1037,8 +1223,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; @@ -1048,15 +1233,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; } @@ -1077,136 +1264,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(); @@ -1220,19 +1426,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); } @@ -1240,8 +1449,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)) { @@ -1260,46 +1471,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()) { @@ -1318,9 +1537,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_); } @@ -1341,11 +1561,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) { @@ -1354,28 +1577,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 { @@ -1383,11 +1626,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) { @@ -1397,13 +1644,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 { @@ -1411,14 +1664,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(); @@ -1432,14 +1692,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()); @@ -1450,13 +1717,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(); @@ -1470,14 +1744,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(); @@ -1491,14 +1772,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()); @@ -1509,14 +1796,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()); @@ -1527,18 +1821,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); @@ -1546,11 +1847,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) { @@ -1563,11 +1868,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) { @@ -1580,39 +1889,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 { @@ -1620,45 +1947,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(), @@ -1667,9 +2028,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); } @@ -1679,30 +2040,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; @@ -1714,9 +2079,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 16671894..f944b7c5 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,53 +71,60 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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:
          @@ -108,6 +132,7 @@ private CheckUpgradeRequest(
              * 
          * * string environment = 1; + * * @return The environment. */ @java.lang.Override @@ -116,14 +141,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:
          @@ -131,16 +157,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 { @@ -151,6 +176,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
          @@ -172,6 +199,7 @@ public java.lang.String getEnvironment() {
              * 
          * * string image_version = 2; + * * @return The imageVersion. */ @java.lang.Override @@ -180,14 +208,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
          @@ -209,16 +238,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 { @@ -227,6 +255,7 @@ public java.lang.String getImageVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -238,8 +267,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 (!getEnvironmentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, environment_); } @@ -269,17 +297,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.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; } @@ -300,135 +328,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(); @@ -440,19 +485,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); } @@ -460,8 +508,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(); @@ -472,46 +522,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(); @@ -535,11 +591,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) { @@ -551,6 +610,8 @@ public Builder mergeFrom( private java.lang.Object environment_ = ""; /** + * + * *
                * The resource name of the environment to check upgrade for, in the
                * form:
          @@ -558,13 +619,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; @@ -573,6 +634,8 @@ public java.lang.String getEnvironment() { } } /** + * + * *
                * The resource name of the environment to check upgrade for, in the
                * form:
          @@ -580,15 +643,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 { @@ -596,6 +658,8 @@ public java.lang.String getEnvironment() { } } /** + * + * *
                * The resource name of the environment to check upgrade for, in the
                * form:
          @@ -603,20 +667,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:
          @@ -624,15 +690,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:
          @@ -640,16 +709,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; @@ -657,6 +726,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
          @@ -678,13 +749,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; @@ -693,6 +764,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
          @@ -714,15 +787,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 { @@ -730,6 +802,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
          @@ -751,20 +825,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
          @@ -786,15 +862,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
          @@ -816,23 +895,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); } @@ -842,30 +921,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; @@ -877,9 +959,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 964cab97..6687403a 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,97 +75,111 @@ 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) {
                 throw e.setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(
          -          e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -  public static final com.google.protobuf.Descriptors.Descriptor
          -      getDescriptor() {
          -    return com.google.cloud.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.
                * 
          @@ -157,6 +188,8 @@ public enum ConflictResult */ CONFLICT_RESULT_UNSPECIFIED(0), /** + * + * *
                * There were python packages conflicts.
                * 
          @@ -165,6 +198,8 @@ public enum ConflictResult */ CONFLICT(1), /** + * + * *
                * There were no python packages conflicts.
                * 
          @@ -176,6 +211,8 @@ public enum ConflictResult ; /** + * + * *
                * It is unknown whether build had conflicts or not.
                * 
          @@ -184,6 +221,8 @@ public enum ConflictResult */ public static final int CONFLICT_RESULT_UNSPECIFIED_VALUE = 0; /** + * + * *
                * There were python packages conflicts.
                * 
          @@ -192,6 +231,8 @@ public enum ConflictResult */ public static final int CONFLICT_VALUE = 1; /** + * + * *
                * There were no python packages conflicts.
                * 
          @@ -200,7 +241,6 @@ public enum ConflictResult */ public static final int NO_CONFLICT_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -225,49 +265,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; @@ -287,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 @@ -300,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 { @@ -333,39 +379,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 @@ -374,30 +443,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 { @@ -408,11 +478,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 @@ -421,29 +494,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 { @@ -452,21 +525,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); @@ -478,6 +552,8 @@ public int getPypiDependenciesCount() { return internalGetPypiDependencies().getMap().size(); } /** + * + * *
              * Pypi dependencies specified in the environment configuration, at the time
              * when the build was triggered.
          @@ -485,22 +561,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 java.lang.NullPointerException(); }
          +  public boolean containsPypiDependencies(java.lang.String key) {
          +    if (key == null) {
          +      throw new java.lang.NullPointerException();
          +    }
               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.
          @@ -509,11 +585,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.
          @@ -522,16 +599,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 java.lang.NullPointerException(); }
          -    java.util.Map map =
          -        internalGetPypiDependencies().getMap();
          +      java.lang.String key, java.lang.String defaultValue) {
          +    if (key == null) {
          +      throw new java.lang.NullPointerException();
          +    }
          +    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.
          @@ -540,12 +618,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 java.lang.NullPointerException(); }
          -    java.util.Map map =
          -        internalGetPypiDependencies().getMap();
          +  public java.lang.String getPypiDependenciesOrThrow(java.lang.String key) {
          +    if (key == null) {
          +      throw new java.lang.NullPointerException();
          +    }
          +    java.util.Map map = internalGetPypiDependencies().getMap();
               if (!map.containsKey(key)) {
                 throw new java.lang.IllegalArgumentException();
               }
          @@ -553,6 +630,7 @@ public java.lang.String getPypiDependenciesOrThrow(
             }
           
             private byte memoizedIsInitialized = -1;
          +
             @java.lang.Override
             public final boolean isInitialized() {
               byte isInitialized = memoizedIsInitialized;
          @@ -564,26 +642,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 (!getBuildLogUriBytes().isEmpty()) {
                 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, buildLogUri_);
               }
               if (!getPypiConflictBuildLogExtractBytes().isEmpty()) {
                 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 (!getImageVersionBytes().isEmpty()) {
                 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);
             }
           
          @@ -597,24 +673,28 @@ public int getSerializedSize() {
                 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, buildLogUri_);
               }
               if (!getPypiConflictBuildLogExtractBytes().isEmpty()) {
          -      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 (!getImageVersionBytes().isEmpty()) {
                 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;
          @@ -624,22 +704,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;
             }
          @@ -668,97 +747,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.
          @@ -766,60 +859,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();
          @@ -836,19 +930,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);
                 }
          @@ -856,8 +953,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_;
          @@ -873,46 +972,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();
          @@ -928,8 +1033,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;
          @@ -945,11 +1049,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) {
          @@ -958,22 +1065,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; @@ -982,20 +1092,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 { @@ -1003,54 +1114,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; @@ -1058,73 +1176,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; @@ -1132,19 +1286,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; @@ -1153,21 +1311,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 { @@ -1175,57 +1336,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; @@ -1233,18 +1407,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; @@ -1253,20 +1429,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 { @@ -1274,75 +1451,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(); @@ -1354,6 +1541,8 @@ public int getPypiDependenciesCount() { return internalGetPypiDependencies().getMap().size(); } /** + * + * *
                * Pypi dependencies specified in the environment configuration, at the time
                * when the build was triggered.
          @@ -1361,22 +1550,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 java.lang.NullPointerException(); }
          +    public boolean containsPypiDependencies(java.lang.String key) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
                 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.
          @@ -1385,11 +1574,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.
          @@ -1398,16 +1588,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 java.lang.NullPointerException(); }
          +        java.lang.String key, java.lang.String defaultValue) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
                 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.
          @@ -1416,10 +1608,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 java.lang.NullPointerException(); }
          +    public java.lang.String getPypiDependenciesOrThrow(java.lang.String key) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
                 java.util.Map map =
                     internalGetPypiDependencies().getMap();
                 if (!map.containsKey(key)) {
          @@ -1429,11 +1621,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.
          @@ -1441,23 +1634,21 @@ public Builder clearPypiDependencies() {
                *
                * map<string, string> pypi_dependencies = 6;
                */
          -
          -    public Builder removePypiDependencies(
          -        java.lang.String key) {
          -      if (key == null) { throw new java.lang.NullPointerException(); }
          -      internalGetMutablePypiDependencies().getMutableMap()
          -          .remove(key);
          +    public Builder removePypiDependencies(java.lang.String key) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      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.
          @@ -1465,16 +1656,19 @@ 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 java.lang.NullPointerException(); }
          -      if (value == null) { throw new java.lang.NullPointerException(); }
          -      internalGetMutablePypiDependencies().getMutableMap()
          -          .put(key, value);
          +    public Builder putPypiDependencies(java.lang.String key, java.lang.String value) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      if (value == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      internalGetMutablePypiDependencies().getMutableMap().put(key, value);
                 return this;
               }
               /**
          +     *
          +     *
                * 
                * Pypi dependencies specified in the environment configuration, at the time
                * when the build was triggered.
          @@ -1482,16 +1676,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);
               }
           
          @@ -1501,30 +1693,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;
          @@ -1536,9 +1731,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 2876748a..745457ec 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.
          @@ -131,11 +178,11 @@ boolean containsPypiDependencies(
              *
              * map<string, string> pypi_dependencies = 6;
              */
          -
             java.lang.String getPypiDependenciesOrDefault(
          -      java.lang.String key,
          -      java.lang.String defaultValue);
          +      java.lang.String key, java.lang.String defaultValue);
             /**
          +   *
          +   *
              * 
              * Pypi dependencies specified in the environment configuration, at the time
              * when the build was triggered.
          @@ -143,7 +190,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 f06fa77c..fd59c191 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,66 +70,78 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -121,30 +150,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 { @@ -155,11 +184,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 @@ -167,18 +199,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.
              * 
          @@ -186,11 +225,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; @@ -202,8 +243,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -223,8 +263,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; @@ -234,19 +273,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; @@ -270,135 +310,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(); @@ -414,19 +472,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); } @@ -434,8 +495,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_; @@ -450,46 +513,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(); @@ -512,11 +583,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) { @@ -528,19 +602,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; @@ -549,21 +625,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 { @@ -571,57 +648,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; @@ -629,41 +713,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(); @@ -677,6 +776,8 @@ public Builder setEnvironment(com.google.cloud.orchestration.airflow.service.v1b return this; } /** + * + * *
                * The environment to create.
                * 
          @@ -684,7 +785,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(); @@ -695,17 +797,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; } @@ -717,6 +825,8 @@ public Builder mergeEnvironment(com.google.cloud.orchestration.airflow.service.v return this; } /** + * + * *
                * The environment to create.
                * 
          @@ -735,33 +845,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.
                * 
          @@ -769,21 +889,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); } @@ -793,30 +916,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; @@ -828,9 +955,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 a55dc828..38a96ee7 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,47 +71,52 @@ 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) {
                 throw e.setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(
          -          e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -  public static final com.google.protobuf.Descriptors.Descriptor
          -      getDescriptor() {
          -    return com.google.cloud.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
          @@ -102,6 +124,7 @@ private DatabaseConfig(
              * 
          * * string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The machineType. */ @java.lang.Override @@ -110,14 +133,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
          @@ -125,16 +149,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 { @@ -143,6 +166,7 @@ public java.lang.String getMachineType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,8 +178,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getMachineTypeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, machineType_); } @@ -179,15 +202,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -207,96 +230,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.
          @@ -304,38 +336,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();
          @@ -345,14 +379,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
          @@ -366,7 +402,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;
          @@ -376,46 +413,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();
          @@ -439,7 +481,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) {
          @@ -451,6 +495,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
          @@ -458,13 +504,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; @@ -473,6 +519,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
          @@ -480,15 +528,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 { @@ -496,6 +543,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
          @@ -503,20 +552,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
          @@ -524,15 +575,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
          @@ -540,23 +594,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); } @@ -566,30 +620,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; @@ -601,9 +657,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 2903698b..5a548c5d 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,53 +70,60 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -108,30 +132,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 { @@ -140,6 +164,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +176,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +200,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; } @@ -203,135 +229,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(); @@ -341,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_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); } @@ -361,8 +408,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; @@ -372,46 +421,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(); @@ -431,11 +488,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) { @@ -447,19 +507,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; @@ -468,21 +530,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 { @@ -490,64 +553,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); } @@ -557,30 +627,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; @@ -592,9 +666,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 65% 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 06522bf7..231330dd 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,47 +71,52 @@ 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) {
                 throw e.setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(
          -          e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -  public static final com.google.protobuf.Descriptors.Descriptor
          -      getDescriptor() {
          -    return com.google.cloud.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.
          @@ -102,6 +124,7 @@ private EncryptionConfig(
              * 
          * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The kmsKeyName. */ @java.lang.Override @@ -110,14 +133,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.
          @@ -125,16 +149,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 { @@ -143,6 +166,7 @@ public java.lang.String getKmsKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,8 +178,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getKmsKeyNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kmsKeyName_); } @@ -179,15 +202,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -207,96 +230,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.
          @@ -304,38 +336,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();
          @@ -345,19 +380,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);
                 }
          @@ -366,7 +404,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;
          @@ -376,46 +415,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();
          @@ -439,7 +484,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) {
          @@ -451,6 +498,8 @@ public Builder mergeFrom(
           
               private java.lang.Object kmsKeyName_ = "";
               /**
          +     *
          +     *
                * 
                * Optional. Customer-managed Encryption Key available through Google's Key Management
                * Service. Cannot be updated.
          @@ -458,13 +507,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; @@ -473,6 +522,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
                * Optional. Customer-managed Encryption Key available through Google's Key Management
                * Service. Cannot be updated.
          @@ -480,15 +531,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 { @@ -496,6 +546,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
                * Optional. Customer-managed Encryption Key available through Google's Key Management
                * Service. Cannot be updated.
          @@ -503,20 +555,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.
          @@ -524,15 +578,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.
          @@ -540,23 +597,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); } @@ -566,30 +623,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; @@ -601,9 +661,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 38535421..49455b45 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,130 +73,147 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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.
                * 
          @@ -188,6 +222,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
                * The environment is in the process of being created.
                * 
          @@ -196,6 +232,8 @@ public enum State */ CREATING(1), /** + * + * *
                * The environment is currently running and healthy. It is ready for use.
                * 
          @@ -204,6 +242,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.
          @@ -213,6 +253,8 @@ public enum State
                */
               UPDATING(3),
               /**
          +     *
          +     *
                * 
                * The environment is undergoing deletion. It cannot be used.
                * 
          @@ -221,6 +263,8 @@ public enum State */ DELETING(4), /** + * + * *
                * The environment has encountered an error and cannot be used.
                * 
          @@ -232,6 +276,8 @@ public enum State ; /** + * + * *
                * The state of the environment is unknown.
                * 
          @@ -240,6 +286,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
                * The environment is in the process of being created.
                * 
          @@ -248,6 +296,8 @@ public enum State */ public static final int CREATING_VALUE = 1; /** + * + * *
                * The environment is currently running and healthy. It is ready for use.
                * 
          @@ -256,6 +306,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.
          @@ -265,6 +317,8 @@ public enum State
                */
               public static final int UPDATING_VALUE = 3;
               /**
          +     *
          +     *
                * 
                * The environment is undergoing deletion. It cannot be used.
                * 
          @@ -273,6 +327,8 @@ public enum State */ public static final int DELETING_VALUE = 4; /** + * + * *
                * The environment has encountered an error and cannot be used.
                * 
          @@ -281,7 +337,6 @@ public enum State */ public static final int ERROR_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -306,52 +361,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; @@ -371,6 +431,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}"
          @@ -379,6 +441,7 @@ private State(int value) {
              * 
          * * string name = 1; + * * @return The name. */ @java.lang.Override @@ -387,14 +450,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}"
          @@ -403,16 +467,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 { @@ -423,11 +486,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 @@ -435,18 +501,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.
              * 
          @@ -454,19 +528,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 @@ -475,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 [(.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 { @@ -509,38 +587,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 @@ -548,11 +641,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 @@ -560,11 +657,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() { @@ -574,11 +674,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 @@ -586,11 +690,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 @@ -598,11 +706,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() { @@ -610,24 +721,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_; } @@ -636,6 +746,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
          @@ -648,22 +760,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 java.lang.NullPointerException(); }
          +  public boolean containsLabels(java.lang.String key) {
          +    if (key == null) {
          +      throw new java.lang.NullPointerException();
          +    }
               return internalGetLabels().getMap().containsKey(key);
             }
          -  /**
          -   * Use {@link #getLabelsMap()} instead.
          -   */
          +  /** Use {@link #getLabelsMap()} instead. */
             @java.lang.Override
             @java.lang.Deprecated
             public java.util.Map getLabels() {
               return getLabelsMap();
             }
             /**
          +   *
          +   *
              * 
              * Optional. User-defined labels for this environment.
              * The labels map can contain no more than 64 entries. Entries of the labels
          @@ -677,11 +789,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
          @@ -695,16 +808,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 java.lang.NullPointerException(); }
          -    java.util.Map map =
          -        internalGetLabels().getMap();
          +  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
          +    if (key == null) {
          +      throw new java.lang.NullPointerException();
          +    }
          +    java.util.Map map = internalGetLabels().getMap();
               return map.containsKey(key) ? map.get(key) : defaultValue;
             }
             /**
          +   *
          +   *
              * 
              * Optional. User-defined labels for this environment.
              * The labels map can contain no more than 64 entries. Entries of the labels
          @@ -718,12 +831,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 java.lang.NullPointerException(); }
          -    java.util.Map map =
          -        internalGetLabels().getMap();
          +  public java.lang.String getLabelsOrThrow(java.lang.String key) {
          +    if (key == null) {
          +      throw new java.lang.NullPointerException();
          +    }
          +    java.util.Map map = internalGetLabels().getMap();
               if (!map.containsKey(key)) {
                 throw new java.lang.IllegalArgumentException();
               }
          @@ -731,6 +843,7 @@ public java.lang.String getLabelsOrThrow(
             }
           
             private byte memoizedIsInitialized = -1;
          +
             @java.lang.Override
             public final boolean isInitialized() {
               byte isInitialized = memoizedIsInitialized;
          @@ -742,8 +855,7 @@ public final boolean isInitialized() {
             }
           
             @java.lang.Override
          -  public void writeTo(com.google.protobuf.CodedOutputStream output)
          -                      throws java.io.IOException {
          +  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
               if (!getNameBytes().isEmpty()) {
                 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
               }
          @@ -753,7 +865,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
               if (!getUuidBytes().isEmpty()) {
                 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) {
          @@ -762,12 +877,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);
             }
           
          @@ -781,33 +892,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 (!getUuidBytes().isEmpty()) {
                 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;
          @@ -817,35 +927,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;
             }
          @@ -885,156 +990,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(); @@ -1067,14 +1181,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 @@ -1088,7 +1204,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) { @@ -1118,46 +1235,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(); @@ -1178,8 +1300,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; @@ -1199,7 +1320,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) { @@ -1208,10 +1331,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}"
          @@ -1220,13 +1346,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; @@ -1235,6 +1361,8 @@ public java.lang.String getName() { } } /** + * + * *
                * The resource name of the environment, in the form:
                * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          @@ -1243,15 +1371,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 { @@ -1259,6 +1386,8 @@ public java.lang.String getName() { } } /** + * + * *
                * The resource name of the environment, in the form:
                * "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
          @@ -1267,20 +1396,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}"
          @@ -1289,15 +1420,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}"
          @@ -1306,16 +1440,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; @@ -1323,41 +1457,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(); @@ -1371,14 +1523,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(); @@ -1389,17 +1545,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; } @@ -1411,11 +1574,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) { @@ -1429,48 +1595,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_; @@ -1478,19 +1660,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; @@ -1499,21 +1683,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 { @@ -1521,57 +1706,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; @@ -1579,73 +1771,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; @@ -1653,39 +1865,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) { @@ -1701,14 +1932,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(); @@ -1719,17 +1953,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; } @@ -1741,11 +1979,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) { @@ -1759,48 +2001,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_; @@ -1808,39 +2066,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) { @@ -1856,14 +2133,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(); @@ -1874,17 +2154,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; } @@ -1896,11 +2180,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) { @@ -1914,69 +2202,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(); @@ -1988,6 +2291,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
          @@ -2000,22 +2305,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 java.lang.NullPointerException(); }
          +    public boolean containsLabels(java.lang.String key) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
                 return internalGetLabels().getMap().containsKey(key);
               }
          -    /**
          -     * Use {@link #getLabelsMap()} instead.
          -     */
          +    /** Use {@link #getLabelsMap()} instead. */
               @java.lang.Override
               @java.lang.Deprecated
               public java.util.Map getLabels() {
                 return getLabelsMap();
               }
               /**
          +     *
          +     *
                * 
                * Optional. User-defined labels for this environment.
                * The labels map can contain no more than 64 entries. Entries of the labels
          @@ -2029,11 +2334,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
          @@ -2047,16 +2353,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 java.lang.NullPointerException(); }
          -      java.util.Map map =
          -          internalGetLabels().getMap();
          +        java.lang.String key, java.lang.String defaultValue) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      java.util.Map map = internalGetLabels().getMap();
                 return map.containsKey(key) ? map.get(key) : defaultValue;
               }
               /**
          +     *
          +     *
                * 
                * Optional. User-defined labels for this environment.
                * The labels map can contain no more than 64 entries. Entries of the labels
          @@ -2070,12 +2377,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 java.lang.NullPointerException(); }
          -      java.util.Map map =
          -          internalGetLabels().getMap();
          +    public java.lang.String getLabelsOrThrow(java.lang.String key) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      java.util.Map map = internalGetLabels().getMap();
                 if (!map.containsKey(key)) {
                   throw new java.lang.IllegalArgumentException();
                 }
          @@ -2083,11 +2389,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
          @@ -2100,23 +2407,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 java.lang.NullPointerException(); }
          -      internalGetMutableLabels().getMutableMap()
          -          .remove(key);
          +    public Builder removeLabels(java.lang.String key) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      internalGetMutableLabels().getMutableMap().remove(key);
                 return this;
               }
          -    /**
          -     * Use alternate mutation accessors instead.
          -     */
          +    /** Use alternate mutation accessors instead. */
               @java.lang.Deprecated
          -    public java.util.Map
          -    getMutableLabels() {
          +    public java.util.Map getMutableLabels() {
                 return internalGetMutableLabels().getMutableMap();
               }
               /**
          +     *
          +     *
                * 
                * Optional. User-defined labels for this environment.
                * The labels map can contain no more than 64 entries. Entries of the labels
          @@ -2129,16 +2434,19 @@ 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 java.lang.NullPointerException(); }
          -      if (value == null) { throw new java.lang.NullPointerException(); }
          -      internalGetMutableLabels().getMutableMap()
          -          .put(key, value);
          +    public Builder putLabels(java.lang.String key, java.lang.String value) {
          +      if (key == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      if (value == null) {
          +        throw new java.lang.NullPointerException();
          +      }
          +      internalGetMutableLabels().getMutableMap().put(key, value);
                 return this;
               }
               /**
          +     *
          +     *
                * 
                * Optional. User-defined labels for this environment.
                * The labels map can contain no more than 64 entries. Entries of the labels
          @@ -2151,16 +2459,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);
               }
           
          @@ -2170,30 +2475,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;
          @@ -2205,9 +2512,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 76ac8b34..74b2f256 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,194 +73,259 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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.
                * 
          @@ -252,6 +334,8 @@ public enum EnvironmentSize */ ENVIRONMENT_SIZE_UNSPECIFIED(0), /** + * + * *
                * The environment size is small.
                * 
          @@ -260,6 +344,8 @@ public enum EnvironmentSize */ ENVIRONMENT_SIZE_SMALL(1), /** + * + * *
                * The environment size is medium.
                * 
          @@ -268,6 +354,8 @@ public enum EnvironmentSize */ ENVIRONMENT_SIZE_MEDIUM(2), /** + * + * *
                * The environment size is large.
                * 
          @@ -279,6 +367,8 @@ public enum EnvironmentSize ; /** + * + * *
                * The size of the environment is unspecified.
                * 
          @@ -287,6 +377,8 @@ public enum EnvironmentSize */ public static final int ENVIRONMENT_SIZE_UNSPECIFIED_VALUE = 0; /** + * + * *
                * The environment size is small.
                * 
          @@ -295,6 +387,8 @@ public enum EnvironmentSize */ public static final int ENVIRONMENT_SIZE_SMALL_VALUE = 1; /** + * + * *
                * The environment size is medium.
                * 
          @@ -303,6 +397,8 @@ public enum EnvironmentSize */ public static final int ENVIRONMENT_SIZE_MEDIUM_VALUE = 2; /** + * + * *
                * The environment size is large.
                * 
          @@ -311,7 +407,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( @@ -336,41 +431,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(); @@ -378,8 +480,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; @@ -399,11 +500,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 @@ -412,29 +516,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 { @@ -445,6 +549,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
          @@ -453,6 +559,7 @@ public java.lang.String getGkeCluster() {
              * 
          * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The dagGcsPrefix. */ @java.lang.Override @@ -461,14 +568,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
          @@ -477,16 +585,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 { @@ -497,12 +604,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 @@ -513,11 +623,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 @@ -525,37 +639,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 @@ -563,18 +690,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.
              * 
          @@ -582,18 +716,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 @@ -601,38 +742,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 @@ -640,40 +801,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 @@ -681,39 +862,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 @@ -721,32 +919,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
          @@ -754,6 +968,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 @@ -762,14 +977,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
          @@ -777,16 +993,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 { @@ -797,12 +1012,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 @@ -810,34 +1030,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
          @@ -852,7 +1089,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 @@ -860,6 +1100,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
          @@ -874,14 +1116,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
          @@ -896,16 +1147,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
          @@ -914,7 +1170,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 @@ -922,6 +1181,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
          @@ -930,14 +1191,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
          @@ -946,45 +1216,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; @@ -996,8 +1289,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 (!getGkeClusterBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, gkeCluster_); } @@ -1037,7 +1329,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); @@ -1056,51 +1351,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 (!getAirflowUriBytes().isEmpty()) { 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; @@ -1110,65 +1401,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; @@ -1234,134 +1516,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(); @@ -1433,19 +1727,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); } @@ -1454,7 +1751,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_; @@ -1513,46 +1811,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(); @@ -1617,7 +1921,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) { @@ -1629,18 +1935,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; @@ -1649,20 +1957,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 { @@ -1670,54 +1979,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; @@ -1725,6 +2041,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
          @@ -1733,13 +2051,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; @@ -1748,6 +2066,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
          @@ -1756,15 +2076,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 { @@ -1772,6 +2091,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
          @@ -1780,20 +2101,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
          @@ -1802,15 +2125,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
          @@ -1819,29 +2145,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 @@ -1849,32 +2178,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; @@ -1882,41 +2217,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(); @@ -1930,14 +2284,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(); @@ -1948,17 +2306,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; } @@ -1970,11 +2335,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) { @@ -1988,48 +2356,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_; @@ -2037,41 +2421,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(); @@ -2085,6 +2483,8 @@ public Builder setNodeConfig(com.google.cloud.orchestration.airflow.service.v1be return this; } /** + * + * *
                * The configuration used for the Kubernetes Engine cluster.
                * 
          @@ -2103,17 +2503,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; } @@ -2125,6 +2531,8 @@ public Builder mergeNodeConfig(com.google.cloud.orchestration.airflow.service.v1 return this; } /** + * + * *
                * The configuration used for the Kubernetes Engine cluster.
                * 
          @@ -2143,33 +2551,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.
                * 
          @@ -2177,56 +2594,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(); @@ -2240,14 +2684,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(); @@ -2258,17 +2707,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; } @@ -2280,11 +2737,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) { @@ -2298,93 +2759,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(); @@ -2398,15 +2908,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(); @@ -2417,18 +2932,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; } @@ -2440,12 +2964,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) { @@ -2459,51 +2987,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_; @@ -2511,44 +3065,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(); @@ -2562,15 +3138,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(); @@ -2581,18 +3162,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; } @@ -2604,12 +3193,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) { @@ -2623,51 +3216,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_; @@ -2675,41 +3287,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(); @@ -2723,14 +3357,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(); @@ -2741,17 +3380,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; } @@ -2763,11 +3410,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) { @@ -2781,48 +3432,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_; @@ -2830,6 +3500,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
          @@ -2837,13 +3509,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; @@ -2852,6 +3524,8 @@ public java.lang.String getAirflowUri() { } } /** + * + * *
                * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
                * [Airflow web
          @@ -2859,15 +3533,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 { @@ -2875,6 +3548,8 @@ public java.lang.String getAirflowUri() { } } /** + * + * *
                * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
                * [Airflow web
          @@ -2882,20 +3557,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
          @@ -2903,15 +3580,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
          @@ -2919,61 +3599,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(); @@ -2987,15 +3690,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(); @@ -3006,18 +3714,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; } @@ -3029,12 +3745,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) { @@ -3048,60 +3768,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
          @@ -3116,13 +3861,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
          @@ -3137,17 +3887,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
          @@ -3162,9 +3921,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(); @@ -3178,6 +3940,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
          @@ -3192,10 +3956,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(); @@ -3206,6 +3973,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
          @@ -3220,13 +3989,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; } @@ -3238,6 +4013,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
          @@ -3252,7 +4029,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) { @@ -3266,6 +4045,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
          @@ -3280,14 +4061,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
          @@ -3302,17 +4088,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
          @@ -3327,17 +4120,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_; @@ -3345,8 +4143,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
          @@ -3355,13 +4158,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
          @@ -3370,17 +4178,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
          @@ -3389,9 +4206,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(); @@ -3405,6 +4225,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
          @@ -3413,10 +4235,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(); @@ -3427,6 +4252,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
          @@ -3435,13 +4262,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; } @@ -3453,6 +4286,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
          @@ -3461,7 +4296,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) { @@ -3475,6 +4312,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
          @@ -3483,14 +4322,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
          @@ -3499,17 +4343,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
          @@ -3518,17 +4369,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_; @@ -3536,90 +4392,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); } @@ -3629,30 +4520,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; @@ -3664,9 +4558,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 81% 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 f57ee89a..fb66b304 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
          @@ -218,11 +284,10 @@ boolean containsLabels(
              *
              * map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
              */
          -
          -  java.lang.String getLabelsOrDefault(
          -      java.lang.String key,
          -      java.lang.String defaultValue);
          +  java.lang.String getLabelsOrDefault(java.lang.String key, 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
          @@ -235,7 +300,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 feb428d9..2ee70e4e 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,53 +70,60 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -108,30 +132,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 { @@ -140,6 +164,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +176,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +200,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; } @@ -203,135 +228,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(); @@ -341,19 +383,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); } @@ -361,8 +406,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; @@ -372,46 +419,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(); @@ -431,11 +484,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) { @@ -447,19 +503,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; @@ -468,21 +526,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 { @@ -490,64 +549,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); } @@ -557,30 +623,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; @@ -592,9 +661,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 47d8083d..20b92e03 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,76 +74,86 @@ 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) {
                 throw e.setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(
          -          e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -  public static final com.google.protobuf.Descriptors.Descriptor
          -      getDescriptor() {
          -    return com.google.cloud.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 @@ -137,6 +164,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`
          @@ -145,6 +174,7 @@ public boolean getUseIpAliases() {
              * 
          * * string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The clusterSecondaryRangeName. */ @java.lang.Override @@ -153,14 +183,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`
          @@ -169,16 +200,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 { @@ -189,6 +219,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`
          @@ -196,7 +228,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 @@ -205,14 +239,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`
          @@ -220,17 +255,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 { @@ -241,6 +276,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.
          @@ -258,6 +295,7 @@ public java.lang.String getServicesSecondaryRangeName() {
              * 
          * * string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The clusterIpv4CidrBlock. */ @java.lang.Override @@ -266,14 +304,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.
          @@ -291,16 +330,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 { @@ -311,6 +349,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.
          @@ -328,6 +368,7 @@ public java.lang.String getClusterIpv4CidrBlock() {
              * 
          * * string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The servicesIpv4CidrBlock. */ @java.lang.Override @@ -336,14 +377,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.
          @@ -361,16 +403,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 { @@ -379,6 +420,7 @@ public java.lang.String getServicesIpv4CidrBlock() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -390,8 +432,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_); } @@ -417,14 +458,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 (!getClusterSecondaryRangeNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterSecondaryRangeName_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterSecondaryRangeName_); } if (!getServicesSecondaryRangeNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, servicesSecondaryRangeName_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(3, servicesSecondaryRangeName_); } if (!getClusterIpv4CidrBlockBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, clusterIpv4CidrBlock_); @@ -440,23 +482,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; } @@ -469,8 +509,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; @@ -485,96 +524,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.
          @@ -582,38 +630,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();
          @@ -631,19 +682,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);
                 }
          @@ -651,8 +705,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_;
          @@ -666,46 +722,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());
                 }
          @@ -740,11 +802,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) {
          @@ -754,14 +819,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 @@ -769,32 +837,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; @@ -802,6 +876,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`
          @@ -809,14 +885,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; @@ -825,6 +902,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`
          @@ -832,16 +911,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 { @@ -849,6 +928,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`
          @@ -856,21 +937,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`
          @@ -878,16 +962,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`
          @@ -895,17 +983,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; @@ -913,6 +1002,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`
          @@ -920,14 +1011,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; @@ -936,6 +1028,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`
          @@ -943,16 +1037,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 { @@ -960,6 +1054,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`
          @@ -967,21 +1063,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`
          @@ -989,16 +1088,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`
          @@ -1006,17 +1109,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; @@ -1024,6 +1128,8 @@ public Builder setServicesSecondaryRangeNameBytes( private java.lang.Object clusterIpv4CidrBlock_ = ""; /** + * + * *
                * Optional. The IP address range used to allocate IP addresses to pods in
                * the cluster.
          @@ -1041,13 +1147,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; @@ -1056,6 +1162,8 @@ public java.lang.String getClusterIpv4CidrBlock() { } } /** + * + * *
                * Optional. The IP address range used to allocate IP addresses to pods in
                * the cluster.
          @@ -1073,15 +1181,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 { @@ -1089,6 +1196,8 @@ public java.lang.String getClusterIpv4CidrBlock() { } } /** + * + * *
                * Optional. The IP address range used to allocate IP addresses to pods in
                * the cluster.
          @@ -1106,20 +1215,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.
          @@ -1137,15 +1248,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.
          @@ -1163,16 +1277,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; @@ -1180,6 +1294,8 @@ public Builder setClusterIpv4CidrBlockBytes( private java.lang.Object servicesIpv4CidrBlock_ = ""; /** + * + * *
                * Optional. The IP address range of the services IP addresses in this
                * cluster.
          @@ -1197,13 +1313,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; @@ -1212,6 +1328,8 @@ public java.lang.String getServicesIpv4CidrBlock() { } } /** + * + * *
                * Optional. The IP address range of the services IP addresses in this
                * cluster.
          @@ -1229,15 +1347,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 { @@ -1245,6 +1362,8 @@ public java.lang.String getServicesIpv4CidrBlock() { } } /** + * + * *
                * Optional. The IP address range of the services IP addresses in this
                * cluster.
          @@ -1262,20 +1381,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.
          @@ -1293,15 +1414,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.
          @@ -1319,23 +1443,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); } @@ -1345,30 +1469,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; @@ -1380,9 +1507,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 71% 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 097515e6..a0dc7b5f 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,63 +72,65 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { supportedPythonVersions_ = supportedPythonVersions_.getUnmodifiableView(); @@ -120,28 +139,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 @@ -150,30 +175,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 { @@ -184,12 +209,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 @@ -200,34 +228,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. */ @@ -235,27 +271,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 @@ -263,11 +304,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 @@ -275,6 +319,8 @@ public com.google.type.Date getReleaseDate() { return releaseDate_ == null ? com.google.type.Date.getDefaultInstance() : releaseDate_; } /** + * + * *
              * The date of the version release.
              * 
          @@ -289,11 +335,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 @@ -304,12 +353,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 @@ -318,6 +370,7 @@ public boolean getUpgradeDisabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -329,8 +382,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 (!getImageVersionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, imageVersionId_); } @@ -338,7 +390,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()); @@ -362,8 +415,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; @@ -374,16 +426,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; @@ -393,28 +442,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; } @@ -429,8 +474,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(); @@ -440,145 +484,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(); @@ -602,14 +655,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 @@ -623,7 +678,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_; @@ -647,46 +703,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(); @@ -732,7 +793,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) { @@ -741,23 +804,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; @@ -766,21 +832,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 { @@ -788,70 +855,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 @@ -859,73 +936,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. */ @@ -933,80 +1027,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() { @@ -1016,20 +1120,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(); @@ -1038,24 +1144,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() { @@ -1066,6 +1179,8 @@ public com.google.type.Date getReleaseDate() { } } /** + * + * *
                * The date of the version release.
                * 
          @@ -1086,14 +1201,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(); @@ -1104,6 +1220,8 @@ public Builder setReleaseDate( return this; } /** + * + * *
                * The date of the version release.
                * 
          @@ -1114,7 +1232,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; } @@ -1126,6 +1244,8 @@ public Builder mergeReleaseDate(com.google.type.Date value) { return this; } /** + * + * *
                * The date of the version release.
                * 
          @@ -1144,6 +1264,8 @@ public Builder clearReleaseDate() { return this; } /** + * + * *
                * The date of the version release.
                * 
          @@ -1151,11 +1273,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.
                * 
          @@ -1166,11 +1290,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.
                * 
          @@ -1178,26 +1303,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 @@ -1205,43 +1332,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 @@ -1249,39 +1385,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); } @@ -1291,30 +1433,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; @@ -1326,9 +1470,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 22a66115..ad93bd23 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,64 +71,72 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -120,30 +145,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 { @@ -154,11 +179,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 @@ -169,11 +197,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 @@ -182,29 +213,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 { @@ -213,6 +244,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +256,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -248,8 +279,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!getPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -262,19 +292,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; } @@ -297,135 +327,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(); @@ -439,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_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); } @@ -459,8 +510,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_; @@ -472,46 +525,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(); @@ -538,11 +598,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) { @@ -554,19 +617,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; @@ -575,21 +640,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 { @@ -597,69 +663,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 @@ -667,30 +743,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; @@ -698,18 +780,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; @@ -718,20 +802,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 { @@ -739,61 +824,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); } @@ -803,30 +895,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; @@ -838,9 +934,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 aa723d0a..6ee68ed8 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,35 +72,40 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { environments_ = java.util.Collections.unmodifiableList(environments_); @@ -92,87 +114,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 @@ -181,29 +234,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 { @@ -212,6 +265,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,8 +277,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)); } @@ -241,8 +294,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 (!getNextPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -255,17 +307,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; } @@ -288,136 +341,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(); @@ -433,19 +505,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); } @@ -453,8 +528,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)) { @@ -474,46 +551,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()) { @@ -532,9 +617,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_); } @@ -559,11 +645,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) { @@ -572,28 +661,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 { @@ -601,11 +702,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) { @@ -615,13 +720,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 { @@ -629,11 +739,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) { @@ -650,14 +764,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()); @@ -668,13 +788,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(); @@ -688,11 +813,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) { @@ -709,14 +838,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()); @@ -727,14 +861,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()); @@ -745,18 +885,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); @@ -764,11 +909,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) { @@ -781,11 +930,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) { @@ -798,39 +951,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 { @@ -838,49 +1005,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_; @@ -888,18 +1077,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; @@ -908,20 +1099,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 { @@ -929,61 +1121,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); } @@ -993,30 +1192,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; @@ -1028,9 +1231,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 82f96141..e646afee 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,69 +71,77 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -125,30 +150,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 { @@ -159,11 +184,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 @@ -174,11 +202,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 @@ -187,29 +218,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 { @@ -220,11 +251,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 @@ -233,6 +267,7 @@ public boolean getIncludePastReleases() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,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 { if (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -271,15 +305,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!getPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (includePastReleases_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, includePastReleases_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, includePastReleases_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -289,21 +321,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; } @@ -322,142 +353,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(); @@ -473,19 +521,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); } @@ -493,8 +544,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_; @@ -507,46 +560,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(); @@ -576,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.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) { @@ -592,19 +656,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; @@ -613,21 +679,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 { @@ -635,69 +702,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 @@ -705,30 +782,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; @@ -736,18 +819,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; @@ -756,20 +841,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 { @@ -777,66 +863,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 @@ -844,37 +940,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); } @@ -884,30 +986,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; @@ -919,9 +1025,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 57% 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 edfbbc91..7b485db2 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,35 +73,40 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { imageVersions_ = java.util.Collections.unmodifiableList(imageVersions_); @@ -92,87 +115,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 @@ -181,29 +235,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 { @@ -212,6 +266,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,8 +278,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)); } @@ -241,8 +295,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 (!getNextPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -255,17 +308,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; } @@ -288,136 +342,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(); @@ -433,19 +507,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); } @@ -453,8 +531,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)) { @@ -474,46 +555,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()) { @@ -532,9 +621,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_); } @@ -559,11 +649,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) { @@ -572,28 +665,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 { @@ -601,11 +707,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) { @@ -615,13 +725,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 { @@ -629,11 +744,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) { @@ -650,14 +769,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()); @@ -668,13 +793,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(); @@ -688,11 +818,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) { @@ -709,14 +843,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()); @@ -727,14 +866,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()); @@ -745,18 +890,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); @@ -764,11 +914,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) { @@ -781,11 +935,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) { @@ -798,39 +956,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 { @@ -838,45 +1010,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(), @@ -888,18 +1085,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; @@ -908,20 +1107,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 { @@ -929,61 +1129,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); } @@ -993,30 +1200,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; @@ -1028,9 +1239,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 ab823c58..d69978e6 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:
          @@ -18,31 +35,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)
          @@ -61,78 +78,89 @@ 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) {
                 throw e.setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(
          -          e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -  public static final com.google.protobuf.Descriptors.Descriptor
          -      getDescriptor() {
          -    return com.google.cloud.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 @@ -140,11 +168,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 @@ -152,11 +184,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() { @@ -166,6 +201,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.
          @@ -173,6 +210,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 @@ -180,6 +218,8 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
              * Required. Maintenance window end time. It is used only to calculate the duration of
              * the maintenance window.
          @@ -187,6 +227,7 @@ public boolean hasEndTime() {
              * 
          * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The endTime. */ @java.lang.Override @@ -194,6 +235,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.
          @@ -210,6 +253,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
          @@ -218,6 +263,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
              * 
          * * string recurrence = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The recurrence. */ @java.lang.Override @@ -226,14 +272,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
          @@ -242,16 +289,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 { @@ -260,6 +306,7 @@ public java.lang.String getRecurrence() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -271,8 +318,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()); } @@ -292,12 +338,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 (!getRecurrenceBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, recurrence_); @@ -310,25 +354,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; } @@ -356,96 +399,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:
          @@ -460,38 +512,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();
          @@ -513,19 +568,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);
                 }
          @@ -534,7 +592,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 {
          @@ -554,46 +613,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());
                 }
          @@ -623,7 +688,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) {
          @@ -635,24 +702,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() { @@ -663,11 +741,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) { @@ -683,14 +764,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(); @@ -701,17 +784,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; } @@ -723,11 +809,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) { @@ -741,48 +830,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_; @@ -790,28 +890,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() { @@ -822,13 +933,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) { @@ -844,16 +958,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(); @@ -864,19 +980,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; } @@ -888,13 +1007,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) { @@ -908,54 +1030,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_; @@ -963,6 +1096,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
          @@ -971,13 +1106,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; @@ -986,6 +1121,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
          @@ -994,15 +1131,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 { @@ -1010,6 +1146,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
          @@ -1018,20 +1156,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
          @@ -1040,15 +1180,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
          @@ -1057,23 +1200,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); } @@ -1083,30 +1226,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; @@ -1118,9 +1264,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 e0893446..d0c7311a 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,91 +78,103 @@ 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) {
                 throw e.setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(
          -          e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
               } finally {
                 if (((mutable_bitField0_ & 0x00000001) != 0)) {
                   oauthScopes_ = oauthScopes_.getUnmodifiableView();
          @@ -157,22 +186,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
          @@ -190,6 +224,7 @@ private NodeConfig(
              * 
          * * string location = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The location. */ @java.lang.Override @@ -198,14 +233,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
          @@ -223,16 +259,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 { @@ -243,6 +278,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,
          @@ -265,6 +302,7 @@ public java.lang.String getLocation() {
              * 
          * * string machine_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The machineType. */ @java.lang.Override @@ -273,14 +311,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,
          @@ -303,16 +342,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 { @@ -323,6 +361,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
          @@ -337,6 +377,7 @@ public java.lang.String getMachineType() {
              * 
          * * string network = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The network. */ @java.lang.Override @@ -345,14 +386,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
          @@ -367,16 +409,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 { @@ -387,6 +428,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
          @@ -399,6 +442,7 @@ public java.lang.String getNetwork() {
              * 
          * * string subnetwork = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The subnetwork. */ @java.lang.Override @@ -407,14 +451,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
          @@ -427,16 +472,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 { @@ -447,12 +491,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 @@ -463,6 +510,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
          @@ -470,13 +519,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
          @@ -484,12 +535,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
          @@ -497,6 +551,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. */ @@ -504,6 +559,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
          @@ -511,17 +568,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
          @@ -529,6 +588,7 @@ public java.lang.String getOauthScopes(int index) {
              * 
          * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The serviceAccount. */ @java.lang.Override @@ -537,14 +597,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
          @@ -552,16 +613,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 { @@ -572,6 +632,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
          @@ -580,13 +642,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
          @@ -595,12 +659,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
          @@ -609,6 +676,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. */ @@ -616,6 +684,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
          @@ -624,22 +694,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 @@ -647,32 +723,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
          @@ -687,6 +779,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 @@ -695,6 +788,7 @@ public int getMaxPodsPerNode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -706,8 +800,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 (!getLocationBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, location_); } @@ -760,8 +853,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; @@ -783,12 +875,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; @@ -798,36 +888,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; } @@ -871,96 +952,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.
          @@ -968,38 +1058,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();
          @@ -1031,13 +1123,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();
               }
           
          @@ -1052,7 +1145,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_;
          @@ -1084,46 +1178,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();
          @@ -1192,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.NodeConfig) e.getUnfinishedMessage();
          +        parsedMessage =
          +            (com.google.cloud.orchestration.airflow.service.v1beta1.NodeConfig)
          +                e.getUnfinishedMessage();
                   throw e.unwrapIOException();
                 } finally {
                   if (parsedMessage != null) {
          @@ -1201,10 +1301,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
          @@ -1222,13 +1325,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; @@ -1237,6 +1340,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
          @@ -1254,15 +1359,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 { @@ -1270,6 +1374,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
          @@ -1287,20 +1393,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
          @@ -1318,15 +1426,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
          @@ -1344,16 +1455,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; @@ -1361,6 +1472,8 @@ public Builder setLocationBytes( private java.lang.Object machineType_ = ""; /** + * + * *
                * Optional. The Compute Engine
                * [machine type](/compute/docs/machine-types) used for cluster instances,
          @@ -1383,13 +1496,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; @@ -1398,6 +1511,8 @@ public java.lang.String getMachineType() { } } /** + * + * *
                * Optional. The Compute Engine
                * [machine type](/compute/docs/machine-types) used for cluster instances,
          @@ -1420,15 +1535,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 { @@ -1436,6 +1550,8 @@ public java.lang.String getMachineType() { } } /** + * + * *
                * Optional. The Compute Engine
                * [machine type](/compute/docs/machine-types) used for cluster instances,
          @@ -1458,20 +1574,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,
          @@ -1494,15 +1612,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,
          @@ -1525,16 +1646,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; @@ -1542,6 +1663,8 @@ public Builder setMachineTypeBytes( private java.lang.Object network_ = ""; /** + * + * *
                * Optional. The Compute Engine network to be used for machine
                * communications, specified as a
          @@ -1556,13 +1679,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; @@ -1571,6 +1694,8 @@ public java.lang.String getNetwork() { } } /** + * + * *
                * Optional. The Compute Engine network to be used for machine
                * communications, specified as a
          @@ -1585,15 +1710,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 { @@ -1601,6 +1725,8 @@ public java.lang.String getNetwork() { } } /** + * + * *
                * Optional. The Compute Engine network to be used for machine
                * communications, specified as a
          @@ -1615,20 +1741,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
          @@ -1643,15 +1771,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
          @@ -1666,16 +1797,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; @@ -1683,6 +1814,8 @@ public Builder setNetworkBytes( private java.lang.Object subnetwork_ = ""; /** + * + * *
                * Optional. The Compute Engine subnetwork to be used for machine
                * communications, specified as a
          @@ -1695,13 +1828,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; @@ -1710,6 +1843,8 @@ public java.lang.String getSubnetwork() { } } /** + * + * *
                * Optional. The Compute Engine subnetwork to be used for machine
                * communications, specified as a
          @@ -1722,15 +1857,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 { @@ -1738,6 +1872,8 @@ public java.lang.String getSubnetwork() { } } /** + * + * *
                * Optional. The Compute Engine subnetwork to be used for machine
                * communications, specified as a
          @@ -1750,20 +1886,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
          @@ -1776,15 +1914,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
          @@ -1797,29 +1938,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 @@ -1827,45 +1971,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
          @@ -1873,13 +2027,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
          @@ -1887,12 +2043,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
          @@ -1900,6 +2059,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. */ @@ -1907,6 +2067,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
          @@ -1914,14 +2076,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
          @@ -1929,21 +2093,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
          @@ -1951,20 +2117,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
          @@ -1972,18 +2140,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
          @@ -1991,6 +2160,7 @@ public Builder addAllOauthScopes(
                * 
          * * repeated string oauth_scopes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOauthScopes() { @@ -2000,6 +2170,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
          @@ -2007,15 +2179,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(); @@ -2024,6 +2196,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
          @@ -2031,13 +2205,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; @@ -2046,6 +2220,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
          @@ -2053,15 +2229,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 { @@ -2069,6 +2244,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
          @@ -2076,20 +2253,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
          @@ -2097,15 +2276,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
          @@ -2113,29 +2295,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
          @@ -2144,13 +2330,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
          @@ -2159,12 +2347,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
          @@ -2173,6 +2364,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. */ @@ -2180,6 +2372,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
          @@ -2188,14 +2382,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
          @@ -2204,21 +2400,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
          @@ -2227,20 +2425,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
          @@ -2249,18 +2449,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
          @@ -2269,6 +2470,7 @@ public Builder addAllTags(
                * 
          * * repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearTags() { @@ -2278,6 +2480,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
          @@ -2286,58 +2490,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(); @@ -2351,14 +2578,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(); @@ -2369,17 +2601,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; } @@ -2391,11 +2631,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) { @@ -2409,55 +2653,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
          @@ -2472,6 +2737,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 @@ -2479,6 +2745,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
          @@ -2493,16 +2761,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
          @@ -2517,17 +2788,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); } @@ -2537,30 +2809,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; @@ -2572,9 +2846,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 3a4aab35..e5f8028b 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,98 +73,112 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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.
                * 
          @@ -156,6 +187,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
                * The operation has been created but is not yet started.
                * 
          @@ -164,6 +197,8 @@ public enum State */ PENDING(1), /** + * + * *
                * The operation is underway.
                * 
          @@ -172,6 +207,8 @@ public enum State */ RUNNING(2), /** + * + * *
                * The operation completed successfully.
                * 
          @@ -180,6 +217,8 @@ public enum State */ SUCCESSFUL(3), /** + * + * *
                * The operation is no longer running but did not succeed.
                * 
          @@ -191,6 +230,8 @@ public enum State ; /** + * + * *
                * Unused.
                * 
          @@ -199,6 +240,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
                * The operation has been created but is not yet started.
                * 
          @@ -207,6 +250,8 @@ public enum State */ public static final int PENDING_VALUE = 1; /** + * + * *
                * The operation is underway.
                * 
          @@ -215,6 +260,8 @@ public enum State */ public static final int RUNNING_VALUE = 2; /** + * + * *
                * The operation completed successfully.
                * 
          @@ -223,6 +270,8 @@ public enum State */ public static final int SUCCESSFUL_VALUE = 3; /** + * + * *
                * The operation is no longer running but did not succeed.
                * 
          @@ -231,7 +280,6 @@ public enum State */ public static final int FAILED_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -256,51 +304,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; @@ -318,15 +371,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.
                * 
          @@ -335,6 +391,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
                * A resource creation operation.
                * 
          @@ -343,6 +401,8 @@ public enum Type */ CREATE(1), /** + * + * *
                * A resource deletion operation.
                * 
          @@ -351,6 +411,8 @@ public enum Type */ DELETE(2), /** + * + * *
                * A resource update operation.
                * 
          @@ -359,6 +421,8 @@ public enum Type */ UPDATE(3), /** + * + * *
                * A resource check operation.
                * 
          @@ -370,6 +434,8 @@ public enum Type ; /** + * + * *
                * Unused.
                * 
          @@ -378,6 +444,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
                * A resource creation operation.
                * 
          @@ -386,6 +454,8 @@ public enum Type */ public static final int CREATE_VALUE = 1; /** + * + * *
                * A resource deletion operation.
                * 
          @@ -394,6 +464,8 @@ public enum Type */ public static final int DELETE_VALUE = 2; /** + * + * *
                * A resource update operation.
                * 
          @@ -402,6 +474,8 @@ public enum Type */ public static final int UPDATE_VALUE = 3; /** + * + * *
                * A resource check operation.
                * 
          @@ -410,7 +484,6 @@ public enum Type */ public static final int CHECK_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -435,51 +508,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; @@ -499,66 +577,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 @@ -567,30 +680,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 { @@ -601,11 +714,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 @@ -614,29 +730,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 { @@ -647,11 +763,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 @@ -659,11 +778,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 @@ -671,6 +793,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.
              * 
          @@ -685,12 +809,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 @@ -698,12 +825,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 @@ -711,6 +841,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.
          @@ -724,6 +856,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
             }
           
             private byte memoizedIsInitialized = -1;
          +
             @java.lang.Override
             public final boolean isInitialized() {
               byte isInitialized = memoizedIsInitialized;
          @@ -735,12 +868,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 (!getResourceBytes().isEmpty()) {
          @@ -764,13 +902,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 (!getResourceBytes().isEmpty()) {
                 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, resource_);
          @@ -779,12 +921,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;
          @@ -794,28 +934,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;
          @@ -850,134 +988,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(); @@ -1005,19 +1155,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); } @@ -1026,7 +1179,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_; @@ -1049,46 +1203,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()); } @@ -1128,7 +1288,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) { @@ -1140,73 +1302,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; @@ -1214,73 +1404,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; @@ -1288,19 +1511,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; @@ -1309,21 +1534,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 { @@ -1331,57 +1557,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; @@ -1389,18 +1622,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; @@ -1409,20 +1644,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 { @@ -1430,54 +1666,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; @@ -1485,34 +1728,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.
                * 
          @@ -1533,14 +1789,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(); @@ -1551,6 +1808,8 @@ public Builder setCreateTime( return this; } /** + * + * *
                * Output only. The time the operation was submitted to the server.
                * 
          @@ -1561,7 +1820,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; } @@ -1573,6 +1832,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
                * Output only. The time the operation was submitted to the server.
                * 
          @@ -1591,6 +1852,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
                * Output only. The time the operation was submitted to the server.
                * 
          @@ -1598,11 +1861,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.
                * 
          @@ -1613,11 +1878,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.
                * 
          @@ -1625,14 +1893,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_; @@ -1640,26 +1911,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() { @@ -1670,6 +1950,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.
          @@ -1691,6 +1973,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.
          @@ -1698,8 +1982,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();
          @@ -1710,6 +1993,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.
          @@ -1721,7 +2006,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;
                   }
          @@ -1733,6 +2018,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.
          @@ -1752,6 +2039,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.
          @@ -1760,11 +2049,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.
          @@ -1776,11 +2067,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.
          @@ -1789,21 +2081,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);
               }
           
          @@ -1813,30 +2108,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;
          @@ -1848,9 +2146,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 c5f9aa85..b22808f6 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,64 +72,72 @@ 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) {
                 throw e.setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(
          -          e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -  public static final com.google.protobuf.Descriptors.Descriptor
          -      getDescriptor() {
          -    return com.google.cloud.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 @@ -123,12 +148,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 @@ -137,30 +165,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 { @@ -171,6 +199,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
          @@ -179,7 +209,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 @@ -188,14 +220,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
          @@ -204,17 +237,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 { @@ -223,6 +256,7 @@ public java.lang.String getMasterIpv4ReservedRange() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,8 +268,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_); } @@ -255,8 +288,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 (!getMasterIpv4CidrBlockBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, masterIpv4CidrBlock_); @@ -272,19 +304,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; } @@ -297,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; @@ -308,97 +338,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.
          @@ -406,38 +450,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();
          @@ -451,19 +498,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);
                 }
          @@ -471,8 +521,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_;
          @@ -484,46 +536,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());
                 }
          @@ -550,11 +608,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) {
          @@ -564,14 +625,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 @@ -579,32 +643,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; @@ -612,19 +682,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; @@ -633,21 +705,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 { @@ -655,57 +728,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; @@ -713,6 +793,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
          @@ -721,14 +803,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; @@ -737,6 +820,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
          @@ -745,16 +830,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 { @@ -762,6 +847,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
          @@ -770,21 +857,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
          @@ -793,16 +883,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
          @@ -811,24 +905,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); } @@ -838,30 +933,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; @@ -873,9 +971,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 464f5db0..f8dbf2be 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,89 +75,105 @@ 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) {
                 throw e.setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(
          -          e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -  public static final com.google.protobuf.Descriptors.Descriptor
          -      getDescriptor() {
          -    return com.google.cloud.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
          @@ -148,6 +181,7 @@ private PrivateEnvironmentConfig(
              * 
          * * bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enablePrivateEnvironment. */ @java.lang.Override @@ -156,14 +190,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 @@ -171,34 +211,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
          @@ -206,6 +262,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 @@ -214,14 +271,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
          @@ -229,16 +287,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 { @@ -249,12 +306,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 @@ -263,30 +323,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 { @@ -297,11 +357,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 @@ -310,29 +374,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 { @@ -343,6 +408,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
          @@ -352,7 +419,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 @@ -361,14 +431,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
          @@ -378,17 +449,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 { @@ -399,13 +471,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 @@ -414,31 +491,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 { @@ -447,6 +526,7 @@ public java.lang.String getCloudComposerNetworkIpv4ReservedRange() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -458,8 +538,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_); } @@ -476,10 +555,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 5, webServerIpv4ReservedRange_); } if (!getCloudComposerNetworkIpv4CidrBlockBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, cloudComposerNetworkIpv4CidrBlock_); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 7, cloudComposerNetworkIpv4CidrBlock_); } if (!getCloudComposerNetworkIpv4ReservedRangeBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 8, cloudComposerNetworkIpv4ReservedRange_); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 8, cloudComposerNetworkIpv4ReservedRange_); } unknownFields.writeTo(output); } @@ -491,12 +572,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 (!getWebServerIpv4CidrBlockBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, webServerIpv4CidrBlock_); @@ -505,13 +585,18 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, cloudSqlIpv4CidrBlock_); } if (!getWebServerIpv4ReservedRangeBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, webServerIpv4ReservedRange_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(5, webServerIpv4ReservedRange_); } if (!getCloudComposerNetworkIpv4CidrBlockBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, cloudComposerNetworkIpv4CidrBlock_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 7, cloudComposerNetworkIpv4CidrBlock_); } if (!getCloudComposerNetworkIpv4ReservedRangeBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, cloudComposerNetworkIpv4ReservedRange_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 8, cloudComposerNetworkIpv4ReservedRange_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -521,26 +606,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() @@ -557,8 +641,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(); @@ -578,136 +661,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(); @@ -733,19 +834,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); } @@ -753,8 +857,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_; @@ -774,46 +880,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()); } @@ -855,11 +969,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) { @@ -869,8 +986,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
          @@ -878,6 +997,7 @@ public Builder mergeFrom(
                * 
          * * bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enablePrivateEnvironment. */ @java.lang.Override @@ -885,6 +1005,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
          @@ -892,16 +1014,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
          @@ -909,55 +1034,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(); @@ -971,15 +1120,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(); @@ -990,18 +1144,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; } @@ -1013,12 +1175,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) { @@ -1032,51 +1198,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_; @@ -1084,6 +1270,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
          @@ -1091,13 +1279,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; @@ -1106,6 +1294,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
          @@ -1113,15 +1303,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 { @@ -1129,6 +1318,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
          @@ -1136,20 +1327,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
          @@ -1157,15 +1350,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
          @@ -1173,16 +1369,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; @@ -1190,19 +1386,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; @@ -1211,21 +1409,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 { @@ -1233,57 +1432,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; @@ -1291,18 +1497,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; @@ -1311,20 +1520,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 { @@ -1332,54 +1543,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; @@ -1387,6 +1608,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
          @@ -1396,14 +1619,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; @@ -1412,6 +1637,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
          @@ -1421,16 +1648,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 { @@ -1438,6 +1666,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
          @@ -1447,21 +1677,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
          @@ -1471,16 +1705,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
          @@ -1490,17 +1730,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; @@ -1508,20 +1750,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; @@ -1530,22 +1776,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 { @@ -1553,67 +1802,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); } @@ -1623,30 +1887,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; @@ -1658,9 +1926,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 681a7845..7eb03ce8 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,47 +70,53 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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:
          @@ -101,6 +124,7 @@ private RestartWebServerRequest(
              * 
          * * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,14 +133,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:
          @@ -124,16 +149,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 { @@ -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 (!getNameBytes().isEmpty()) { 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.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; } @@ -205,135 +231,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(); @@ -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_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); } @@ -363,8 +410,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; @@ -374,46 +423,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(); @@ -433,11 +489,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) { @@ -449,6 +508,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
                * The resource name of the environment to restart the web server for, in the
                * form:
          @@ -456,13 +517,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; @@ -471,6 +532,8 @@ public java.lang.String getName() { } } /** + * + * *
                * The resource name of the environment to restart the web server for, in the
                * form:
          @@ -478,15 +541,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 { @@ -494,6 +556,8 @@ public java.lang.String getName() { } } /** + * + * *
                * The resource name of the environment to restart the web server for, in the
                * form:
          @@ -501,20 +565,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:
          @@ -522,15 +588,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:
          @@ -538,23 +607,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); } @@ -564,30 +633,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; @@ -599,9 +672,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 dd9526f1..9a1b5747 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,85 +72,95 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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(); @@ -142,21 +169,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
          @@ -178,6 +209,7 @@ protected com.google.protobuf.MapField internalGetMapField(
              * 
          * * string image_version = 1; + * * @return The imageVersion. */ @java.lang.Override @@ -186,14 +218,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
          @@ -215,16 +248,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 { @@ -233,21 +265,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); @@ -259,6 +292,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
          @@ -275,24 +310,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 java.lang.NullPointerException(); } + public boolean containsAirflowConfigOverrides(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } 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
          @@ -309,14 +346,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
          @@ -333,19 +373,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 java.lang.NullPointerException(); } + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } 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
          @@ -362,13 +406,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 java.lang.NullPointerException(); } + public java.lang.String getAirflowConfigOverridesOrThrow(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } java.util.Map map = internalGetAirflowConfigOverrides().getMap(); if (!map.containsKey(key)) { @@ -378,21 +424,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); @@ -404,6 +451,8 @@ public int getPypiPackagesCount() { return internalGetPypiPackages().getMap().size(); } /** + * + * *
              * Optional. Custom Python Package Index (PyPI) packages to be installed in
              * the environment.
          @@ -414,24 +463,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 java.lang.NullPointerException(); } + public boolean containsPypiPackages(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } 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.
          @@ -442,14 +492,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.
          @@ -460,19 +512,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 java.lang.NullPointerException(); } - java.util.Map map = - internalGetPypiPackages().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + 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.
          @@ -483,15 +537,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 java.lang.NullPointerException(); } - java.util.Map map = - internalGetPypiPackages().getMap(); + public java.lang.String getPypiPackagesOrThrow(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetPypiPackages().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -499,21 +553,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); @@ -525,6 +580,8 @@ public int getEnvVariablesCount() { return internalGetEnvVariables().getMap().size(); } /** + * + * *
              * Optional. Additional environment variables to provide to the Apache Airflow
              * scheduler, worker, and webserver processes.
          @@ -548,24 +605,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 java.lang.NullPointerException(); } + public boolean containsEnvVariables(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } 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.
          @@ -589,14 +647,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.
          @@ -620,19 +680,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 java.lang.NullPointerException(); } - java.util.Map map = - internalGetEnvVariables().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + 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.
          @@ -656,15 +718,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 java.lang.NullPointerException(); } - java.util.Map map = - internalGetEnvVariables().getMap(); + public java.lang.String getEnvVariablesOrThrow(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetEnvVariables().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -674,6 +736,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.
          @@ -682,6 +746,7 @@ public java.lang.String getEnvVariablesOrThrow(
              * 
          * * string python_version = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pythonVersion. */ @java.lang.Override @@ -690,14 +755,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.
          @@ -706,16 +772,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 { @@ -724,6 +789,7 @@ public java.lang.String getPythonVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -735,29 +801,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 (!getImageVersionBytes().isEmpty()) { 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 (!getPythonVersionBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, pythonVersion_); } @@ -773,35 +829,35 @@ public int getSerializedSize() { if (!getImageVersionBytes().isEmpty()) { 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 (!getPythonVersionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, pythonVersion_); @@ -814,23 +870,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; } @@ -864,114 +917,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(); @@ -980,13 +1041,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(); @@ -995,33 +1055,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(); @@ -1036,14 +1098,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 @@ -1057,7 +1121,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(); @@ -1075,56 +1140,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(); @@ -1148,7 +1216,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) { @@ -1157,10 +1227,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
          @@ -1182,13 +1255,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; @@ -1197,6 +1270,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
          @@ -1218,15 +1293,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 { @@ -1234,6 +1308,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
          @@ -1255,20 +1331,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
          @@ -1290,15 +1368,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
          @@ -1320,37 +1401,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(); @@ -1362,6 +1447,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
          @@ -1378,24 +1465,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 java.lang.NullPointerException(); } + public boolean containsAirflowConfigOverrides(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } 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
          @@ -1412,14 +1501,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
          @@ -1436,19 +1528,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 java.lang.NullPointerException(); } + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } 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
          @@ -1465,13 +1561,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 java.lang.NullPointerException(); } + public java.lang.String getAirflowConfigOverridesOrThrow(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } java.util.Map map = internalGetAirflowConfigOverrides().getMap(); if (!map.containsKey(key)) { @@ -1481,11 +1579,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
          @@ -1502,25 +1601,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 java.lang.NullPointerException(); } - internalGetMutableAirflowConfigOverrides().getMutableMap() - .remove(key); + public Builder removeAirflowConfigOverrides(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + 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
          @@ -1537,18 +1636,23 @@ 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 java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableAirflowConfigOverrides().getMutableMap() - .put(key, value); + public Builder putAirflowConfigOverrides(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + if (value == null) { + throw new java.lang.NullPointerException(); + } + 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
          @@ -1565,32 +1669,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(); @@ -1602,6 +1708,8 @@ public int getPypiPackagesCount() { return internalGetPypiPackages().getMap().size(); } /** + * + * *
                * Optional. Custom Python Package Index (PyPI) packages to be installed in
                * the environment.
          @@ -1612,24 +1720,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 java.lang.NullPointerException(); } + public boolean containsPypiPackages(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } 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.
          @@ -1640,14 +1749,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.
          @@ -1658,19 +1769,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 java.lang.NullPointerException(); } - java.util.Map map = - internalGetPypiPackages().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + 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.
          @@ -1681,15 +1794,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 java.lang.NullPointerException(); } - java.util.Map map = - internalGetPypiPackages().getMap(); + public java.lang.String getPypiPackagesOrThrow(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetPypiPackages().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1697,11 +1810,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.
          @@ -1712,25 +1826,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 java.lang.NullPointerException(); } - internalGetMutablePypiPackages().getMutableMap() - .remove(key); + public Builder removePypiPackages(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + 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.
          @@ -1741,18 +1854,22 @@ 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 java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutablePypiPackages().getMutableMap() - .put(key, value); + public Builder putPypiPackages(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + if (value == null) { + throw new java.lang.NullPointerException(); + } + internalGetMutablePypiPackages().getMutableMap().put(key, value); return this; } /** + * + * *
                * Optional. Custom Python Package Index (PyPI) packages to be installed in
                * the environment.
          @@ -1763,32 +1880,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(); @@ -1800,6 +1917,8 @@ public int getEnvVariablesCount() { return internalGetEnvVariables().getMap().size(); } /** + * + * *
                * Optional. Additional environment variables to provide to the Apache Airflow
                * scheduler, worker, and webserver processes.
          @@ -1823,24 +1942,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 java.lang.NullPointerException(); } + public boolean containsEnvVariables(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } 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.
          @@ -1864,14 +1984,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.
          @@ -1895,19 +2017,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 java.lang.NullPointerException(); } - java.util.Map map = - internalGetEnvVariables().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + 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.
          @@ -1931,15 +2055,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 java.lang.NullPointerException(); } - java.util.Map map = - internalGetEnvVariables().getMap(); + public java.lang.String getEnvVariablesOrThrow(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetEnvVariables().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1947,11 +2071,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.
          @@ -1975,25 +2100,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 java.lang.NullPointerException(); } - internalGetMutableEnvVariables().getMutableMap() - .remove(key); + public Builder removeEnvVariables(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + 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.
          @@ -2017,18 +2141,22 @@ 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 java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableEnvVariables().getMutableMap() - .put(key, value); + public Builder putEnvVariables(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + if (value == null) { + throw new java.lang.NullPointerException(); + } + internalGetMutableEnvVariables().getMutableMap().put(key, value); return this; } /** + * + * *
                * Optional. Additional environment variables to provide to the Apache Airflow
                * scheduler, worker, and webserver processes.
          @@ -2052,18 +2180,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.
          @@ -2072,13 +2200,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; @@ -2087,6 +2215,8 @@ public java.lang.String getPythonVersion() { } } /** + * + * *
                * Optional. The major version of Python used to run the Apache Airflow
                * scheduler, worker, and webserver processes.
          @@ -2095,15 +2225,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 { @@ -2111,6 +2240,8 @@ public java.lang.String getPythonVersion() { } } /** + * + * *
                * Optional. The major version of Python used to run the Apache Airflow
                * scheduler, worker, and webserver processes.
          @@ -2119,20 +2250,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.
          @@ -2141,15 +2274,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.
          @@ -2158,23 +2294,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); } @@ -2184,30 +2320,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; @@ -2219,9 +2357,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 e05851fb..6e55798b 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,13 +174,15 @@ 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.lang.String getAirflowConfigOverridesOrDefault( - java.lang.String key, - java.lang.String defaultValue); + java.lang.String key, java.lang.String defaultValue); /** + * + * *
              * Optional. Apache Airflow configuration properties to override.
              * Property keys contain the section and property names, separated by a
          @@ -167,13 +199,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.
          @@ -184,10 +218,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.
          @@ -198,17 +235,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.
          @@ -219,11 +255,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.
          @@ -234,13 +272,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.lang.String getPypiPackagesOrDefault( - java.lang.String key, - java.lang.String defaultValue); + java.lang.String getPypiPackagesOrDefault(java.lang.String key, java.lang.String defaultValue); /** + * + * *
              * Optional. Custom Python Package Index (PyPI) packages to be installed in
              * the environment.
          @@ -251,13 +289,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.
          @@ -281,10 +320,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.
          @@ -308,17 +350,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.
          @@ -342,11 +383,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.
          @@ -370,13 +413,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.lang.String getEnvVariablesOrDefault( - java.lang.String key, - java.lang.String defaultValue); + java.lang.String getEnvVariablesOrDefault(java.lang.String key, java.lang.String defaultValue); /** + * + * *
              * Optional. Additional environment variables to provide to the Apache Airflow
              * scheduler, worker, and webserver processes.
          @@ -400,13 +443,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.
          @@ -415,10 +459,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.
          @@ -427,8 +474,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 ee1d50f1..c76c239a 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,79 +70,93 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -134,30 +165,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 { @@ -168,12 +199,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 @@ -181,19 +215,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.
          @@ -202,13 +243,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.
          @@ -332,7 +376,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 @@ -340,6 +386,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
              * Required. A comma-separated list of paths, relative to `Environment`, of
              * fields to update.
          @@ -463,7 +511,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 @@ -471,6 +521,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.
          @@ -594,7 +646,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() { @@ -602,6 +655,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -613,8 +667,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()); } @@ -634,15 +687,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 (!getNameBytes().isEmpty()) { 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; @@ -652,24 +703,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; @@ -697,135 +748,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(); @@ -847,19 +916,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); } @@ -867,8 +939,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_; @@ -888,46 +962,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(); @@ -953,11 +1035,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) { @@ -969,19 +1054,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; @@ -990,21 +1077,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 { @@ -1012,57 +1100,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; @@ -1070,36 +1165,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.
          @@ -1107,7 +1216,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();
          @@ -1121,6 +1231,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.
          @@ -1129,7 +1241,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();
          @@ -1140,6 +1253,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.
          @@ -1147,11 +1262,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;
                   }
          @@ -1163,6 +1282,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.
          @@ -1182,6 +1303,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.
          @@ -1189,12 +1312,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.
          @@ -1202,15 +1328,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.
          @@ -1219,14 +1350,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_;
          @@ -1234,8 +1368,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.
          @@ -1359,13 +1498,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.
          @@ -1489,17 +1632,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.
          @@ -1623,7 +1772,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) { @@ -1639,6 +1789,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.
          @@ -1762,10 +1914,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(); @@ -1776,6 +1928,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
                * Required. A comma-separated list of paths, relative to `Environment`, of
                * fields to update.
          @@ -1899,13 +2053,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; } @@ -1917,6 +2072,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.
          @@ -2040,7 +2197,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) { @@ -2054,6 +2212,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
                * Required. A comma-separated list of paths, relative to `Environment`, of
                * fields to update.
          @@ -2177,14 +2337,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.
          @@ -2308,17 +2471,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.
          @@ -2442,24 +2609,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); } @@ -2469,30 +2640,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; @@ -2504,9 +2679,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 c71e720f..70386ec9 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,47 +70,52 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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
          @@ -104,6 +126,7 @@ private WebServerConfig(
              * 
          * * 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. Machine type on which Airflow web server is running.
              * It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
          @@ -130,16 +154,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 { @@ -148,6 +171,7 @@ public java.lang.String getMachineType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -159,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getMachineTypeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, machineType_); } @@ -184,15 +207,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; } @@ -212,134 +235,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(); @@ -349,19 +383,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); } @@ -370,7 +407,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; @@ -380,46 +418,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(); @@ -443,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.WebServerConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.orchestration.airflow.service.v1beta1.WebServerConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -455,6 +500,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
          @@ -465,13 +512,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; @@ -480,6 +527,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
          @@ -490,15 +539,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 { @@ -506,6 +554,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
          @@ -516,20 +566,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
          @@ -540,15 +592,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
          @@ -559,23 +614,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); } @@ -585,30 +640,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; @@ -620,9 +677,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 4bc19d73..ff10e33c 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,29 +72,35 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { allowedIpRanges_ = java.util.Collections.unmodifiableList(allowedIpRanges_); @@ -85,24 +109,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.
          @@ -114,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.
          @@ -129,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.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_ = ""; @@ -177,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) @@ -205,53 +248,61 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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.
          @@ -263,6 +314,7 @@ private AllowedIpRange(
                * 
          * * string value = 1; + * * @return The value. */ @java.lang.Override @@ -271,14 +323,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.
          @@ -290,16 +343,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 { @@ -310,11 +362,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 @@ -323,29 +378,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 { @@ -354,6 +409,7 @@ public java.lang.String getDescription() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -365,8 +421,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 (!getValueBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); } @@ -396,17 +451,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; } @@ -427,88 +488,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 @@ -518,44 +606,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(); @@ -567,19 +664,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); } @@ -587,8 +691,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(); @@ -599,46 +709,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(); @@ -662,11 +786,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) { @@ -678,6 +807,8 @@ public Builder mergeFrom( private java.lang.Object value_ = ""; /** + * + * *
                  * IP address or range, defined using CIDR notation, of requests that this
                  * rule applies to.
          @@ -689,13 +820,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; @@ -704,6 +835,8 @@ public java.lang.String getValue() { } } /** + * + * *
                  * IP address or range, defined using CIDR notation, of requests that this
                  * rule applies to.
          @@ -715,15 +848,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 { @@ -731,6 +863,8 @@ public java.lang.String getValue() { } } /** + * + * *
                  * IP address or range, defined using CIDR notation, of requests that this
                  * rule applies to.
          @@ -742,20 +876,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.
          @@ -767,15 +903,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.
          @@ -787,16 +926,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; @@ -804,18 +943,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; @@ -824,20 +965,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 { @@ -845,58 +987,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) { @@ -909,30 +1059,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; @@ -944,73 +1100,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; @@ -1022,8 +1212,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)); } @@ -1037,8 +1226,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; @@ -1048,15 +1236,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; } @@ -1077,136 +1267,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(); @@ -1220,19 +1432,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); } @@ -1240,8 +1456,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)) { @@ -1260,46 +1479,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()) { @@ -1318,9 +1546,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_); } @@ -1341,11 +1570,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) { @@ -1354,28 +1586,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 { @@ -1383,11 +1635,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) { @@ -1397,13 +1653,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 { @@ -1411,14 +1673,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(); @@ -1432,14 +1701,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()); @@ -1450,13 +1726,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(); @@ -1470,14 +1753,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(); @@ -1491,14 +1781,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()); @@ -1509,14 +1805,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()); @@ -1527,18 +1830,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); @@ -1546,11 +1856,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) { @@ -1563,11 +1877,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) { @@ -1580,39 +1898,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 { @@ -1620,45 +1956,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(), @@ -1667,9 +2037,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); } @@ -1679,30 +2049,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; @@ -1714,9 +2088,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 110a2824..2f0a9013 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,152 +70,190 @@ 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) {
                 throw e.setUnfinishedMessage(this);
               } catch (java.io.IOException e) {
          -      throw new com.google.protobuf.InvalidProtocolBufferException(
          -          e).setUnfinishedMessage(this);
          +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
               } finally {
                 this.unknownFields = unknownFields.build();
                 makeExtensionsImmutable();
               }
             }
          -  public static final com.google.protobuf.Descriptors.Descriptor
          -      getDescriptor() {
          -    return com.google.cloud.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) @@ -218,66 +272,73 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -288,11 +349,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 @@ -303,11 +367,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 @@ -318,11 +385,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 @@ -331,6 +401,7 @@ public int getCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -342,8 +413,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 (cpu_ != 0F) { output.writeFloat(1, cpu_); } @@ -366,20 +436,16 @@ public int getSerializedSize() { size = 0; if (cpu_ != 0F) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(1, cpu_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, cpu_); } if (memoryGb_ != 0F) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, memoryGb_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, memoryGb_); } if (storageGb_ != 0F) { - 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; @@ -389,24 +455,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; } @@ -419,14 +488,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(); @@ -434,88 +500,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 @@ -525,44 +617,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(); @@ -578,19 +679,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); } @@ -598,8 +705,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_; @@ -612,46 +724,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()); } @@ -679,11 +804,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) { @@ -693,13 +822,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 @@ -707,42 +839,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 @@ -750,42 +891,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 @@ -793,42 +943,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 @@ -836,34 +995,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) { @@ -876,30 +1042,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; @@ -911,77 +1083,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) @@ -1000,61 +1184,68 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -1065,11 +1256,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 @@ -1080,11 +1274,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 @@ -1093,6 +1290,7 @@ public float getStorageGb() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1104,8 +1302,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 (cpu_ != 0F) { output.writeFloat(1, cpu_); } @@ -1125,16 +1322,13 @@ public int getSerializedSize() { size = 0; if (cpu_ != 0F) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(1, cpu_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, cpu_); } if (memoryGb_ != 0F) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, memoryGb_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, memoryGb_); } if (storageGb_ != 0F) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(3, storageGb_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, storageGb_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1144,22 +1338,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; } @@ -1172,101 +1370,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 @@ -1276,44 +1497,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(); @@ -1327,19 +1557,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); } @@ -1347,8 +1583,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_; @@ -1360,46 +1601,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()); } @@ -1424,11 +1678,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) { @@ -1438,13 +1696,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 @@ -1452,42 +1713,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 @@ -1495,42 +1765,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 @@ -1538,34 +1817,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) { @@ -1578,30 +1864,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; @@ -1613,97 +1905,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) @@ -1722,71 +2032,78 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -1797,11 +2114,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 @@ -1812,11 +2132,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 @@ -1827,11 +2150,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 @@ -1842,11 +2168,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 @@ -1855,6 +2184,7 @@ public int getMaxCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1866,8 +2196,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 (cpu_ != 0F) { output.writeFloat(1, cpu_); } @@ -1893,24 +2222,19 @@ public int getSerializedSize() { size = 0; if (cpu_ != 0F) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(1, cpu_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, cpu_); } if (memoryGb_ != 0F) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, memoryGb_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, memoryGb_); } if (storageGb_ != 0F) { - 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; @@ -1920,26 +2244,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; } @@ -1952,14 +2275,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; @@ -1969,88 +2289,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 @@ -2060,44 +2406,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(); @@ -2115,19 +2470,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); } @@ -2135,8 +2494,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_; @@ -2150,46 +2513,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()); } @@ -2220,11 +2595,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) { @@ -2234,13 +2613,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 @@ -2248,42 +2630,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 @@ -2291,42 +2682,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 @@ -2334,42 +2734,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 @@ -2377,42 +2786,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 @@ -2420,34 +2838,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) { @@ -2460,30 +2885,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; @@ -2495,20 +2926,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 @@ -2516,37 +2953,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 @@ -2554,37 +3012,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 @@ -2592,30 +3071,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; @@ -2627,8 +3122,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()); } @@ -2648,16 +3142,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; @@ -2667,27 +3158,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; @@ -2718,96 +3207,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
          @@ -2816,38 +3314,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();
          @@ -2873,19 +3373,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);
                 }
          @@ -2894,7 +3397,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 {
          @@ -2918,46 +3422,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());
                 }
          @@ -2986,7 +3495,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) {
          @@ -2996,43 +3507,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(); @@ -3046,14 +3584,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(); @@ -3064,17 +3608,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; } @@ -3086,11 +3639,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) { @@ -3104,90 +3661,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(); @@ -3201,14 +3811,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(); @@ -3219,17 +3835,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; } @@ -3241,11 +3866,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) { @@ -3259,90 +3888,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(); @@ -3356,14 +4037,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(); @@ -3374,17 +4061,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; } @@ -3396,11 +4092,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) { @@ -3414,55 +4114,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); } @@ -3472,30 +4197,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; @@ -3507,9 +4234,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 From b55604a282714e00f08c460b5cc61ce0bf315955 Mon Sep 17 00:00:00 2001 From: Neenu1995 Date: Thu, 5 Aug 2021 20:50:43 -0400 Subject: [PATCH 3/4] chore: add clirr ignored differences --- pom.xml | 2 +- .../clirr-ignored-differences.xml | 4 ++++ .../clirr-ignored-differences.xml | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 1703c461..800e7ff6 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.13.1 + 1.0.0 diff --git a/proto-google-cloud-orchestration-airflow-v1/clirr-ignored-differences.xml b/proto-google-cloud-orchestration-airflow-v1/clirr-ignored-differences.xml index 780ea331..f0cd83ca 100644 --- a/proto-google-cloud-orchestration-airflow-v1/clirr-ignored-differences.xml +++ b/proto-google-cloud-orchestration-airflow-v1/clirr-ignored-differences.xml @@ -16,4 +16,8 @@ com/google/cloud/orchestration/airflow/service/v1/*OrBuilder boolean has*(*) + + 8001 + com/google/cloud/orchestration/airflow/service/v1/Environment* + diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/clirr-ignored-differences.xml b/proto-google-cloud-orchestration-airflow-v1beta1/clirr-ignored-differences.xml index 25a98f2a..faa9b1a9 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/clirr-ignored-differences.xml +++ b/proto-google-cloud-orchestration-airflow-v1beta1/clirr-ignored-differences.xml @@ -16,4 +16,8 @@ com/google/cloud/orchestration/airflow/service/v1beta1/*OrBuilder boolean has*(*) + + 8001 + com/google/cloud/orchestration/airflow/service/v1beta1/Environment* + From 148ac834724806de82d07656e697497bb347d0c4 Mon Sep 17 00:00:00 2001 From: Neenu1995 Date: Mon, 9 Aug 2021 23:19:47 -0400 Subject: [PATCH 4/4] chore: fix dependencies --- proto-google-cloud-orchestration-airflow-v1/pom.xml | 8 -------- proto-google-cloud-orchestration-airflow-v1beta1/pom.xml | 8 -------- 2 files changed, 16 deletions(-) diff --git a/proto-google-cloud-orchestration-airflow-v1/pom.xml b/proto-google-cloud-orchestration-airflow-v1/pom.xml index 22ed4e3b..aa6bbbe5 100644 --- a/proto-google-cloud-orchestration-airflow-v1/pom.xml +++ b/proto-google-cloud-orchestration-airflow-v1/pom.xml @@ -21,14 +21,6 @@ com.google.api.grpc proto-google-common-protos - - com.google.api - api-common - - - com.google.guava - guava - diff --git a/proto-google-cloud-orchestration-airflow-v1beta1/pom.xml b/proto-google-cloud-orchestration-airflow-v1beta1/pom.xml index 0e4eb5ae..64390399 100644 --- a/proto-google-cloud-orchestration-airflow-v1beta1/pom.xml +++ b/proto-google-cloud-orchestration-airflow-v1beta1/pom.xml @@ -21,14 +21,6 @@ com.google.api.grpc proto-google-common-protos - - com.google.api - api-common - - - com.google.guava - guava -