From 491941a8c11594adb60b4c2a5970ed3a76bca140 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 18 Mar 2024 22:11:51 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20post-p?= =?UTF-8?q?rocessor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../edgenetwork/v1/EdgeNetworkClient.java | 0 .../edgenetwork/v1/EdgeNetworkSettings.java | 1 - .../cloud/edgenetwork/v1/gapic_metadata.json | 0 .../cloud/edgenetwork/v1/package-info.java | 0 .../edgenetwork/v1/stub/EdgeNetworkStub.java | 0 .../v1/stub/EdgeNetworkStubSettings.java | 0 .../stub/GrpcEdgeNetworkCallableFactory.java | 0 .../v1/stub/GrpcEdgeNetworkStub.java | 1 - .../HttpJsonEdgeNetworkCallableFactory.java | 0 .../v1/stub/HttpJsonEdgeNetworkStub.java | 1 - .../reflect-config.json | 0 .../v1/EdgeNetworkClientHttpJsonTest.java | 0 .../edgenetwork/v1/EdgeNetworkClientTest.java | 0 .../cloud/edgenetwork/v1/MockEdgeNetwork.java | 0 .../edgenetwork/v1/MockEdgeNetworkImpl.java | 0 .../cloud/edgenetwork/v1/MockLocations.java | 0 .../edgenetwork/v1/MockLocationsImpl.java | 0 .../cloud/edgenetwork/v1/EdgeNetworkGrpc.java | 3327 +++++++++++++++ .../CreateInterconnectAttachmentRequest.java | 698 +-- ...nterconnectAttachmentRequestOrBuilder.java | 76 +- .../edgenetwork/v1/CreateNetworkRequest.java | 635 +-- .../v1/CreateNetworkRequestOrBuilder.java | 73 +- .../edgenetwork/v1/CreateRouterRequest.java | 624 ++- .../v1/CreateRouterRequestOrBuilder.java | 70 +- .../edgenetwork/v1/CreateSubnetRequest.java | 624 ++- .../v1/CreateSubnetRequestOrBuilder.java | 70 +- .../DeleteInterconnectAttachmentRequest.java | 461 +- ...nterconnectAttachmentRequestOrBuilder.java | 44 +- .../edgenetwork/v1/DeleteNetworkRequest.java | 419 +- .../v1/DeleteNetworkRequestOrBuilder.java | 44 +- .../edgenetwork/v1/DeleteRouterRequest.java | 419 +- .../v1/DeleteRouterRequestOrBuilder.java | 44 +- .../edgenetwork/v1/DeleteSubnetRequest.java | 419 +- .../v1/DeleteSubnetRequestOrBuilder.java | 44 +- .../v1/DiagnoseInterconnectRequest.java | 350 +- .../DiagnoseInterconnectRequestOrBuilder.java | 55 + .../v1/DiagnoseInterconnectResponse.java | 446 +- ...DiagnoseInterconnectResponseOrBuilder.java | 34 +- .../v1/DiagnoseNetworkRequest.java | 350 +- .../v1/DiagnoseNetworkRequestOrBuilder.java | 55 + .../v1/DiagnoseNetworkResponse.java | 1088 +++-- .../v1/DiagnoseNetworkResponseOrBuilder.java | 37 +- .../edgenetwork/v1/DiagnoseRouterRequest.java | 350 +- .../v1/DiagnoseRouterRequestOrBuilder.java | 55 + .../v1/DiagnoseRouterResponse.java | 438 +- .../v1/DiagnoseRouterResponseOrBuilder.java | 34 +- .../v1/GetInterconnectAttachmentRequest.java | 376 +- ...nterconnectAttachmentRequestOrBuilder.java | 55 + .../v1/GetInterconnectRequest.java | 350 +- .../v1/GetInterconnectRequestOrBuilder.java | 55 + .../edgenetwork/v1/GetNetworkRequest.java | 347 +- .../v1/GetNetworkRequestOrBuilder.java | 55 + .../edgenetwork/v1/GetRouterRequest.java | 347 +- .../v1/GetRouterRequestOrBuilder.java | 55 + .../edgenetwork/v1/GetSubnetRequest.java | 347 +- .../v1/GetSubnetRequestOrBuilder.java | 55 + .../cloud/edgenetwork/v1/GetZoneRequest.java | 341 +- .../v1/GetZoneRequestOrBuilder.java | 56 + .../edgenetwork/v1/InitializeZoneRequest.java | 350 +- .../v1/InitializeZoneRequestOrBuilder.java | 55 + .../v1/InitializeZoneResponse.java | 248 +- .../v1/InitializeZoneResponseOrBuilder.java | 25 + .../cloud/edgenetwork/v1/Interconnect.java | 1321 +++--- .../v1/InterconnectAttachment.java | 1245 ++++-- .../v1/InterconnectAttachmentName.java | 0 .../v1/InterconnectAttachmentOrBuilder.java | 154 +- .../v1/InterconnectDiagnostics.java | 3782 +++++++++++------ .../v1/InterconnectDiagnosticsOrBuilder.java | 73 +- .../edgenetwork/v1/InterconnectName.java | 0 .../edgenetwork/v1/InterconnectOrBuilder.java | 156 +- .../edgenetwork/v1/LinkLayerAddress.java | 391 +- .../v1/LinkLayerAddressOrBuilder.java | 36 +- .../ListInterconnectAttachmentsRequest.java | 637 +-- ...terconnectAttachmentsRequestOrBuilder.java | 65 +- .../ListInterconnectAttachmentsResponse.java | 750 ++-- ...erconnectAttachmentsResponseOrBuilder.java | 83 +- .../v1/ListInterconnectsRequest.java | 599 ++- .../v1/ListInterconnectsRequestOrBuilder.java | 65 +- .../v1/ListInterconnectsResponse.java | 580 ++- .../ListInterconnectsResponseOrBuilder.java | 63 +- .../edgenetwork/v1/ListNetworksRequest.java | 596 ++- .../v1/ListNetworksRequestOrBuilder.java | 65 +- .../edgenetwork/v1/ListNetworksResponse.java | 588 ++- .../v1/ListNetworksResponseOrBuilder.java | 63 +- .../edgenetwork/v1/ListRoutersRequest.java | 596 ++- .../v1/ListRoutersRequestOrBuilder.java | 65 +- .../edgenetwork/v1/ListRoutersResponse.java | 587 ++- .../v1/ListRoutersResponseOrBuilder.java | 63 +- .../edgenetwork/v1/ListSubnetsRequest.java | 596 ++- .../v1/ListSubnetsRequestOrBuilder.java | 65 +- .../edgenetwork/v1/ListSubnetsResponse.java | 587 ++- .../v1/ListSubnetsResponseOrBuilder.java | 63 +- .../edgenetwork/v1/ListZonesRequest.java | 597 ++- .../v1/ListZonesRequestOrBuilder.java | 66 +- .../edgenetwork/v1/ListZonesResponse.java | 588 ++- .../v1/ListZonesResponseOrBuilder.java | 65 +- .../cloud/edgenetwork/v1/LocationName.java | 0 .../google/cloud/edgenetwork/v1/Network.java | 923 ++-- .../cloud/edgenetwork/v1/NetworkName.java | 0 .../edgenetwork/v1/NetworkOrBuilder.java | 103 +- .../edgenetwork/v1/OperationMetadata.java | 823 ++-- .../v1/OperationMetadataOrBuilder.java | 91 +- .../cloud/edgenetwork/v1/ResourceState.java | 103 +- .../cloud/edgenetwork/v1/ResourcesProto.java | 601 +++ .../google/cloud/edgenetwork/v1/Router.java | 3483 +++++++++------ .../cloud/edgenetwork/v1/RouterName.java | 0 .../cloud/edgenetwork/v1/RouterOrBuilder.java | 205 +- .../cloud/edgenetwork/v1/RouterStatus.java | 1979 +++++---- .../edgenetwork/v1/RouterStatusOrBuilder.java | 57 +- .../cloud/edgenetwork/v1/ServiceProto.java | 825 ++++ .../google/cloud/edgenetwork/v1/Subnet.java | 1313 +++--- .../cloud/edgenetwork/v1/SubnetName.java | 0 .../cloud/edgenetwork/v1/SubnetOrBuilder.java | 170 +- .../cloud/edgenetwork/v1/SubnetStatus.java | 528 ++- .../edgenetwork/v1/SubnetStatusOrBuilder.java | 51 +- .../edgenetwork/v1/UpdateRouterRequest.java | 577 ++- .../v1/UpdateRouterRequestOrBuilder.java | 61 +- .../edgenetwork/v1/UpdateSubnetRequest.java | 577 ++- .../v1/UpdateSubnetRequestOrBuilder.java | 61 +- .../com/google/cloud/edgenetwork/v1/Zone.java | 955 +++-- .../google/cloud/edgenetwork/v1/ZoneName.java | 0 .../cloud/edgenetwork/v1/ZoneOrBuilder.java | 118 +- .../cloud/edgenetwork/v1/resources.proto | 0 .../google/cloud/edgenetwork/v1/service.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateInterconnectAttachment.java | 0 .../AsyncCreateInterconnectAttachmentLRO.java | 0 .../SyncCreateInterconnectAttachment.java | 0 ...entStringInterconnectattachmentString.java | 0 ...tZonenameInterconnectattachmentString.java | 0 .../createnetwork/AsyncCreateNetwork.java | 0 .../createnetwork/AsyncCreateNetworkLRO.java | 0 .../createnetwork/SyncCreateNetwork.java | 0 .../SyncCreateNetworkStringNetworkString.java | 0 ...yncCreateNetworkZonenameNetworkString.java | 0 .../createrouter/AsyncCreateRouter.java | 0 .../createrouter/AsyncCreateRouterLRO.java | 0 .../createrouter/SyncCreateRouter.java | 0 .../SyncCreateRouterStringRouterString.java | 0 .../SyncCreateRouterZonenameRouterString.java | 0 .../createsubnet/AsyncCreateSubnet.java | 0 .../createsubnet/AsyncCreateSubnetLRO.java | 0 .../createsubnet/SyncCreateSubnet.java | 0 .../SyncCreateSubnetStringSubnetString.java | 0 .../SyncCreateSubnetZonenameSubnetString.java | 0 .../AsyncDeleteInterconnectAttachment.java | 0 .../AsyncDeleteInterconnectAttachmentLRO.java | 0 .../SyncDeleteInterconnectAttachment.java | 0 ...tAttachmentInterconnectattachmentname.java | 0 ...yncDeleteInterconnectAttachmentString.java | 0 .../deletenetwork/AsyncDeleteNetwork.java | 0 .../deletenetwork/AsyncDeleteNetworkLRO.java | 0 .../deletenetwork/SyncDeleteNetwork.java | 0 .../SyncDeleteNetworkNetworkname.java | 0 .../SyncDeleteNetworkString.java | 0 .../deleterouter/AsyncDeleteRouter.java | 0 .../deleterouter/AsyncDeleteRouterLRO.java | 0 .../deleterouter/SyncDeleteRouter.java | 0 .../SyncDeleteRouterRoutername.java | 0 .../deleterouter/SyncDeleteRouterString.java | 0 .../deletesubnet/AsyncDeleteSubnet.java | 0 .../deletesubnet/AsyncDeleteSubnetLRO.java | 0 .../deletesubnet/SyncDeleteSubnet.java | 0 .../deletesubnet/SyncDeleteSubnetString.java | 0 .../SyncDeleteSubnetSubnetname.java | 0 .../AsyncDiagnoseInterconnect.java | 0 .../SyncDiagnoseInterconnect.java | 0 ...cDiagnoseInterconnectInterconnectname.java | 0 .../SyncDiagnoseInterconnectString.java | 0 .../diagnosenetwork/AsyncDiagnoseNetwork.java | 0 .../diagnosenetwork/SyncDiagnoseNetwork.java | 0 .../SyncDiagnoseNetworkNetworkname.java | 0 .../SyncDiagnoseNetworkString.java | 0 .../diagnoserouter/AsyncDiagnoseRouter.java | 0 .../diagnoserouter/SyncDiagnoseRouter.java | 0 .../SyncDiagnoseRouterRoutername.java | 0 .../SyncDiagnoseRouterString.java | 0 .../getinterconnect/AsyncGetInterconnect.java | 0 .../getinterconnect/SyncGetInterconnect.java | 0 .../SyncGetInterconnectInterconnectname.java | 0 .../SyncGetInterconnectString.java | 0 .../AsyncGetInterconnectAttachment.java | 0 .../SyncGetInterconnectAttachment.java | 0 ...tAttachmentInterconnectattachmentname.java | 0 .../SyncGetInterconnectAttachmentString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../getnetwork/AsyncGetNetwork.java | 0 .../getnetwork/SyncGetNetwork.java | 0 .../getnetwork/SyncGetNetworkNetworkname.java | 0 .../getnetwork/SyncGetNetworkString.java | 0 .../edgenetwork/getrouter/AsyncGetRouter.java | 0 .../edgenetwork/getrouter/SyncGetRouter.java | 0 .../getrouter/SyncGetRouterRoutername.java | 0 .../getrouter/SyncGetRouterString.java | 0 .../edgenetwork/getsubnet/AsyncGetSubnet.java | 0 .../edgenetwork/getsubnet/SyncGetSubnet.java | 0 .../getsubnet/SyncGetSubnetString.java | 0 .../getsubnet/SyncGetSubnetSubnetname.java | 0 .../v1/edgenetwork/getzone/AsyncGetZone.java | 0 .../v1/edgenetwork/getzone/SyncGetZone.java | 0 .../getzone/SyncGetZoneString.java | 0 .../getzone/SyncGetZoneZonename.java | 0 .../initializezone/AsyncInitializeZone.java | 0 .../initializezone/SyncInitializeZone.java | 0 .../SyncInitializeZoneString.java | 0 .../SyncInitializeZoneZonename.java | 0 .../AsyncListInterconnectAttachments.java | 0 ...AsyncListInterconnectAttachmentsPaged.java | 0 .../SyncListInterconnectAttachments.java | 0 ...SyncListInterconnectAttachmentsString.java | 0 ...ncListInterconnectAttachmentsZonename.java | 0 .../AsyncListInterconnects.java | 0 .../AsyncListInterconnectsPaged.java | 0 .../SyncListInterconnects.java | 0 .../SyncListInterconnectsString.java | 0 .../SyncListInterconnectsZonename.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../listnetworks/AsyncListNetworks.java | 0 .../listnetworks/AsyncListNetworksPaged.java | 0 .../listnetworks/SyncListNetworks.java | 0 .../listnetworks/SyncListNetworksString.java | 0 .../SyncListNetworksZonename.java | 0 .../listrouters/AsyncListRouters.java | 0 .../listrouters/AsyncListRoutersPaged.java | 0 .../listrouters/SyncListRouters.java | 0 .../listrouters/SyncListRoutersString.java | 0 .../listrouters/SyncListRoutersZonename.java | 0 .../listsubnets/AsyncListSubnets.java | 0 .../listsubnets/AsyncListSubnetsPaged.java | 0 .../listsubnets/SyncListSubnets.java | 0 .../listsubnets/SyncListSubnetsString.java | 0 .../listsubnets/SyncListSubnetsZonename.java | 0 .../edgenetwork/listzones/AsyncListZones.java | 0 .../listzones/AsyncListZonesPaged.java | 0 .../edgenetwork/listzones/SyncListZones.java | 0 .../listzones/SyncListZonesLocationname.java | 0 .../listzones/SyncListZonesString.java | 0 .../updaterouter/AsyncUpdateRouter.java | 0 .../updaterouter/AsyncUpdateRouterLRO.java | 0 .../updaterouter/SyncUpdateRouter.java | 0 .../SyncUpdateRouterRouterFieldmask.java | 0 .../updatesubnet/AsyncUpdateSubnet.java | 0 .../updatesubnet/AsyncUpdateSubnetLRO.java | 0 .../updatesubnet/SyncUpdateSubnet.java | 0 .../SyncUpdateSubnetSubnetFieldmask.java | 0 .../initializezone/SyncInitializeZone.java | 0 .../initializezone/SyncInitializeZone.java | 0 .../cloud/edgenetwork/v1/EdgeNetworkGrpc.java | 2507 ----------- .../DiagnoseInterconnectRequestOrBuilder.java | 30 - .../v1/DiagnoseNetworkRequestOrBuilder.java | 30 - .../v1/DiagnoseRouterRequestOrBuilder.java | 30 - ...nterconnectAttachmentRequestOrBuilder.java | 30 - .../v1/GetInterconnectRequestOrBuilder.java | 30 - .../v1/GetNetworkRequestOrBuilder.java | 30 - .../v1/GetRouterRequestOrBuilder.java | 30 - .../v1/GetSubnetRequestOrBuilder.java | 30 - .../v1/GetZoneRequestOrBuilder.java | 30 - .../v1/InitializeZoneRequestOrBuilder.java | 30 - .../v1/InitializeZoneResponseOrBuilder.java | 10 - .../cloud/edgenetwork/v1/ResourcesProto.java | 482 --- .../cloud/edgenetwork/v1/ServiceProto.java | 767 ---- 266 files changed, 29330 insertions(+), 18093 deletions(-) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/EdgeNetworkClient.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/EdgeNetworkSettings.java (99%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/gapic_metadata.json (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/package-info.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/EdgeNetworkStub.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/EdgeNetworkStubSettings.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/GrpcEdgeNetworkCallableFactory.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/GrpcEdgeNetworkStub.java (99%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/HttpJsonEdgeNetworkCallableFactory.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/HttpJsonEdgeNetworkStub.java (99%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/google-cloud-edgenetwork/src/main/resources/META-INF/native-image/com.google.cloud.edgenetwork.v1/reflect-config.json (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/EdgeNetworkClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/EdgeNetworkClientTest.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/MockEdgeNetwork.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/MockEdgeNetworkImpl.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/MockLocations.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/MockLocationsImpl.java (100%) create mode 100644 java-edgenetwork/grpc-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/EdgeNetworkGrpc.java rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateInterconnectAttachmentRequest.java (66%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateInterconnectAttachmentRequestOrBuilder.java (69%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateNetworkRequest.java (69%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateNetworkRequestOrBuilder.java (70%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateRouterRequest.java (70%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateRouterRequestOrBuilder.java (74%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateSubnetRequest.java (70%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateSubnetRequestOrBuilder.java (74%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteInterconnectAttachmentRequest.java (67%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteInterconnectAttachmentRequestOrBuilder.java (70%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteNetworkRequest.java (70%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteNetworkRequestOrBuilder.java (70%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteRouterRequest.java (70%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteRouterRequestOrBuilder.java (70%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteSubnetRequest.java (70%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteSubnetRequestOrBuilder.java (70%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectRequest.java (61%) create mode 100644 java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectRequestOrBuilder.java rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectResponse.java (68%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectResponseOrBuilder.java (71%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkRequest.java (61%) create mode 100644 java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkRequestOrBuilder.java rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkResponse.java (69%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkResponseOrBuilder.java (70%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterRequest.java (61%) create mode 100644 java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterRequestOrBuilder.java rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterResponse.java (68%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterResponseOrBuilder.java (70%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectAttachmentRequest.java (58%) create mode 100644 java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectAttachmentRequestOrBuilder.java rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectRequest.java (61%) create mode 100644 java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectRequestOrBuilder.java rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetNetworkRequest.java (61%) create mode 100644 java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetNetworkRequestOrBuilder.java rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetRouterRequest.java (61%) create mode 100644 java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetRouterRequestOrBuilder.java rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetSubnetRequest.java (61%) create mode 100644 java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetSubnetRequestOrBuilder.java rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetZoneRequest.java (62%) create mode 100644 java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetZoneRequestOrBuilder.java rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneRequest.java (61%) create mode 100644 java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneRequestOrBuilder.java rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneResponse.java (61%) create mode 100644 java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneResponseOrBuilder.java rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Interconnect.java (66%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectAttachment.java (65%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectAttachmentName.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectAttachmentOrBuilder.java (68%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectDiagnostics.java (69%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectDiagnosticsOrBuilder.java (75%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectName.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectOrBuilder.java (72%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/LinkLayerAddress.java (67%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/LinkLayerAddressOrBuilder.java (55%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsRequest.java (65%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsRequestOrBuilder.java (60%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsResponse.java (63%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsResponseOrBuilder.java (59%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsRequest.java (68%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsRequestOrBuilder.java (60%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsResponse.java (72%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsResponseOrBuilder.java (71%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksRequest.java (68%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksRequestOrBuilder.java (60%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksResponse.java (72%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksResponseOrBuilder.java (70%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersRequest.java (68%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersRequestOrBuilder.java (60%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersResponse.java (71%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersResponseOrBuilder.java (70%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsRequest.java (68%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsRequestOrBuilder.java (60%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsResponse.java (71%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsResponseOrBuilder.java (70%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesRequest.java (68%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesRequestOrBuilder.java (59%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesResponse.java (71%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesResponseOrBuilder.java (69%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/LocationName.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Network.java (64%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/NetworkName.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/NetworkOrBuilder.java (70%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/OperationMetadata.java (71%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/OperationMetadataOrBuilder.java (75%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ResourceState.java (72%) create mode 100644 java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ResourcesProto.java rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Router.java (72%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/RouterName.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/RouterOrBuilder.java (74%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/RouterStatus.java (72%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/RouterStatusOrBuilder.java (67%) create mode 100644 java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ServiceProto.java rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Subnet.java (66%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/SubnetName.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/SubnetOrBuilder.java (71%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/SubnetStatus.java (74%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/SubnetStatusOrBuilder.java (74%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateRouterRequest.java (72%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateRouterRequestOrBuilder.java (80%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateSubnetRequest.java (72%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateSubnetRequestOrBuilder.java (80%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Zone.java (61%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ZoneName.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ZoneOrBuilder.java (65%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/proto/google/cloud/edgenetwork/v1/resources.proto (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/proto-google-cloud-edgenetwork-v1/src/main/proto/google/cloud/edgenetwork/v1/service.proto (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createinterconnectattachment/AsyncCreateInterconnectAttachment.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createinterconnectattachment/AsyncCreateInterconnectAttachmentLRO.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createinterconnectattachment/SyncCreateInterconnectAttachment.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createinterconnectattachment/SyncCreateInterconnectAttachmentStringInterconnectattachmentString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createinterconnectattachment/SyncCreateInterconnectAttachmentZonenameInterconnectattachmentString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createnetwork/AsyncCreateNetwork.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createnetwork/AsyncCreateNetworkLRO.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createnetwork/SyncCreateNetwork.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createnetwork/SyncCreateNetworkStringNetworkString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createnetwork/SyncCreateNetworkZonenameNetworkString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createrouter/AsyncCreateRouter.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createrouter/AsyncCreateRouterLRO.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createrouter/SyncCreateRouter.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createrouter/SyncCreateRouterStringRouterString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createrouter/SyncCreateRouterZonenameRouterString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createsubnet/AsyncCreateSubnet.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createsubnet/AsyncCreateSubnetLRO.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createsubnet/SyncCreateSubnet.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createsubnet/SyncCreateSubnetStringSubnetString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createsubnet/SyncCreateSubnetZonenameSubnetString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleteinterconnectattachment/AsyncDeleteInterconnectAttachment.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleteinterconnectattachment/AsyncDeleteInterconnectAttachmentLRO.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleteinterconnectattachment/SyncDeleteInterconnectAttachment.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleteinterconnectattachment/SyncDeleteInterconnectAttachmentInterconnectattachmentname.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleteinterconnectattachment/SyncDeleteInterconnectAttachmentString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletenetwork/AsyncDeleteNetwork.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletenetwork/AsyncDeleteNetworkLRO.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletenetwork/SyncDeleteNetwork.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletenetwork/SyncDeleteNetworkNetworkname.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletenetwork/SyncDeleteNetworkString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleterouter/AsyncDeleteRouter.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleterouter/AsyncDeleteRouterLRO.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleterouter/SyncDeleteRouter.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleterouter/SyncDeleteRouterRoutername.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleterouter/SyncDeleteRouterString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletesubnet/AsyncDeleteSubnet.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletesubnet/AsyncDeleteSubnetLRO.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletesubnet/SyncDeleteSubnet.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletesubnet/SyncDeleteSubnetString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletesubnet/SyncDeleteSubnetSubnetname.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoseinterconnect/AsyncDiagnoseInterconnect.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoseinterconnect/SyncDiagnoseInterconnect.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoseinterconnect/SyncDiagnoseInterconnectInterconnectname.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoseinterconnect/SyncDiagnoseInterconnectString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnosenetwork/AsyncDiagnoseNetwork.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnosenetwork/SyncDiagnoseNetwork.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnosenetwork/SyncDiagnoseNetworkNetworkname.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnosenetwork/SyncDiagnoseNetworkString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoserouter/AsyncDiagnoseRouter.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoserouter/SyncDiagnoseRouter.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoserouter/SyncDiagnoseRouterRoutername.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoserouter/SyncDiagnoseRouterString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnect/AsyncGetInterconnect.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnect/SyncGetInterconnect.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnect/SyncGetInterconnectInterconnectname.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnect/SyncGetInterconnectString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnectattachment/AsyncGetInterconnectAttachment.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnectattachment/SyncGetInterconnectAttachment.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnectattachment/SyncGetInterconnectAttachmentInterconnectattachmentname.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnectattachment/SyncGetInterconnectAttachmentString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getlocation/AsyncGetLocation.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getlocation/SyncGetLocation.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getnetwork/AsyncGetNetwork.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getnetwork/SyncGetNetwork.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getnetwork/SyncGetNetworkNetworkname.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getnetwork/SyncGetNetworkString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getrouter/AsyncGetRouter.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getrouter/SyncGetRouter.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getrouter/SyncGetRouterRoutername.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getrouter/SyncGetRouterString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getsubnet/AsyncGetSubnet.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getsubnet/SyncGetSubnet.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getsubnet/SyncGetSubnetString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getsubnet/SyncGetSubnetSubnetname.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getzone/AsyncGetZone.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getzone/SyncGetZone.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getzone/SyncGetZoneString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getzone/SyncGetZoneZonename.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/initializezone/AsyncInitializeZone.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/initializezone/SyncInitializeZone.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/initializezone/SyncInitializeZoneString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/initializezone/SyncInitializeZoneZonename.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnectattachments/AsyncListInterconnectAttachments.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnectattachments/AsyncListInterconnectAttachmentsPaged.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnectattachments/SyncListInterconnectAttachments.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnectattachments/SyncListInterconnectAttachmentsString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnectattachments/SyncListInterconnectAttachmentsZonename.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnects/AsyncListInterconnects.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnects/AsyncListInterconnectsPaged.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnects/SyncListInterconnects.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnects/SyncListInterconnectsString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnects/SyncListInterconnectsZonename.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listlocations/AsyncListLocations.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listlocations/AsyncListLocationsPaged.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listlocations/SyncListLocations.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listnetworks/AsyncListNetworks.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listnetworks/AsyncListNetworksPaged.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listnetworks/SyncListNetworks.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listnetworks/SyncListNetworksString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listnetworks/SyncListNetworksZonename.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listrouters/AsyncListRouters.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listrouters/AsyncListRoutersPaged.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listrouters/SyncListRouters.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listrouters/SyncListRoutersString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listrouters/SyncListRoutersZonename.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listsubnets/AsyncListSubnets.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listsubnets/AsyncListSubnetsPaged.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listsubnets/SyncListSubnets.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listsubnets/SyncListSubnetsString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listsubnets/SyncListSubnetsZonename.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listzones/AsyncListZones.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listzones/AsyncListZonesPaged.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listzones/SyncListZones.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listzones/SyncListZonesLocationname.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listzones/SyncListZonesString.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updaterouter/AsyncUpdateRouter.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updaterouter/AsyncUpdateRouterLRO.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updaterouter/SyncUpdateRouter.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updaterouter/SyncUpdateRouterRouterFieldmask.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updatesubnet/AsyncUpdateSubnet.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updatesubnet/AsyncUpdateSubnetLRO.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updatesubnet/SyncUpdateSubnet.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updatesubnet/SyncUpdateSubnetSubnetFieldmask.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetworksettings/initializezone/SyncInitializeZone.java (100%) rename {owl-bot-staging/java-edgenetwork/v1 => java-edgenetwork}/samples/snippets/generated/com/google/cloud/edgenetwork/v1/stub/edgenetworkstubsettings/initializezone/SyncInitializeZone.java (100%) delete mode 100644 owl-bot-staging/java-edgenetwork/v1/grpc-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/EdgeNetworkGrpc.java delete mode 100644 owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectAttachmentRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetNetworkRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetRouterRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetSubnetRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetZoneRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneResponseOrBuilder.java delete mode 100644 owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ResourcesProto.java delete mode 100644 owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ServiceProto.java diff --git a/owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/EdgeNetworkClient.java b/java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/EdgeNetworkClient.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/EdgeNetworkClient.java rename to java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/EdgeNetworkClient.java diff --git a/owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/EdgeNetworkSettings.java b/java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/EdgeNetworkSettings.java similarity index 99% rename from owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/EdgeNetworkSettings.java rename to java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/EdgeNetworkSettings.java index 800dcf2ae877..5418a00e75af 100644 --- a/owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/EdgeNetworkSettings.java +++ b/java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/EdgeNetworkSettings.java @@ -35,7 +35,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.edgenetwork.v1.stub.EdgeNetworkStubSettings; diff --git a/owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/gapic_metadata.json b/java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/gapic_metadata.json rename to java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/gapic_metadata.json diff --git a/owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/package-info.java b/java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/package-info.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/package-info.java rename to java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/package-info.java diff --git a/owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/EdgeNetworkStub.java b/java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/EdgeNetworkStub.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/EdgeNetworkStub.java rename to java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/EdgeNetworkStub.java diff --git a/owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/EdgeNetworkStubSettings.java b/java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/EdgeNetworkStubSettings.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/EdgeNetworkStubSettings.java rename to java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/EdgeNetworkStubSettings.java diff --git a/owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/GrpcEdgeNetworkCallableFactory.java b/java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/GrpcEdgeNetworkCallableFactory.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/GrpcEdgeNetworkCallableFactory.java rename to java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/GrpcEdgeNetworkCallableFactory.java diff --git a/owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/GrpcEdgeNetworkStub.java b/java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/GrpcEdgeNetworkStub.java similarity index 99% rename from owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/GrpcEdgeNetworkStub.java rename to java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/GrpcEdgeNetworkStub.java index fd2cbcac6210..f92af2fd5447 100644 --- a/owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/GrpcEdgeNetworkStub.java +++ b/java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/GrpcEdgeNetworkStub.java @@ -85,7 +85,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/java-edgenetwork/v1/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/HttpJsonEdgeNetworkCallableFactory.java b/java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/HttpJsonEdgeNetworkCallableFactory.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/HttpJsonEdgeNetworkCallableFactory.java rename to java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/HttpJsonEdgeNetworkCallableFactory.java diff --git a/owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/HttpJsonEdgeNetworkStub.java b/java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/HttpJsonEdgeNetworkStub.java similarity index 99% rename from owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/HttpJsonEdgeNetworkStub.java rename to java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/HttpJsonEdgeNetworkStub.java index 45bb7b67cfbc..5c8418e8145d 100644 --- a/owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/HttpJsonEdgeNetworkStub.java +++ b/java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/HttpJsonEdgeNetworkStub.java @@ -36,7 +36,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.RequestParamsBuilder; diff --git a/owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/main/resources/META-INF/native-image/com.google.cloud.edgenetwork.v1/reflect-config.json b/java-edgenetwork/google-cloud-edgenetwork/src/main/resources/META-INF/native-image/com.google.cloud.edgenetwork.v1/reflect-config.json similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/main/resources/META-INF/native-image/com.google.cloud.edgenetwork.v1/reflect-config.json rename to java-edgenetwork/google-cloud-edgenetwork/src/main/resources/META-INF/native-image/com.google.cloud.edgenetwork.v1/reflect-config.json diff --git a/owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/EdgeNetworkClientHttpJsonTest.java b/java-edgenetwork/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/EdgeNetworkClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/EdgeNetworkClientHttpJsonTest.java rename to java-edgenetwork/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/EdgeNetworkClientHttpJsonTest.java diff --git a/owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/EdgeNetworkClientTest.java b/java-edgenetwork/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/EdgeNetworkClientTest.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/EdgeNetworkClientTest.java rename to java-edgenetwork/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/EdgeNetworkClientTest.java diff --git a/owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/MockEdgeNetwork.java b/java-edgenetwork/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/MockEdgeNetwork.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/MockEdgeNetwork.java rename to java-edgenetwork/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/MockEdgeNetwork.java diff --git a/owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/MockEdgeNetworkImpl.java b/java-edgenetwork/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/MockEdgeNetworkImpl.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/MockEdgeNetworkImpl.java rename to java-edgenetwork/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/MockEdgeNetworkImpl.java diff --git a/owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/MockLocations.java b/java-edgenetwork/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/MockLocations.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/MockLocations.java rename to java-edgenetwork/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/MockLocations.java diff --git a/owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/MockLocationsImpl.java b/java-edgenetwork/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/MockLocationsImpl.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/MockLocationsImpl.java rename to java-edgenetwork/google-cloud-edgenetwork/src/test/java/com/google/cloud/edgenetwork/v1/MockLocationsImpl.java diff --git a/java-edgenetwork/grpc-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/EdgeNetworkGrpc.java b/java-edgenetwork/grpc-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/EdgeNetworkGrpc.java new file mode 100644 index 000000000000..42b6812083db --- /dev/null +++ b/java-edgenetwork/grpc-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/EdgeNetworkGrpc.java @@ -0,0 +1,3327 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.edgenetwork.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * EdgeNetwork API provides managed, highly available cloud dynamic network
+ * configuration service to the GEC customer to enable edge application and
+ * network function solutions. This allows the customers to easily define and
+ * configure the network setup and property to meet the workload requirement.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/edgenetwork/v1/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class EdgeNetworkGrpc { + + private EdgeNetworkGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.edgenetwork.v1.EdgeNetwork"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.InitializeZoneRequest, + com.google.cloud.edgenetwork.v1.InitializeZoneResponse> + getInitializeZoneMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "InitializeZone", + requestType = com.google.cloud.edgenetwork.v1.InitializeZoneRequest.class, + responseType = com.google.cloud.edgenetwork.v1.InitializeZoneResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.InitializeZoneRequest, + com.google.cloud.edgenetwork.v1.InitializeZoneResponse> + getInitializeZoneMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.InitializeZoneRequest, + com.google.cloud.edgenetwork.v1.InitializeZoneResponse> + getInitializeZoneMethod; + if ((getInitializeZoneMethod = EdgeNetworkGrpc.getInitializeZoneMethod) == null) { + synchronized (EdgeNetworkGrpc.class) { + if ((getInitializeZoneMethod = EdgeNetworkGrpc.getInitializeZoneMethod) == null) { + EdgeNetworkGrpc.getInitializeZoneMethod = + getInitializeZoneMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InitializeZone")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.InitializeZoneRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.InitializeZoneResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new EdgeNetworkMethodDescriptorSupplier("InitializeZone")) + .build(); + } + } + } + return getInitializeZoneMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.ListZonesRequest, + com.google.cloud.edgenetwork.v1.ListZonesResponse> + getListZonesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListZones", + requestType = com.google.cloud.edgenetwork.v1.ListZonesRequest.class, + responseType = com.google.cloud.edgenetwork.v1.ListZonesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.ListZonesRequest, + com.google.cloud.edgenetwork.v1.ListZonesResponse> + getListZonesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.ListZonesRequest, + com.google.cloud.edgenetwork.v1.ListZonesResponse> + getListZonesMethod; + if ((getListZonesMethod = EdgeNetworkGrpc.getListZonesMethod) == null) { + synchronized (EdgeNetworkGrpc.class) { + if ((getListZonesMethod = EdgeNetworkGrpc.getListZonesMethod) == null) { + EdgeNetworkGrpc.getListZonesMethod = + getListZonesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListZones")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.ListZonesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.ListZonesResponse + .getDefaultInstance())) + .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("ListZones")) + .build(); + } + } + } + return getListZonesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.GetZoneRequest, com.google.cloud.edgenetwork.v1.Zone> + getGetZoneMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetZone", + requestType = com.google.cloud.edgenetwork.v1.GetZoneRequest.class, + responseType = com.google.cloud.edgenetwork.v1.Zone.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.GetZoneRequest, com.google.cloud.edgenetwork.v1.Zone> + getGetZoneMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.GetZoneRequest, com.google.cloud.edgenetwork.v1.Zone> + getGetZoneMethod; + if ((getGetZoneMethod = EdgeNetworkGrpc.getGetZoneMethod) == null) { + synchronized (EdgeNetworkGrpc.class) { + if ((getGetZoneMethod = EdgeNetworkGrpc.getGetZoneMethod) == null) { + EdgeNetworkGrpc.getGetZoneMethod = + getGetZoneMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetZone")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.GetZoneRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.Zone.getDefaultInstance())) + .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("GetZone")) + .build(); + } + } + } + return getGetZoneMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.ListNetworksRequest, + com.google.cloud.edgenetwork.v1.ListNetworksResponse> + getListNetworksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListNetworks", + requestType = com.google.cloud.edgenetwork.v1.ListNetworksRequest.class, + responseType = com.google.cloud.edgenetwork.v1.ListNetworksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.ListNetworksRequest, + com.google.cloud.edgenetwork.v1.ListNetworksResponse> + getListNetworksMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.ListNetworksRequest, + com.google.cloud.edgenetwork.v1.ListNetworksResponse> + getListNetworksMethod; + if ((getListNetworksMethod = EdgeNetworkGrpc.getListNetworksMethod) == null) { + synchronized (EdgeNetworkGrpc.class) { + if ((getListNetworksMethod = EdgeNetworkGrpc.getListNetworksMethod) == null) { + EdgeNetworkGrpc.getListNetworksMethod = + getListNetworksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListNetworks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.ListNetworksRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.ListNetworksResponse + .getDefaultInstance())) + .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("ListNetworks")) + .build(); + } + } + } + return getListNetworksMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.GetNetworkRequest, + com.google.cloud.edgenetwork.v1.Network> + getGetNetworkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetNetwork", + requestType = com.google.cloud.edgenetwork.v1.GetNetworkRequest.class, + responseType = com.google.cloud.edgenetwork.v1.Network.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.GetNetworkRequest, + com.google.cloud.edgenetwork.v1.Network> + getGetNetworkMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.GetNetworkRequest, + com.google.cloud.edgenetwork.v1.Network> + getGetNetworkMethod; + if ((getGetNetworkMethod = EdgeNetworkGrpc.getGetNetworkMethod) == null) { + synchronized (EdgeNetworkGrpc.class) { + if ((getGetNetworkMethod = EdgeNetworkGrpc.getGetNetworkMethod) == null) { + EdgeNetworkGrpc.getGetNetworkMethod = + getGetNetworkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNetwork")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.GetNetworkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.Network.getDefaultInstance())) + .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("GetNetwork")) + .build(); + } + } + } + return getGetNetworkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest, + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse> + getDiagnoseNetworkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DiagnoseNetwork", + requestType = com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest.class, + responseType = com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest, + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse> + getDiagnoseNetworkMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest, + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse> + getDiagnoseNetworkMethod; + if ((getDiagnoseNetworkMethod = EdgeNetworkGrpc.getDiagnoseNetworkMethod) == null) { + synchronized (EdgeNetworkGrpc.class) { + if ((getDiagnoseNetworkMethod = EdgeNetworkGrpc.getDiagnoseNetworkMethod) == null) { + EdgeNetworkGrpc.getDiagnoseNetworkMethod = + getDiagnoseNetworkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DiagnoseNetwork")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new EdgeNetworkMethodDescriptorSupplier("DiagnoseNetwork")) + .build(); + } + } + } + return getDiagnoseNetworkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.CreateNetworkRequest, com.google.longrunning.Operation> + getCreateNetworkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateNetwork", + requestType = com.google.cloud.edgenetwork.v1.CreateNetworkRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.CreateNetworkRequest, com.google.longrunning.Operation> + getCreateNetworkMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.CreateNetworkRequest, com.google.longrunning.Operation> + getCreateNetworkMethod; + if ((getCreateNetworkMethod = EdgeNetworkGrpc.getCreateNetworkMethod) == null) { + synchronized (EdgeNetworkGrpc.class) { + if ((getCreateNetworkMethod = EdgeNetworkGrpc.getCreateNetworkMethod) == null) { + EdgeNetworkGrpc.getCreateNetworkMethod = + getCreateNetworkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateNetwork")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.CreateNetworkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("CreateNetwork")) + .build(); + } + } + } + return getCreateNetworkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.DeleteNetworkRequest, com.google.longrunning.Operation> + getDeleteNetworkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteNetwork", + requestType = com.google.cloud.edgenetwork.v1.DeleteNetworkRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.DeleteNetworkRequest, com.google.longrunning.Operation> + getDeleteNetworkMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.DeleteNetworkRequest, com.google.longrunning.Operation> + getDeleteNetworkMethod; + if ((getDeleteNetworkMethod = EdgeNetworkGrpc.getDeleteNetworkMethod) == null) { + synchronized (EdgeNetworkGrpc.class) { + if ((getDeleteNetworkMethod = EdgeNetworkGrpc.getDeleteNetworkMethod) == null) { + EdgeNetworkGrpc.getDeleteNetworkMethod = + getDeleteNetworkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteNetwork")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.DeleteNetworkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("DeleteNetwork")) + .build(); + } + } + } + return getDeleteNetworkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.ListSubnetsRequest, + com.google.cloud.edgenetwork.v1.ListSubnetsResponse> + getListSubnetsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListSubnets", + requestType = com.google.cloud.edgenetwork.v1.ListSubnetsRequest.class, + responseType = com.google.cloud.edgenetwork.v1.ListSubnetsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.ListSubnetsRequest, + com.google.cloud.edgenetwork.v1.ListSubnetsResponse> + getListSubnetsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.ListSubnetsRequest, + com.google.cloud.edgenetwork.v1.ListSubnetsResponse> + getListSubnetsMethod; + if ((getListSubnetsMethod = EdgeNetworkGrpc.getListSubnetsMethod) == null) { + synchronized (EdgeNetworkGrpc.class) { + if ((getListSubnetsMethod = EdgeNetworkGrpc.getListSubnetsMethod) == null) { + EdgeNetworkGrpc.getListSubnetsMethod = + getListSubnetsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSubnets")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.ListSubnetsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.ListSubnetsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("ListSubnets")) + .build(); + } + } + } + return getListSubnetsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.GetSubnetRequest, com.google.cloud.edgenetwork.v1.Subnet> + getGetSubnetMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetSubnet", + requestType = com.google.cloud.edgenetwork.v1.GetSubnetRequest.class, + responseType = com.google.cloud.edgenetwork.v1.Subnet.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.GetSubnetRequest, com.google.cloud.edgenetwork.v1.Subnet> + getGetSubnetMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.GetSubnetRequest, + com.google.cloud.edgenetwork.v1.Subnet> + getGetSubnetMethod; + if ((getGetSubnetMethod = EdgeNetworkGrpc.getGetSubnetMethod) == null) { + synchronized (EdgeNetworkGrpc.class) { + if ((getGetSubnetMethod = EdgeNetworkGrpc.getGetSubnetMethod) == null) { + EdgeNetworkGrpc.getGetSubnetMethod = + getGetSubnetMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSubnet")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.GetSubnetRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.Subnet.getDefaultInstance())) + .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("GetSubnet")) + .build(); + } + } + } + return getGetSubnetMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.CreateSubnetRequest, com.google.longrunning.Operation> + getCreateSubnetMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateSubnet", + requestType = com.google.cloud.edgenetwork.v1.CreateSubnetRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.CreateSubnetRequest, com.google.longrunning.Operation> + getCreateSubnetMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.CreateSubnetRequest, com.google.longrunning.Operation> + getCreateSubnetMethod; + if ((getCreateSubnetMethod = EdgeNetworkGrpc.getCreateSubnetMethod) == null) { + synchronized (EdgeNetworkGrpc.class) { + if ((getCreateSubnetMethod = EdgeNetworkGrpc.getCreateSubnetMethod) == null) { + EdgeNetworkGrpc.getCreateSubnetMethod = + getCreateSubnetMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSubnet")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.CreateSubnetRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("CreateSubnet")) + .build(); + } + } + } + return getCreateSubnetMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.UpdateSubnetRequest, com.google.longrunning.Operation> + getUpdateSubnetMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateSubnet", + requestType = com.google.cloud.edgenetwork.v1.UpdateSubnetRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.UpdateSubnetRequest, com.google.longrunning.Operation> + getUpdateSubnetMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.UpdateSubnetRequest, com.google.longrunning.Operation> + getUpdateSubnetMethod; + if ((getUpdateSubnetMethod = EdgeNetworkGrpc.getUpdateSubnetMethod) == null) { + synchronized (EdgeNetworkGrpc.class) { + if ((getUpdateSubnetMethod = EdgeNetworkGrpc.getUpdateSubnetMethod) == null) { + EdgeNetworkGrpc.getUpdateSubnetMethod = + getUpdateSubnetMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateSubnet")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.UpdateSubnetRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("UpdateSubnet")) + .build(); + } + } + } + return getUpdateSubnetMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.DeleteSubnetRequest, com.google.longrunning.Operation> + getDeleteSubnetMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteSubnet", + requestType = com.google.cloud.edgenetwork.v1.DeleteSubnetRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.DeleteSubnetRequest, com.google.longrunning.Operation> + getDeleteSubnetMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.DeleteSubnetRequest, com.google.longrunning.Operation> + getDeleteSubnetMethod; + if ((getDeleteSubnetMethod = EdgeNetworkGrpc.getDeleteSubnetMethod) == null) { + synchronized (EdgeNetworkGrpc.class) { + if ((getDeleteSubnetMethod = EdgeNetworkGrpc.getDeleteSubnetMethod) == null) { + EdgeNetworkGrpc.getDeleteSubnetMethod = + getDeleteSubnetMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteSubnet")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.DeleteSubnetRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("DeleteSubnet")) + .build(); + } + } + } + return getDeleteSubnetMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.ListInterconnectsRequest, + com.google.cloud.edgenetwork.v1.ListInterconnectsResponse> + getListInterconnectsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInterconnects", + requestType = com.google.cloud.edgenetwork.v1.ListInterconnectsRequest.class, + responseType = com.google.cloud.edgenetwork.v1.ListInterconnectsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.ListInterconnectsRequest, + com.google.cloud.edgenetwork.v1.ListInterconnectsResponse> + getListInterconnectsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.ListInterconnectsRequest, + com.google.cloud.edgenetwork.v1.ListInterconnectsResponse> + getListInterconnectsMethod; + if ((getListInterconnectsMethod = EdgeNetworkGrpc.getListInterconnectsMethod) == null) { + synchronized (EdgeNetworkGrpc.class) { + if ((getListInterconnectsMethod = EdgeNetworkGrpc.getListInterconnectsMethod) == null) { + EdgeNetworkGrpc.getListInterconnectsMethod = + getListInterconnectsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInterconnects")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.ListInterconnectsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.ListInterconnectsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new EdgeNetworkMethodDescriptorSupplier("ListInterconnects")) + .build(); + } + } + } + return getListInterconnectsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.GetInterconnectRequest, + com.google.cloud.edgenetwork.v1.Interconnect> + getGetInterconnectMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInterconnect", + requestType = com.google.cloud.edgenetwork.v1.GetInterconnectRequest.class, + responseType = com.google.cloud.edgenetwork.v1.Interconnect.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.GetInterconnectRequest, + com.google.cloud.edgenetwork.v1.Interconnect> + getGetInterconnectMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.GetInterconnectRequest, + com.google.cloud.edgenetwork.v1.Interconnect> + getGetInterconnectMethod; + if ((getGetInterconnectMethod = EdgeNetworkGrpc.getGetInterconnectMethod) == null) { + synchronized (EdgeNetworkGrpc.class) { + if ((getGetInterconnectMethod = EdgeNetworkGrpc.getGetInterconnectMethod) == null) { + EdgeNetworkGrpc.getGetInterconnectMethod = + getGetInterconnectMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInterconnect")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.GetInterconnectRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.Interconnect.getDefaultInstance())) + .setSchemaDescriptor( + new EdgeNetworkMethodDescriptorSupplier("GetInterconnect")) + .build(); + } + } + } + return getGetInterconnectMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest, + com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse> + getDiagnoseInterconnectMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DiagnoseInterconnect", + requestType = com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest.class, + responseType = com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest, + com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse> + getDiagnoseInterconnectMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest, + com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse> + getDiagnoseInterconnectMethod; + if ((getDiagnoseInterconnectMethod = EdgeNetworkGrpc.getDiagnoseInterconnectMethod) == null) { + synchronized (EdgeNetworkGrpc.class) { + if ((getDiagnoseInterconnectMethod = EdgeNetworkGrpc.getDiagnoseInterconnectMethod) + == null) { + EdgeNetworkGrpc.getDiagnoseInterconnectMethod = + getDiagnoseInterconnectMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DiagnoseInterconnect")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new EdgeNetworkMethodDescriptorSupplier("DiagnoseInterconnect")) + .build(); + } + } + } + return getDiagnoseInterconnectMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest, + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse> + getListInterconnectAttachmentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInterconnectAttachments", + requestType = com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest.class, + responseType = com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest, + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse> + getListInterconnectAttachmentsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest, + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse> + getListInterconnectAttachmentsMethod; + if ((getListInterconnectAttachmentsMethod = + EdgeNetworkGrpc.getListInterconnectAttachmentsMethod) + == null) { + synchronized (EdgeNetworkGrpc.class) { + if ((getListInterconnectAttachmentsMethod = + EdgeNetworkGrpc.getListInterconnectAttachmentsMethod) + == null) { + EdgeNetworkGrpc.getListInterconnectAttachmentsMethod = + getListInterconnectAttachmentsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListInterconnectAttachments")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new EdgeNetworkMethodDescriptorSupplier("ListInterconnectAttachments")) + .build(); + } + } + } + return getListInterconnectAttachmentsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest, + com.google.cloud.edgenetwork.v1.InterconnectAttachment> + getGetInterconnectAttachmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInterconnectAttachment", + requestType = com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest.class, + responseType = com.google.cloud.edgenetwork.v1.InterconnectAttachment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest, + com.google.cloud.edgenetwork.v1.InterconnectAttachment> + getGetInterconnectAttachmentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest, + com.google.cloud.edgenetwork.v1.InterconnectAttachment> + getGetInterconnectAttachmentMethod; + if ((getGetInterconnectAttachmentMethod = EdgeNetworkGrpc.getGetInterconnectAttachmentMethod) + == null) { + synchronized (EdgeNetworkGrpc.class) { + if ((getGetInterconnectAttachmentMethod = + EdgeNetworkGrpc.getGetInterconnectAttachmentMethod) + == null) { + EdgeNetworkGrpc.getGetInterconnectAttachmentMethod = + getGetInterconnectAttachmentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetInterconnectAttachment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.InterconnectAttachment + .getDefaultInstance())) + .setSchemaDescriptor( + new EdgeNetworkMethodDescriptorSupplier("GetInterconnectAttachment")) + .build(); + } + } + } + return getGetInterconnectAttachmentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest, + com.google.longrunning.Operation> + getCreateInterconnectAttachmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateInterconnectAttachment", + requestType = com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest, + com.google.longrunning.Operation> + getCreateInterconnectAttachmentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest, + com.google.longrunning.Operation> + getCreateInterconnectAttachmentMethod; + if ((getCreateInterconnectAttachmentMethod = + EdgeNetworkGrpc.getCreateInterconnectAttachmentMethod) + == null) { + synchronized (EdgeNetworkGrpc.class) { + if ((getCreateInterconnectAttachmentMethod = + EdgeNetworkGrpc.getCreateInterconnectAttachmentMethod) + == null) { + EdgeNetworkGrpc.getCreateInterconnectAttachmentMethod = + getCreateInterconnectAttachmentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateInterconnectAttachment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new EdgeNetworkMethodDescriptorSupplier("CreateInterconnectAttachment")) + .build(); + } + } + } + return getCreateInterconnectAttachmentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest, + com.google.longrunning.Operation> + getDeleteInterconnectAttachmentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteInterconnectAttachment", + requestType = com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest, + com.google.longrunning.Operation> + getDeleteInterconnectAttachmentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest, + com.google.longrunning.Operation> + getDeleteInterconnectAttachmentMethod; + if ((getDeleteInterconnectAttachmentMethod = + EdgeNetworkGrpc.getDeleteInterconnectAttachmentMethod) + == null) { + synchronized (EdgeNetworkGrpc.class) { + if ((getDeleteInterconnectAttachmentMethod = + EdgeNetworkGrpc.getDeleteInterconnectAttachmentMethod) + == null) { + EdgeNetworkGrpc.getDeleteInterconnectAttachmentMethod = + getDeleteInterconnectAttachmentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteInterconnectAttachment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new EdgeNetworkMethodDescriptorSupplier("DeleteInterconnectAttachment")) + .build(); + } + } + } + return getDeleteInterconnectAttachmentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.ListRoutersRequest, + com.google.cloud.edgenetwork.v1.ListRoutersResponse> + getListRoutersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRouters", + requestType = com.google.cloud.edgenetwork.v1.ListRoutersRequest.class, + responseType = com.google.cloud.edgenetwork.v1.ListRoutersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.ListRoutersRequest, + com.google.cloud.edgenetwork.v1.ListRoutersResponse> + getListRoutersMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.ListRoutersRequest, + com.google.cloud.edgenetwork.v1.ListRoutersResponse> + getListRoutersMethod; + if ((getListRoutersMethod = EdgeNetworkGrpc.getListRoutersMethod) == null) { + synchronized (EdgeNetworkGrpc.class) { + if ((getListRoutersMethod = EdgeNetworkGrpc.getListRoutersMethod) == null) { + EdgeNetworkGrpc.getListRoutersMethod = + getListRoutersMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRouters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.ListRoutersRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.ListRoutersResponse + .getDefaultInstance())) + .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("ListRouters")) + .build(); + } + } + } + return getListRoutersMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.GetRouterRequest, com.google.cloud.edgenetwork.v1.Router> + getGetRouterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRouter", + requestType = com.google.cloud.edgenetwork.v1.GetRouterRequest.class, + responseType = com.google.cloud.edgenetwork.v1.Router.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.GetRouterRequest, com.google.cloud.edgenetwork.v1.Router> + getGetRouterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.GetRouterRequest, + com.google.cloud.edgenetwork.v1.Router> + getGetRouterMethod; + if ((getGetRouterMethod = EdgeNetworkGrpc.getGetRouterMethod) == null) { + synchronized (EdgeNetworkGrpc.class) { + if ((getGetRouterMethod = EdgeNetworkGrpc.getGetRouterMethod) == null) { + EdgeNetworkGrpc.getGetRouterMethod = + getGetRouterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRouter")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.GetRouterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.Router.getDefaultInstance())) + .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("GetRouter")) + .build(); + } + } + } + return getGetRouterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest, + com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse> + getDiagnoseRouterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DiagnoseRouter", + requestType = com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest.class, + responseType = com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest, + com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse> + getDiagnoseRouterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest, + com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse> + getDiagnoseRouterMethod; + if ((getDiagnoseRouterMethod = EdgeNetworkGrpc.getDiagnoseRouterMethod) == null) { + synchronized (EdgeNetworkGrpc.class) { + if ((getDiagnoseRouterMethod = EdgeNetworkGrpc.getDiagnoseRouterMethod) == null) { + EdgeNetworkGrpc.getDiagnoseRouterMethod = + getDiagnoseRouterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DiagnoseRouter")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new EdgeNetworkMethodDescriptorSupplier("DiagnoseRouter")) + .build(); + } + } + } + return getDiagnoseRouterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.CreateRouterRequest, com.google.longrunning.Operation> + getCreateRouterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateRouter", + requestType = com.google.cloud.edgenetwork.v1.CreateRouterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.CreateRouterRequest, com.google.longrunning.Operation> + getCreateRouterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.CreateRouterRequest, com.google.longrunning.Operation> + getCreateRouterMethod; + if ((getCreateRouterMethod = EdgeNetworkGrpc.getCreateRouterMethod) == null) { + synchronized (EdgeNetworkGrpc.class) { + if ((getCreateRouterMethod = EdgeNetworkGrpc.getCreateRouterMethod) == null) { + EdgeNetworkGrpc.getCreateRouterMethod = + getCreateRouterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRouter")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.CreateRouterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("CreateRouter")) + .build(); + } + } + } + return getCreateRouterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.UpdateRouterRequest, com.google.longrunning.Operation> + getUpdateRouterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateRouter", + requestType = com.google.cloud.edgenetwork.v1.UpdateRouterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.UpdateRouterRequest, com.google.longrunning.Operation> + getUpdateRouterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.UpdateRouterRequest, com.google.longrunning.Operation> + getUpdateRouterMethod; + if ((getUpdateRouterMethod = EdgeNetworkGrpc.getUpdateRouterMethod) == null) { + synchronized (EdgeNetworkGrpc.class) { + if ((getUpdateRouterMethod = EdgeNetworkGrpc.getUpdateRouterMethod) == null) { + EdgeNetworkGrpc.getUpdateRouterMethod = + getUpdateRouterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRouter")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.UpdateRouterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("UpdateRouter")) + .build(); + } + } + } + return getUpdateRouterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.DeleteRouterRequest, com.google.longrunning.Operation> + getDeleteRouterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRouter", + requestType = com.google.cloud.edgenetwork.v1.DeleteRouterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.DeleteRouterRequest, com.google.longrunning.Operation> + getDeleteRouterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgenetwork.v1.DeleteRouterRequest, com.google.longrunning.Operation> + getDeleteRouterMethod; + if ((getDeleteRouterMethod = EdgeNetworkGrpc.getDeleteRouterMethod) == null) { + synchronized (EdgeNetworkGrpc.class) { + if ((getDeleteRouterMethod = EdgeNetworkGrpc.getDeleteRouterMethod) == null) { + EdgeNetworkGrpc.getDeleteRouterMethod = + getDeleteRouterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRouter")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgenetwork.v1.DeleteRouterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("DeleteRouter")) + .build(); + } + } + } + return getDeleteRouterMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static EdgeNetworkStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EdgeNetworkStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EdgeNetworkStub(channel, callOptions); + } + }; + return EdgeNetworkStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static EdgeNetworkBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EdgeNetworkBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EdgeNetworkBlockingStub(channel, callOptions); + } + }; + return EdgeNetworkBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static EdgeNetworkFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EdgeNetworkFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EdgeNetworkFutureStub(channel, callOptions); + } + }; + return EdgeNetworkFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * EdgeNetwork API provides managed, highly available cloud dynamic network
+   * configuration service to the GEC customer to enable edge application and
+   * network function solutions. This allows the customers to easily define and
+   * configure the network setup and property to meet the workload requirement.
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * InitializeZone will initialize resources for a zone in a project.
+     * 
+ */ + default void initializeZone( + com.google.cloud.edgenetwork.v1.InitializeZoneRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getInitializeZoneMethod(), responseObserver); + } + + /** + * + * + *
+     * Deprecated: not implemented.
+     * Lists Zones in a given project and location.
+     * 
+ */ + @java.lang.Deprecated + default void listZones( + com.google.cloud.edgenetwork.v1.ListZonesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListZonesMethod(), responseObserver); + } + + /** + * + * + *
+     * Deprecated: not implemented.
+     * Gets details of a single Zone.
+     * 
+ */ + @java.lang.Deprecated + default void getZone( + com.google.cloud.edgenetwork.v1.GetZoneRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetZoneMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Networks in a given project and location.
+     * 
+ */ + default void listNetworks( + com.google.cloud.edgenetwork.v1.ListNetworksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListNetworksMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Network.
+     * 
+ */ + default void getNetwork( + com.google.cloud.edgenetwork.v1.GetNetworkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetNetworkMethod(), responseObserver); + } + + /** + * + * + *
+     * Get the diagnostics of a single network resource.
+     * 
+ */ + default void diagnoseNetwork( + com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDiagnoseNetworkMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Network in a given project and location.
+     * 
+ */ + default void createNetwork( + com.google.cloud.edgenetwork.v1.CreateNetworkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateNetworkMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single Network.
+     * 
+ */ + default void deleteNetwork( + com.google.cloud.edgenetwork.v1.DeleteNetworkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteNetworkMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Subnets in a given project and location.
+     * 
+ */ + default void listSubnets( + com.google.cloud.edgenetwork.v1.ListSubnetsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListSubnetsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Subnet.
+     * 
+ */ + default void getSubnet( + com.google.cloud.edgenetwork.v1.GetSubnetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSubnetMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Subnet in a given project and location.
+     * 
+ */ + default void createSubnet( + com.google.cloud.edgenetwork.v1.CreateSubnetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateSubnetMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Subnet.
+     * 
+ */ + default void updateSubnet( + com.google.cloud.edgenetwork.v1.UpdateSubnetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateSubnetMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single Subnet.
+     * 
+ */ + default void deleteSubnet( + com.google.cloud.edgenetwork.v1.DeleteSubnetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteSubnetMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Interconnects in a given project and location.
+     * 
+ */ + default void listInterconnects( + com.google.cloud.edgenetwork.v1.ListInterconnectsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListInterconnectsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Interconnect.
+     * 
+ */ + default void getInterconnect( + com.google.cloud.edgenetwork.v1.GetInterconnectRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetInterconnectMethod(), responseObserver); + } + + /** + * + * + *
+     * Get the diagnostics of a single interconnect resource.
+     * 
+ */ + default void diagnoseInterconnect( + com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDiagnoseInterconnectMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists InterconnectAttachments in a given project and location.
+     * 
+ */ + default void listInterconnectAttachments( + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListInterconnectAttachmentsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single InterconnectAttachment.
+     * 
+ */ + default void getInterconnectAttachment( + com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetInterconnectAttachmentMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new InterconnectAttachment in a given project and location.
+     * 
+ */ + default void createInterconnectAttachment( + com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateInterconnectAttachmentMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single InterconnectAttachment.
+     * 
+ */ + default void deleteInterconnectAttachment( + com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteInterconnectAttachmentMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Routers in a given project and location.
+     * 
+ */ + default void listRouters( + com.google.cloud.edgenetwork.v1.ListRoutersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListRoutersMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Router.
+     * 
+ */ + default void getRouter( + com.google.cloud.edgenetwork.v1.GetRouterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRouterMethod(), responseObserver); + } + + /** + * + * + *
+     * Get the diagnostics of a single router resource.
+     * 
+ */ + default void diagnoseRouter( + com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDiagnoseRouterMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Router in a given project and location.
+     * 
+ */ + default void createRouter( + com.google.cloud.edgenetwork.v1.CreateRouterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateRouterMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Router.
+     * 
+ */ + default void updateRouter( + com.google.cloud.edgenetwork.v1.UpdateRouterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateRouterMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single Router.
+     * 
+ */ + default void deleteRouter( + com.google.cloud.edgenetwork.v1.DeleteRouterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteRouterMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service EdgeNetwork. + * + *
+   * EdgeNetwork API provides managed, highly available cloud dynamic network
+   * configuration service to the GEC customer to enable edge application and
+   * network function solutions. This allows the customers to easily define and
+   * configure the network setup and property to meet the workload requirement.
+   * 
+ */ + public abstract static class EdgeNetworkImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return EdgeNetworkGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service EdgeNetwork. + * + *
+   * EdgeNetwork API provides managed, highly available cloud dynamic network
+   * configuration service to the GEC customer to enable edge application and
+   * network function solutions. This allows the customers to easily define and
+   * configure the network setup and property to meet the workload requirement.
+   * 
+ */ + public static final class EdgeNetworkStub + extends io.grpc.stub.AbstractAsyncStub { + private EdgeNetworkStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected EdgeNetworkStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EdgeNetworkStub(channel, callOptions); + } + + /** + * + * + *
+     * InitializeZone will initialize resources for a zone in a project.
+     * 
+ */ + public void initializeZone( + com.google.cloud.edgenetwork.v1.InitializeZoneRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getInitializeZoneMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deprecated: not implemented.
+     * Lists Zones in a given project and location.
+     * 
+ */ + @java.lang.Deprecated + public void listZones( + com.google.cloud.edgenetwork.v1.ListZonesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListZonesMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deprecated: not implemented.
+     * Gets details of a single Zone.
+     * 
+ */ + @java.lang.Deprecated + public void getZone( + com.google.cloud.edgenetwork.v1.GetZoneRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetZoneMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists Networks in a given project and location.
+     * 
+ */ + public void listNetworks( + com.google.cloud.edgenetwork.v1.ListNetworksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListNetworksMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Network.
+     * 
+ */ + public void getNetwork( + com.google.cloud.edgenetwork.v1.GetNetworkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetNetworkMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Get the diagnostics of a single network resource.
+     * 
+ */ + public void diagnoseNetwork( + com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDiagnoseNetworkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new Network in a given project and location.
+     * 
+ */ + public void createNetwork( + com.google.cloud.edgenetwork.v1.CreateNetworkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateNetworkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single Network.
+     * 
+ */ + public void deleteNetwork( + com.google.cloud.edgenetwork.v1.DeleteNetworkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteNetworkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists Subnets in a given project and location.
+     * 
+ */ + public void listSubnets( + com.google.cloud.edgenetwork.v1.ListSubnetsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListSubnetsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Subnet.
+     * 
+ */ + public void getSubnet( + com.google.cloud.edgenetwork.v1.GetSubnetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetSubnetMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a new Subnet in a given project and location.
+     * 
+ */ + public void createSubnet( + com.google.cloud.edgenetwork.v1.CreateSubnetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateSubnetMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Subnet.
+     * 
+ */ + public void updateSubnet( + com.google.cloud.edgenetwork.v1.UpdateSubnetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateSubnetMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single Subnet.
+     * 
+ */ + public void deleteSubnet( + com.google.cloud.edgenetwork.v1.DeleteSubnetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteSubnetMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists Interconnects in a given project and location.
+     * 
+ */ + public void listInterconnects( + com.google.cloud.edgenetwork.v1.ListInterconnectsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInterconnectsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Interconnect.
+     * 
+ */ + public void getInterconnect( + com.google.cloud.edgenetwork.v1.GetInterconnectRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInterconnectMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get the diagnostics of a single interconnect resource.
+     * 
+ */ + public void diagnoseInterconnect( + com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDiagnoseInterconnectMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists InterconnectAttachments in a given project and location.
+     * 
+ */ + public void listInterconnectAttachments( + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInterconnectAttachmentsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single InterconnectAttachment.
+     * 
+ */ + public void getInterconnectAttachment( + com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInterconnectAttachmentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new InterconnectAttachment in a given project and location.
+     * 
+ */ + public void createInterconnectAttachment( + com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateInterconnectAttachmentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single InterconnectAttachment.
+     * 
+ */ + public void deleteInterconnectAttachment( + com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteInterconnectAttachmentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists Routers in a given project and location.
+     * 
+ */ + public void listRouters( + com.google.cloud.edgenetwork.v1.ListRoutersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRoutersMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Router.
+     * 
+ */ + public void getRouter( + com.google.cloud.edgenetwork.v1.GetRouterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRouterMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Get the diagnostics of a single router resource.
+     * 
+ */ + public void diagnoseRouter( + com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDiagnoseRouterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new Router in a given project and location.
+     * 
+ */ + public void createRouter( + com.google.cloud.edgenetwork.v1.CreateRouterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateRouterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Router.
+     * 
+ */ + public void updateRouter( + com.google.cloud.edgenetwork.v1.UpdateRouterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateRouterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single Router.
+     * 
+ */ + public void deleteRouter( + com.google.cloud.edgenetwork.v1.DeleteRouterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRouterMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service EdgeNetwork. + * + *
+   * EdgeNetwork API provides managed, highly available cloud dynamic network
+   * configuration service to the GEC customer to enable edge application and
+   * network function solutions. This allows the customers to easily define and
+   * configure the network setup and property to meet the workload requirement.
+   * 
+ */ + public static final class EdgeNetworkBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private EdgeNetworkBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected EdgeNetworkBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EdgeNetworkBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * InitializeZone will initialize resources for a zone in a project.
+     * 
+ */ + public com.google.cloud.edgenetwork.v1.InitializeZoneResponse initializeZone( + com.google.cloud.edgenetwork.v1.InitializeZoneRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getInitializeZoneMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deprecated: not implemented.
+     * Lists Zones in a given project and location.
+     * 
+ */ + @java.lang.Deprecated + public com.google.cloud.edgenetwork.v1.ListZonesResponse listZones( + com.google.cloud.edgenetwork.v1.ListZonesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListZonesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deprecated: not implemented.
+     * Gets details of a single Zone.
+     * 
+ */ + @java.lang.Deprecated + public com.google.cloud.edgenetwork.v1.Zone getZone( + com.google.cloud.edgenetwork.v1.GetZoneRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetZoneMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists Networks in a given project and location.
+     * 
+ */ + public com.google.cloud.edgenetwork.v1.ListNetworksResponse listNetworks( + com.google.cloud.edgenetwork.v1.ListNetworksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListNetworksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single Network.
+     * 
+ */ + public com.google.cloud.edgenetwork.v1.Network getNetwork( + com.google.cloud.edgenetwork.v1.GetNetworkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetNetworkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get the diagnostics of a single network resource.
+     * 
+ */ + public com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse diagnoseNetwork( + com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDiagnoseNetworkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Network in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createNetwork( + com.google.cloud.edgenetwork.v1.CreateNetworkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateNetworkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single Network.
+     * 
+ */ + public com.google.longrunning.Operation deleteNetwork( + com.google.cloud.edgenetwork.v1.DeleteNetworkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteNetworkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists Subnets in a given project and location.
+     * 
+ */ + public com.google.cloud.edgenetwork.v1.ListSubnetsResponse listSubnets( + com.google.cloud.edgenetwork.v1.ListSubnetsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListSubnetsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single Subnet.
+     * 
+ */ + public com.google.cloud.edgenetwork.v1.Subnet getSubnet( + com.google.cloud.edgenetwork.v1.GetSubnetRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetSubnetMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Subnet in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createSubnet( + com.google.cloud.edgenetwork.v1.CreateSubnetRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateSubnetMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Subnet.
+     * 
+ */ + public com.google.longrunning.Operation updateSubnet( + com.google.cloud.edgenetwork.v1.UpdateSubnetRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateSubnetMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single Subnet.
+     * 
+ */ + public com.google.longrunning.Operation deleteSubnet( + com.google.cloud.edgenetwork.v1.DeleteSubnetRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteSubnetMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists Interconnects in a given project and location.
+     * 
+ */ + public com.google.cloud.edgenetwork.v1.ListInterconnectsResponse listInterconnects( + com.google.cloud.edgenetwork.v1.ListInterconnectsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInterconnectsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single Interconnect.
+     * 
+ */ + public com.google.cloud.edgenetwork.v1.Interconnect getInterconnect( + com.google.cloud.edgenetwork.v1.GetInterconnectRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInterconnectMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get the diagnostics of a single interconnect resource.
+     * 
+ */ + public com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse diagnoseInterconnect( + com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDiagnoseInterconnectMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists InterconnectAttachments in a given project and location.
+     * 
+ */ + public com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse + listInterconnectAttachments( + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInterconnectAttachmentsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single InterconnectAttachment.
+     * 
+ */ + public com.google.cloud.edgenetwork.v1.InterconnectAttachment getInterconnectAttachment( + com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInterconnectAttachmentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new InterconnectAttachment in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createInterconnectAttachment( + com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateInterconnectAttachmentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single InterconnectAttachment.
+     * 
+ */ + public com.google.longrunning.Operation deleteInterconnectAttachment( + com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteInterconnectAttachmentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists Routers in a given project and location.
+     * 
+ */ + public com.google.cloud.edgenetwork.v1.ListRoutersResponse listRouters( + com.google.cloud.edgenetwork.v1.ListRoutersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRoutersMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single Router.
+     * 
+ */ + public com.google.cloud.edgenetwork.v1.Router getRouter( + com.google.cloud.edgenetwork.v1.GetRouterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRouterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get the diagnostics of a single router resource.
+     * 
+ */ + public com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse diagnoseRouter( + com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDiagnoseRouterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Router in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createRouter( + com.google.cloud.edgenetwork.v1.CreateRouterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateRouterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Router.
+     * 
+ */ + public com.google.longrunning.Operation updateRouter( + com.google.cloud.edgenetwork.v1.UpdateRouterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateRouterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single Router.
+     * 
+ */ + public com.google.longrunning.Operation deleteRouter( + com.google.cloud.edgenetwork.v1.DeleteRouterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRouterMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service EdgeNetwork. + * + *
+   * EdgeNetwork API provides managed, highly available cloud dynamic network
+   * configuration service to the GEC customer to enable edge application and
+   * network function solutions. This allows the customers to easily define and
+   * configure the network setup and property to meet the workload requirement.
+   * 
+ */ + public static final class EdgeNetworkFutureStub + extends io.grpc.stub.AbstractFutureStub { + private EdgeNetworkFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected EdgeNetworkFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EdgeNetworkFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * InitializeZone will initialize resources for a zone in a project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.edgenetwork.v1.InitializeZoneResponse> + initializeZone(com.google.cloud.edgenetwork.v1.InitializeZoneRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getInitializeZoneMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deprecated: not implemented.
+     * Lists Zones in a given project and location.
+     * 
+ */ + @java.lang.Deprecated + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.edgenetwork.v1.ListZonesResponse> + listZones(com.google.cloud.edgenetwork.v1.ListZonesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListZonesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deprecated: not implemented.
+     * Gets details of a single Zone.
+     * 
+ */ + @java.lang.Deprecated + public com.google.common.util.concurrent.ListenableFuture + getZone(com.google.cloud.edgenetwork.v1.GetZoneRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetZoneMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists Networks in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.edgenetwork.v1.ListNetworksResponse> + listNetworks(com.google.cloud.edgenetwork.v1.ListNetworksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListNetworksMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single Network.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.edgenetwork.v1.Network> + getNetwork(com.google.cloud.edgenetwork.v1.GetNetworkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetNetworkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get the diagnostics of a single network resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse> + diagnoseNetwork(com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDiagnoseNetworkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Network in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createNetwork(com.google.cloud.edgenetwork.v1.CreateNetworkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateNetworkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single Network.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteNetwork(com.google.cloud.edgenetwork.v1.DeleteNetworkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteNetworkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists Subnets in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.edgenetwork.v1.ListSubnetsResponse> + listSubnets(com.google.cloud.edgenetwork.v1.ListSubnetsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListSubnetsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single Subnet.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.edgenetwork.v1.Subnet> + getSubnet(com.google.cloud.edgenetwork.v1.GetSubnetRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetSubnetMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Subnet in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createSubnet(com.google.cloud.edgenetwork.v1.CreateSubnetRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateSubnetMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Subnet.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateSubnet(com.google.cloud.edgenetwork.v1.UpdateSubnetRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateSubnetMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single Subnet.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteSubnet(com.google.cloud.edgenetwork.v1.DeleteSubnetRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteSubnetMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists Interconnects in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.edgenetwork.v1.ListInterconnectsResponse> + listInterconnects(com.google.cloud.edgenetwork.v1.ListInterconnectsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInterconnectsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single Interconnect.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.edgenetwork.v1.Interconnect> + getInterconnect(com.google.cloud.edgenetwork.v1.GetInterconnectRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInterconnectMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get the diagnostics of a single interconnect resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse> + diagnoseInterconnect(com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDiagnoseInterconnectMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists InterconnectAttachments in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse> + listInterconnectAttachments( + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInterconnectAttachmentsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single InterconnectAttachment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.edgenetwork.v1.InterconnectAttachment> + getInterconnectAttachment( + com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInterconnectAttachmentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new InterconnectAttachment in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createInterconnectAttachment( + com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateInterconnectAttachmentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single InterconnectAttachment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteInterconnectAttachment( + com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteInterconnectAttachmentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists Routers in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.edgenetwork.v1.ListRoutersResponse> + listRouters(com.google.cloud.edgenetwork.v1.ListRoutersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRoutersMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single Router.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.edgenetwork.v1.Router> + getRouter(com.google.cloud.edgenetwork.v1.GetRouterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRouterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get the diagnostics of a single router resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse> + diagnoseRouter(com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDiagnoseRouterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Router in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createRouter(com.google.cloud.edgenetwork.v1.CreateRouterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateRouterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Router.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateRouter(com.google.cloud.edgenetwork.v1.UpdateRouterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateRouterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single Router.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteRouter(com.google.cloud.edgenetwork.v1.DeleteRouterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRouterMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_INITIALIZE_ZONE = 0; + private static final int METHODID_LIST_ZONES = 1; + private static final int METHODID_GET_ZONE = 2; + private static final int METHODID_LIST_NETWORKS = 3; + private static final int METHODID_GET_NETWORK = 4; + private static final int METHODID_DIAGNOSE_NETWORK = 5; + private static final int METHODID_CREATE_NETWORK = 6; + private static final int METHODID_DELETE_NETWORK = 7; + private static final int METHODID_LIST_SUBNETS = 8; + private static final int METHODID_GET_SUBNET = 9; + private static final int METHODID_CREATE_SUBNET = 10; + private static final int METHODID_UPDATE_SUBNET = 11; + private static final int METHODID_DELETE_SUBNET = 12; + private static final int METHODID_LIST_INTERCONNECTS = 13; + private static final int METHODID_GET_INTERCONNECT = 14; + private static final int METHODID_DIAGNOSE_INTERCONNECT = 15; + private static final int METHODID_LIST_INTERCONNECT_ATTACHMENTS = 16; + private static final int METHODID_GET_INTERCONNECT_ATTACHMENT = 17; + private static final int METHODID_CREATE_INTERCONNECT_ATTACHMENT = 18; + private static final int METHODID_DELETE_INTERCONNECT_ATTACHMENT = 19; + private static final int METHODID_LIST_ROUTERS = 20; + private static final int METHODID_GET_ROUTER = 21; + private static final int METHODID_DIAGNOSE_ROUTER = 22; + private static final int METHODID_CREATE_ROUTER = 23; + private static final int METHODID_UPDATE_ROUTER = 24; + private static final int METHODID_DELETE_ROUTER = 25; + + 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 AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService 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_INITIALIZE_ZONE: + serviceImpl.initializeZone( + (com.google.cloud.edgenetwork.v1.InitializeZoneRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_ZONES: + serviceImpl.listZones( + (com.google.cloud.edgenetwork.v1.ListZonesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_ZONE: + serviceImpl.getZone( + (com.google.cloud.edgenetwork.v1.GetZoneRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_NETWORKS: + serviceImpl.listNetworks( + (com.google.cloud.edgenetwork.v1.ListNetworksRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_NETWORK: + serviceImpl.getNetwork( + (com.google.cloud.edgenetwork.v1.GetNetworkRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DIAGNOSE_NETWORK: + serviceImpl.diagnoseNetwork( + (com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_NETWORK: + serviceImpl.createNetwork( + (com.google.cloud.edgenetwork.v1.CreateNetworkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_NETWORK: + serviceImpl.deleteNetwork( + (com.google.cloud.edgenetwork.v1.DeleteNetworkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_SUBNETS: + serviceImpl.listSubnets( + (com.google.cloud.edgenetwork.v1.ListSubnetsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_SUBNET: + serviceImpl.getSubnet( + (com.google.cloud.edgenetwork.v1.GetSubnetRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_SUBNET: + serviceImpl.createSubnet( + (com.google.cloud.edgenetwork.v1.CreateSubnetRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_SUBNET: + serviceImpl.updateSubnet( + (com.google.cloud.edgenetwork.v1.UpdateSubnetRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_SUBNET: + serviceImpl.deleteSubnet( + (com.google.cloud.edgenetwork.v1.DeleteSubnetRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_INTERCONNECTS: + serviceImpl.listInterconnects( + (com.google.cloud.edgenetwork.v1.ListInterconnectsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.edgenetwork.v1.ListInterconnectsResponse>) + responseObserver); + break; + case METHODID_GET_INTERCONNECT: + serviceImpl.getInterconnect( + (com.google.cloud.edgenetwork.v1.GetInterconnectRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DIAGNOSE_INTERCONNECT: + serviceImpl.diagnoseInterconnect( + (com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse>) + responseObserver); + break; + case METHODID_LIST_INTERCONNECT_ATTACHMENTS: + serviceImpl.listInterconnectAttachments( + (com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse>) + responseObserver); + break; + case METHODID_GET_INTERCONNECT_ATTACHMENT: + serviceImpl.getInterconnectAttachment( + (com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_INTERCONNECT_ATTACHMENT: + serviceImpl.createInterconnectAttachment( + (com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_INTERCONNECT_ATTACHMENT: + serviceImpl.deleteInterconnectAttachment( + (com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ROUTERS: + serviceImpl.listRouters( + (com.google.cloud.edgenetwork.v1.ListRoutersRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_ROUTER: + serviceImpl.getRouter( + (com.google.cloud.edgenetwork.v1.GetRouterRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DIAGNOSE_ROUTER: + serviceImpl.diagnoseRouter( + (com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_ROUTER: + serviceImpl.createRouter( + (com.google.cloud.edgenetwork.v1.CreateRouterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ROUTER: + serviceImpl.updateRouter( + (com.google.cloud.edgenetwork.v1.UpdateRouterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ROUTER: + serviceImpl.deleteRouter( + (com.google.cloud.edgenetwork.v1.DeleteRouterRequest) 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(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getInitializeZoneMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgenetwork.v1.InitializeZoneRequest, + com.google.cloud.edgenetwork.v1.InitializeZoneResponse>( + service, METHODID_INITIALIZE_ZONE))) + .addMethod( + getListZonesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgenetwork.v1.ListZonesRequest, + com.google.cloud.edgenetwork.v1.ListZonesResponse>( + service, METHODID_LIST_ZONES))) + .addMethod( + getGetZoneMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgenetwork.v1.GetZoneRequest, + com.google.cloud.edgenetwork.v1.Zone>(service, METHODID_GET_ZONE))) + .addMethod( + getListNetworksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgenetwork.v1.ListNetworksRequest, + com.google.cloud.edgenetwork.v1.ListNetworksResponse>( + service, METHODID_LIST_NETWORKS))) + .addMethod( + getGetNetworkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgenetwork.v1.GetNetworkRequest, + com.google.cloud.edgenetwork.v1.Network>(service, METHODID_GET_NETWORK))) + .addMethod( + getDiagnoseNetworkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest, + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse>( + service, METHODID_DIAGNOSE_NETWORK))) + .addMethod( + getCreateNetworkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgenetwork.v1.CreateNetworkRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_NETWORK))) + .addMethod( + getDeleteNetworkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgenetwork.v1.DeleteNetworkRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_NETWORK))) + .addMethod( + getListSubnetsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgenetwork.v1.ListSubnetsRequest, + com.google.cloud.edgenetwork.v1.ListSubnetsResponse>( + service, METHODID_LIST_SUBNETS))) + .addMethod( + getGetSubnetMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgenetwork.v1.GetSubnetRequest, + com.google.cloud.edgenetwork.v1.Subnet>(service, METHODID_GET_SUBNET))) + .addMethod( + getCreateSubnetMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgenetwork.v1.CreateSubnetRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_SUBNET))) + .addMethod( + getUpdateSubnetMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgenetwork.v1.UpdateSubnetRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_SUBNET))) + .addMethod( + getDeleteSubnetMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgenetwork.v1.DeleteSubnetRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_SUBNET))) + .addMethod( + getListInterconnectsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgenetwork.v1.ListInterconnectsRequest, + com.google.cloud.edgenetwork.v1.ListInterconnectsResponse>( + service, METHODID_LIST_INTERCONNECTS))) + .addMethod( + getGetInterconnectMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgenetwork.v1.GetInterconnectRequest, + com.google.cloud.edgenetwork.v1.Interconnect>( + service, METHODID_GET_INTERCONNECT))) + .addMethod( + getDiagnoseInterconnectMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest, + com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse>( + service, METHODID_DIAGNOSE_INTERCONNECT))) + .addMethod( + getListInterconnectAttachmentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest, + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse>( + service, METHODID_LIST_INTERCONNECT_ATTACHMENTS))) + .addMethod( + getGetInterconnectAttachmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest, + com.google.cloud.edgenetwork.v1.InterconnectAttachment>( + service, METHODID_GET_INTERCONNECT_ATTACHMENT))) + .addMethod( + getCreateInterconnectAttachmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_INTERCONNECT_ATTACHMENT))) + .addMethod( + getDeleteInterconnectAttachmentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_INTERCONNECT_ATTACHMENT))) + .addMethod( + getListRoutersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgenetwork.v1.ListRoutersRequest, + com.google.cloud.edgenetwork.v1.ListRoutersResponse>( + service, METHODID_LIST_ROUTERS))) + .addMethod( + getGetRouterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgenetwork.v1.GetRouterRequest, + com.google.cloud.edgenetwork.v1.Router>(service, METHODID_GET_ROUTER))) + .addMethod( + getDiagnoseRouterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest, + com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse>( + service, METHODID_DIAGNOSE_ROUTER))) + .addMethod( + getCreateRouterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgenetwork.v1.CreateRouterRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_ROUTER))) + .addMethod( + getUpdateRouterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgenetwork.v1.UpdateRouterRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_ROUTER))) + .addMethod( + getDeleteRouterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgenetwork.v1.DeleteRouterRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_ROUTER))) + .build(); + } + + private abstract static class EdgeNetworkBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + EdgeNetworkBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("EdgeNetwork"); + } + } + + private static final class EdgeNetworkFileDescriptorSupplier + extends EdgeNetworkBaseDescriptorSupplier { + EdgeNetworkFileDescriptorSupplier() {} + } + + private static final class EdgeNetworkMethodDescriptorSupplier + extends EdgeNetworkBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + EdgeNetworkMethodDescriptorSupplier(java.lang.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 (EdgeNetworkGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new EdgeNetworkFileDescriptorSupplier()) + .addMethod(getInitializeZoneMethod()) + .addMethod(getListZonesMethod()) + .addMethod(getGetZoneMethod()) + .addMethod(getListNetworksMethod()) + .addMethod(getGetNetworkMethod()) + .addMethod(getDiagnoseNetworkMethod()) + .addMethod(getCreateNetworkMethod()) + .addMethod(getDeleteNetworkMethod()) + .addMethod(getListSubnetsMethod()) + .addMethod(getGetSubnetMethod()) + .addMethod(getCreateSubnetMethod()) + .addMethod(getUpdateSubnetMethod()) + .addMethod(getDeleteSubnetMethod()) + .addMethod(getListInterconnectsMethod()) + .addMethod(getGetInterconnectMethod()) + .addMethod(getDiagnoseInterconnectMethod()) + .addMethod(getListInterconnectAttachmentsMethod()) + .addMethod(getGetInterconnectAttachmentMethod()) + .addMethod(getCreateInterconnectAttachmentMethod()) + .addMethod(getDeleteInterconnectAttachmentMethod()) + .addMethod(getListRoutersMethod()) + .addMethod(getGetRouterMethod()) + .addMethod(getDiagnoseRouterMethod()) + .addMethod(getCreateRouterMethod()) + .addMethod(getUpdateRouterMethod()) + .addMethod(getDeleteRouterMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateInterconnectAttachmentRequest.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateInterconnectAttachmentRequest.java similarity index 66% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateInterconnectAttachmentRequest.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateInterconnectAttachmentRequest.java index 3b05f1d730d6..2d27d84bcbaf 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateInterconnectAttachmentRequest.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateInterconnectAttachmentRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,21 +20,26 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for creating a InterconnectAttachment
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest} */ -public final class CreateInterconnectAttachmentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateInterconnectAttachmentRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest) CreateInterconnectAttachmentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateInterconnectAttachmentRequest.newBuilder() to construct. - private CreateInterconnectAttachmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateInterconnectAttachmentRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateInterconnectAttachmentRequest() { parent_ = ""; interconnectAttachmentId_ = ""; @@ -28,34 +48,41 @@ private CreateInterconnectAttachmentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateInterconnectAttachmentRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_CreateInterconnectAttachmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_CreateInterconnectAttachmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_CreateInterconnectAttachmentRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_CreateInterconnectAttachmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest.class, com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest.Builder.class); + com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest.class, + com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest.Builder.class); } private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,29 +91,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -95,9 +124,12 @@ public java.lang.String getParent() { } public static final int INTERCONNECT_ATTACHMENT_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object interconnectAttachmentId_ = ""; /** + * + * *
    * Required. Id of the requesting object
    * If auto-generating Id server-side, remove this field and
@@ -105,6 +137,7 @@ public java.lang.String getParent() {
    * 
* * string interconnect_attachment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The interconnectAttachmentId. */ @java.lang.Override @@ -113,14 +146,15 @@ public java.lang.String getInterconnectAttachmentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); interconnectAttachmentId_ = s; return s; } } /** + * + * *
    * Required. Id of the requesting object
    * If auto-generating Id server-side, remove this field and
@@ -128,16 +162,15 @@ public java.lang.String getInterconnectAttachmentId() {
    * 
* * string interconnect_attachment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for interconnectAttachmentId. */ @java.lang.Override - public com.google.protobuf.ByteString - getInterconnectAttachmentIdBytes() { + public com.google.protobuf.ByteString getInterconnectAttachmentIdBytes() { java.lang.Object ref = interconnectAttachmentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); interconnectAttachmentId_ = b; return b; } else { @@ -148,11 +181,16 @@ public java.lang.String getInterconnectAttachmentId() { public static final int INTERCONNECT_ATTACHMENT_FIELD_NUMBER = 3; private com.google.cloud.edgenetwork.v1.InterconnectAttachment interconnectAttachment_; /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the interconnectAttachment field is set. */ @java.lang.Override @@ -160,33 +198,50 @@ public boolean hasInterconnectAttachment() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The interconnectAttachment. */ @java.lang.Override public com.google.cloud.edgenetwork.v1.InterconnectAttachment getInterconnectAttachment() { - return interconnectAttachment_ == null ? com.google.cloud.edgenetwork.v1.InterconnectAttachment.getDefaultInstance() : interconnectAttachment_; + return interconnectAttachment_ == null + ? com.google.cloud.edgenetwork.v1.InterconnectAttachment.getDefaultInstance() + : interconnectAttachment_; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder getInterconnectAttachmentOrBuilder() { - return interconnectAttachment_ == null ? com.google.cloud.edgenetwork.v1.InterconnectAttachment.getDefaultInstance() : interconnectAttachment_; + public com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder + getInterconnectAttachmentOrBuilder() { + return interconnectAttachment_ == null + ? com.google.cloud.edgenetwork.v1.InterconnectAttachment.getDefaultInstance() + : interconnectAttachment_; } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -204,6 +259,7 @@ public com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder getInterc
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -212,14 +268,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -237,16 +294,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -255,6 +311,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,8 +323,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -293,11 +349,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(interconnectAttachmentId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, interconnectAttachmentId_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(2, interconnectAttachmentId_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getInterconnectAttachment()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInterconnectAttachment()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -310,24 +367,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.edgenetwork.v1.CreateInterconnectAttachmentRequest)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest other = (com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest) obj; + com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest other = + (com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getInterconnectAttachmentId() - .equals(other.getInterconnectAttachmentId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getInterconnectAttachmentId().equals(other.getInterconnectAttachmentId())) return false; if (hasInterconnectAttachment() != other.hasInterconnectAttachment()) return false; if (hasInterconnectAttachment()) { - if (!getInterconnectAttachment() - .equals(other.getInterconnectAttachment())) return false; + if (!getInterconnectAttachment().equals(other.getInterconnectAttachment())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -355,137 +409,147 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for creating a InterconnectAttachment
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest) com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_CreateInterconnectAttachmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_CreateInterconnectAttachmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_CreateInterconnectAttachmentRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_CreateInterconnectAttachmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest.class, com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest.Builder.class); + com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest.class, + com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest.Builder.class); } - // Construct using com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest.newBuilder() + // Construct using + // com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest.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) { getInterconnectAttachmentFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -502,14 +566,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_CreateInterconnectAttachmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_CreateInterconnectAttachmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest getDefaultInstanceForType() { - return com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest.getDefaultInstance(); + public com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest + getDefaultInstanceForType() { + return com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest + .getDefaultInstance(); } @java.lang.Override @@ -523,13 +589,17 @@ public com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest build @java.lang.Override public com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest buildPartial() { - com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest result = new com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest result = + new com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest result) { + private void buildPartial0( + com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -539,9 +609,10 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.CreateInterconnectAtt } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.interconnectAttachment_ = interconnectAttachmentBuilder_ == null - ? interconnectAttachment_ - : interconnectAttachmentBuilder_.build(); + result.interconnectAttachment_ = + interconnectAttachmentBuilder_ == null + ? interconnectAttachment_ + : interconnectAttachmentBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { @@ -554,46 +625,51 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.CreateInterconnectAtt public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest) { - return mergeFrom((com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest)other); + return mergeFrom( + (com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest other) { - if (other == com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest other) { + if (other + == com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -638,34 +714,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - interconnectAttachmentId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getInterconnectAttachmentFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + interconnectAttachmentId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + getInterconnectAttachmentFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -675,22 +755,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -699,20 +784,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -720,28 +808,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -751,17 +850,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -771,6 +876,8 @@ public Builder setParentBytes( private java.lang.Object interconnectAttachmentId_ = ""; /** + * + * *
      * Required. Id of the requesting object
      * If auto-generating Id server-side, remove this field and
@@ -778,13 +885,13 @@ public Builder setParentBytes(
      * 
* * string interconnect_attachment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The interconnectAttachmentId. */ public java.lang.String getInterconnectAttachmentId() { java.lang.Object ref = interconnectAttachmentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); interconnectAttachmentId_ = s; return s; @@ -793,6 +900,8 @@ public java.lang.String getInterconnectAttachmentId() { } } /** + * + * *
      * Required. Id of the requesting object
      * If auto-generating Id server-side, remove this field and
@@ -800,15 +909,14 @@ public java.lang.String getInterconnectAttachmentId() {
      * 
* * string interconnect_attachment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for interconnectAttachmentId. */ - public com.google.protobuf.ByteString - getInterconnectAttachmentIdBytes() { + public com.google.protobuf.ByteString getInterconnectAttachmentIdBytes() { java.lang.Object ref = interconnectAttachmentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); interconnectAttachmentId_ = b; return b; } else { @@ -816,6 +924,8 @@ public java.lang.String getInterconnectAttachmentId() { } } /** + * + * *
      * Required. Id of the requesting object
      * If auto-generating Id server-side, remove this field and
@@ -823,18 +933,22 @@ public java.lang.String getInterconnectAttachmentId() {
      * 
* * string interconnect_attachment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The interconnectAttachmentId to set. * @return This builder for chaining. */ - public Builder setInterconnectAttachmentId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInterconnectAttachmentId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } interconnectAttachmentId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. Id of the requesting object
      * If auto-generating Id server-side, remove this field and
@@ -842,6 +956,7 @@ public Builder setInterconnectAttachmentId(
      * 
* * string interconnect_attachment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearInterconnectAttachmentId() { @@ -851,6 +966,8 @@ public Builder clearInterconnectAttachmentId() { return this; } /** + * + * *
      * Required. Id of the requesting object
      * If auto-generating Id server-side, remove this field and
@@ -858,12 +975,14 @@ public Builder clearInterconnectAttachmentId() {
      * 
* * string interconnect_attachment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for interconnectAttachmentId to set. * @return This builder for chaining. */ - public Builder setInterconnectAttachmentIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInterconnectAttachmentIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); interconnectAttachmentId_ = value; bitField0_ |= 0x00000002; @@ -873,41 +992,61 @@ public Builder setInterconnectAttachmentIdBytes( private com.google.cloud.edgenetwork.v1.InterconnectAttachment interconnectAttachment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.InterconnectAttachment, com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder, com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder> interconnectAttachmentBuilder_; + com.google.cloud.edgenetwork.v1.InterconnectAttachment, + com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder, + com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder> + interconnectAttachmentBuilder_; /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the interconnectAttachment field is set. */ public boolean hasInterconnectAttachment() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The interconnectAttachment. */ public com.google.cloud.edgenetwork.v1.InterconnectAttachment getInterconnectAttachment() { if (interconnectAttachmentBuilder_ == null) { - return interconnectAttachment_ == null ? com.google.cloud.edgenetwork.v1.InterconnectAttachment.getDefaultInstance() : interconnectAttachment_; + return interconnectAttachment_ == null + ? com.google.cloud.edgenetwork.v1.InterconnectAttachment.getDefaultInstance() + : interconnectAttachment_; } else { return interconnectAttachmentBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setInterconnectAttachment(com.google.cloud.edgenetwork.v1.InterconnectAttachment value) { + public Builder setInterconnectAttachment( + com.google.cloud.edgenetwork.v1.InterconnectAttachment value) { if (interconnectAttachmentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -921,11 +1060,15 @@ public Builder setInterconnectAttachment(com.google.cloud.edgenetwork.v1.Interco return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInterconnectAttachment( com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder builderForValue) { @@ -939,17 +1082,23 @@ public Builder setInterconnectAttachment( return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeInterconnectAttachment(com.google.cloud.edgenetwork.v1.InterconnectAttachment value) { + public Builder mergeInterconnectAttachment( + com.google.cloud.edgenetwork.v1.InterconnectAttachment value) { if (interconnectAttachmentBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - interconnectAttachment_ != null && - interconnectAttachment_ != com.google.cloud.edgenetwork.v1.InterconnectAttachment.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && interconnectAttachment_ != null + && interconnectAttachment_ + != com.google.cloud.edgenetwork.v1.InterconnectAttachment.getDefaultInstance()) { getInterconnectAttachmentBuilder().mergeFrom(value); } else { interconnectAttachment_ = value; @@ -964,11 +1113,15 @@ public Builder mergeInterconnectAttachment(com.google.cloud.edgenetwork.v1.Inter return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInterconnectAttachment() { bitField0_ = (bitField0_ & ~0x00000004); @@ -981,48 +1134,66 @@ public Builder clearInterconnectAttachment() { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder getInterconnectAttachmentBuilder() { + public com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder + getInterconnectAttachmentBuilder() { bitField0_ |= 0x00000004; onChanged(); return getInterconnectAttachmentFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder getInterconnectAttachmentOrBuilder() { + public com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder + getInterconnectAttachmentOrBuilder() { if (interconnectAttachmentBuilder_ != null) { return interconnectAttachmentBuilder_.getMessageOrBuilder(); } else { - return interconnectAttachment_ == null ? - com.google.cloud.edgenetwork.v1.InterconnectAttachment.getDefaultInstance() : interconnectAttachment_; + return interconnectAttachment_ == null + ? com.google.cloud.edgenetwork.v1.InterconnectAttachment.getDefaultInstance() + : interconnectAttachment_; } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.InterconnectAttachment, com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder, com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder> + com.google.cloud.edgenetwork.v1.InterconnectAttachment, + com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder, + com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder> getInterconnectAttachmentFieldBuilder() { if (interconnectAttachmentBuilder_ == null) { - interconnectAttachmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.InterconnectAttachment, com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder, com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder>( - getInterconnectAttachment(), - getParentForChildren(), - isClean()); + interconnectAttachmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgenetwork.v1.InterconnectAttachment, + com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder, + com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder>( + getInterconnectAttachment(), getParentForChildren(), isClean()); interconnectAttachment_ = null; } return interconnectAttachmentBuilder_; @@ -1030,6 +1201,8 @@ public com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder getInterc private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1047,13 +1220,13 @@ public com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder getInterc
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1062,6 +1235,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1079,15 +1254,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1095,6 +1269,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1112,18 +1288,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1141,6 +1321,7 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1150,6 +1331,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1167,21 +1350,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1191,41 +1376,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest) - private static final com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest(); } - public static com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest getDefaultInstance() { + public static com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInterconnectAttachmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInterconnectAttachmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1237,9 +1424,8 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest getDefaultInstanceForType() { + public com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateInterconnectAttachmentRequestOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateInterconnectAttachmentRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateInterconnectAttachmentRequestOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateInterconnectAttachmentRequestOrBuilder.java index b78abacfa40b..614affd27d82 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateInterconnectAttachmentRequestOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateInterconnectAttachmentRequestOrBuilder.java @@ -1,34 +1,61 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface CreateInterconnectAttachmentRequestOrBuilder extends +public interface CreateInterconnectAttachmentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Id of the requesting object
    * If auto-generating Id server-side, remove this field and
@@ -36,10 +63,13 @@ public interface CreateInterconnectAttachmentRequestOrBuilder extends
    * 
* * string interconnect_attachment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The interconnectAttachmentId. */ java.lang.String getInterconnectAttachmentId(); /** + * + * *
    * Required. Id of the requesting object
    * If auto-generating Id server-side, remove this field and
@@ -47,39 +77,56 @@ public interface CreateInterconnectAttachmentRequestOrBuilder extends
    * 
* * string interconnect_attachment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for interconnectAttachmentId. */ - com.google.protobuf.ByteString - getInterconnectAttachmentIdBytes(); + com.google.protobuf.ByteString getInterconnectAttachmentIdBytes(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the interconnectAttachment field is set. */ boolean hasInterconnectAttachment(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The interconnectAttachment. */ com.google.cloud.edgenetwork.v1.InterconnectAttachment getInterconnectAttachment(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder getInterconnectAttachmentOrBuilder(); + com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder + getInterconnectAttachmentOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -97,10 +144,13 @@ public interface CreateInterconnectAttachmentRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -118,8 +168,8 @@ public interface CreateInterconnectAttachmentRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateNetworkRequest.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateNetworkRequest.java similarity index 69% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateNetworkRequest.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateNetworkRequest.java index 5bf079f1bb47..6e19d2929d3b 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateNetworkRequest.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateNetworkRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,21 +20,24 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for creating a Network
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.CreateNetworkRequest} */ -public final class CreateNetworkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateNetworkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.CreateNetworkRequest) CreateNetworkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateNetworkRequest.newBuilder() to construct. private CreateNetworkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateNetworkRequest() { parent_ = ""; networkId_ = ""; @@ -28,34 +46,41 @@ private CreateNetworkRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateNetworkRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_CreateNetworkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_CreateNetworkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_CreateNetworkRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_CreateNetworkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.CreateNetworkRequest.class, com.google.cloud.edgenetwork.v1.CreateNetworkRequest.Builder.class); + com.google.cloud.edgenetwork.v1.CreateNetworkRequest.class, + com.google.cloud.edgenetwork.v1.CreateNetworkRequest.Builder.class); } private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,29 +89,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -95,9 +122,12 @@ public java.lang.String getParent() { } public static final int NETWORK_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object networkId_ = ""; /** + * + * *
    * Required. Id of the requesting object
    * If auto-generating Id server-side, remove this field and
@@ -105,6 +135,7 @@ public java.lang.String getParent() {
    * 
* * string network_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The networkId. */ @java.lang.Override @@ -113,14 +144,15 @@ public java.lang.String getNetworkId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkId_ = s; return s; } } /** + * + * *
    * Required. Id of the requesting object
    * If auto-generating Id server-side, remove this field and
@@ -128,16 +160,15 @@ public java.lang.String getNetworkId() {
    * 
* * string network_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for networkId. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkIdBytes() { + public com.google.protobuf.ByteString getNetworkIdBytes() { java.lang.Object ref = networkId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkId_ = b; return b; } else { @@ -148,11 +179,16 @@ public java.lang.String getNetworkId() { public static final int NETWORK_FIELD_NUMBER = 3; private com.google.cloud.edgenetwork.v1.Network network_; /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the network field is set. */ @java.lang.Override @@ -160,33 +196,49 @@ public boolean hasNetwork() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The network. */ @java.lang.Override public com.google.cloud.edgenetwork.v1.Network getNetwork() { - return network_ == null ? com.google.cloud.edgenetwork.v1.Network.getDefaultInstance() : network_; + return network_ == null + ? com.google.cloud.edgenetwork.v1.Network.getDefaultInstance() + : network_; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.edgenetwork.v1.NetworkOrBuilder getNetworkOrBuilder() { - return network_ == null ? com.google.cloud.edgenetwork.v1.Network.getDefaultInstance() : network_; + return network_ == null + ? com.google.cloud.edgenetwork.v1.Network.getDefaultInstance() + : network_; } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -204,6 +256,7 @@ public com.google.cloud.edgenetwork.v1.NetworkOrBuilder getNetworkOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -212,14 +265,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -237,16 +291,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -255,6 +308,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,8 +320,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -296,8 +349,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, networkId_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getNetwork()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getNetwork()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -310,24 +362,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.edgenetwork.v1.CreateNetworkRequest)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.CreateNetworkRequest other = (com.google.cloud.edgenetwork.v1.CreateNetworkRequest) obj; + com.google.cloud.edgenetwork.v1.CreateNetworkRequest other = + (com.google.cloud.edgenetwork.v1.CreateNetworkRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getNetworkId() - .equals(other.getNetworkId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getNetworkId().equals(other.getNetworkId())) return false; if (hasNetwork() != other.hasNetwork()) return false; if (hasNetwork()) { - if (!getNetwork() - .equals(other.getNetwork())) return false; + if (!getNetwork().equals(other.getNetwork())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -355,119 +404,126 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.CreateNetworkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.CreateNetworkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.CreateNetworkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.CreateNetworkRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.CreateNetworkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.CreateNetworkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.CreateNetworkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.CreateNetworkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.CreateNetworkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.CreateNetworkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.CreateNetworkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.CreateNetworkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.CreateNetworkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.CreateNetworkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.CreateNetworkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for creating a Network
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.CreateNetworkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.CreateNetworkRequest) com.google.cloud.edgenetwork.v1.CreateNetworkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_CreateNetworkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_CreateNetworkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_CreateNetworkRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_CreateNetworkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.CreateNetworkRequest.class, com.google.cloud.edgenetwork.v1.CreateNetworkRequest.Builder.class); + com.google.cloud.edgenetwork.v1.CreateNetworkRequest.class, + com.google.cloud.edgenetwork.v1.CreateNetworkRequest.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.CreateNetworkRequest.newBuilder() @@ -475,17 +531,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getNetworkFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -502,9 +558,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_CreateNetworkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_CreateNetworkRequest_descriptor; } @java.lang.Override @@ -523,8 +579,11 @@ public com.google.cloud.edgenetwork.v1.CreateNetworkRequest build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.CreateNetworkRequest buildPartial() { - com.google.cloud.edgenetwork.v1.CreateNetworkRequest result = new com.google.cloud.edgenetwork.v1.CreateNetworkRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.CreateNetworkRequest result = + new com.google.cloud.edgenetwork.v1.CreateNetworkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -539,9 +598,7 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.CreateNetworkRequest } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.network_ = networkBuilder_ == null - ? network_ - : networkBuilder_.build(); + result.network_ = networkBuilder_ == null ? network_ : networkBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { @@ -554,38 +611,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.CreateNetworkRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.CreateNetworkRequest) { - return mergeFrom((com.google.cloud.edgenetwork.v1.CreateNetworkRequest)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.CreateNetworkRequest) other); } else { super.mergeFrom(other); return this; @@ -593,7 +651,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.CreateNetworkRequest other) { - if (other == com.google.cloud.edgenetwork.v1.CreateNetworkRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.CreateNetworkRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -638,34 +697,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - networkId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getNetworkFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + networkId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getNetworkFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -675,22 +737,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -699,20 +766,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -720,28 +790,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -751,17 +832,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -771,6 +858,8 @@ public Builder setParentBytes( private java.lang.Object networkId_ = ""; /** + * + * *
      * Required. Id of the requesting object
      * If auto-generating Id server-side, remove this field and
@@ -778,13 +867,13 @@ public Builder setParentBytes(
      * 
* * string network_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The networkId. */ public java.lang.String getNetworkId() { java.lang.Object ref = networkId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkId_ = s; return s; @@ -793,6 +882,8 @@ public java.lang.String getNetworkId() { } } /** + * + * *
      * Required. Id of the requesting object
      * If auto-generating Id server-side, remove this field and
@@ -800,15 +891,14 @@ public java.lang.String getNetworkId() {
      * 
* * string network_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for networkId. */ - public com.google.protobuf.ByteString - getNetworkIdBytes() { + public com.google.protobuf.ByteString getNetworkIdBytes() { java.lang.Object ref = networkId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkId_ = b; return b; } else { @@ -816,6 +906,8 @@ public java.lang.String getNetworkId() { } } /** + * + * *
      * Required. Id of the requesting object
      * If auto-generating Id server-side, remove this field and
@@ -823,18 +915,22 @@ public java.lang.String getNetworkId() {
      * 
* * string network_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The networkId to set. * @return This builder for chaining. */ - public Builder setNetworkId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } networkId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. Id of the requesting object
      * If auto-generating Id server-side, remove this field and
@@ -842,6 +938,7 @@ public Builder setNetworkId(
      * 
* * string network_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearNetworkId() { @@ -851,6 +948,8 @@ public Builder clearNetworkId() { return this; } /** + * + * *
      * Required. Id of the requesting object
      * If auto-generating Id server-side, remove this field and
@@ -858,12 +957,14 @@ public Builder clearNetworkId() {
      * 
* * string network_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for networkId to set. * @return This builder for chaining. */ - public Builder setNetworkIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); networkId_ = value; bitField0_ |= 0x00000002; @@ -873,39 +974,58 @@ public Builder setNetworkIdBytes( private com.google.cloud.edgenetwork.v1.Network network_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Network, com.google.cloud.edgenetwork.v1.Network.Builder, com.google.cloud.edgenetwork.v1.NetworkOrBuilder> networkBuilder_; + com.google.cloud.edgenetwork.v1.Network, + com.google.cloud.edgenetwork.v1.Network.Builder, + com.google.cloud.edgenetwork.v1.NetworkOrBuilder> + networkBuilder_; /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the network field is set. */ public boolean hasNetwork() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The network. */ public com.google.cloud.edgenetwork.v1.Network getNetwork() { if (networkBuilder_ == null) { - return network_ == null ? com.google.cloud.edgenetwork.v1.Network.getDefaultInstance() : network_; + return network_ == null + ? com.google.cloud.edgenetwork.v1.Network.getDefaultInstance() + : network_; } else { return networkBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setNetwork(com.google.cloud.edgenetwork.v1.Network value) { if (networkBuilder_ == null) { @@ -921,14 +1041,17 @@ public Builder setNetwork(com.google.cloud.edgenetwork.v1.Network value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setNetwork( - com.google.cloud.edgenetwork.v1.Network.Builder builderForValue) { + public Builder setNetwork(com.google.cloud.edgenetwork.v1.Network.Builder builderForValue) { if (networkBuilder_ == null) { network_ = builderForValue.build(); } else { @@ -939,17 +1062,21 @@ public Builder setNetwork( return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeNetwork(com.google.cloud.edgenetwork.v1.Network value) { if (networkBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - network_ != null && - network_ != com.google.cloud.edgenetwork.v1.Network.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && network_ != null + && network_ != com.google.cloud.edgenetwork.v1.Network.getDefaultInstance()) { getNetworkBuilder().mergeFrom(value); } else { network_ = value; @@ -964,11 +1091,15 @@ public Builder mergeNetwork(com.google.cloud.edgenetwork.v1.Network value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearNetwork() { bitField0_ = (bitField0_ & ~0x00000004); @@ -981,11 +1112,15 @@ public Builder clearNetwork() { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.edgenetwork.v1.Network.Builder getNetworkBuilder() { bitField0_ |= 0x00000004; @@ -993,36 +1128,48 @@ public com.google.cloud.edgenetwork.v1.Network.Builder getNetworkBuilder() { return getNetworkFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.edgenetwork.v1.NetworkOrBuilder getNetworkOrBuilder() { if (networkBuilder_ != null) { return networkBuilder_.getMessageOrBuilder(); } else { - return network_ == null ? - com.google.cloud.edgenetwork.v1.Network.getDefaultInstance() : network_; + return network_ == null + ? com.google.cloud.edgenetwork.v1.Network.getDefaultInstance() + : network_; } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Network, com.google.cloud.edgenetwork.v1.Network.Builder, com.google.cloud.edgenetwork.v1.NetworkOrBuilder> + com.google.cloud.edgenetwork.v1.Network, + com.google.cloud.edgenetwork.v1.Network.Builder, + com.google.cloud.edgenetwork.v1.NetworkOrBuilder> getNetworkFieldBuilder() { if (networkBuilder_ == null) { - networkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Network, com.google.cloud.edgenetwork.v1.Network.Builder, com.google.cloud.edgenetwork.v1.NetworkOrBuilder>( - getNetwork(), - getParentForChildren(), - isClean()); + networkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgenetwork.v1.Network, + com.google.cloud.edgenetwork.v1.Network.Builder, + com.google.cloud.edgenetwork.v1.NetworkOrBuilder>( + getNetwork(), getParentForChildren(), isClean()); network_ = null; } return networkBuilder_; @@ -1030,6 +1177,8 @@ public com.google.cloud.edgenetwork.v1.NetworkOrBuilder getNetworkOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1047,13 +1196,13 @@ public com.google.cloud.edgenetwork.v1.NetworkOrBuilder getNetworkOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1062,6 +1211,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1079,15 +1230,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1095,6 +1245,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1112,18 +1264,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1141,6 +1297,7 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1150,6 +1307,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1167,21 +1326,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1191,12 +1352,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.CreateNetworkRequest) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.CreateNetworkRequest) private static final com.google.cloud.edgenetwork.v1.CreateNetworkRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.CreateNetworkRequest(); } @@ -1205,27 +1366,27 @@ public static com.google.cloud.edgenetwork.v1.CreateNetworkRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateNetworkRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateNetworkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1240,6 +1401,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.CreateNetworkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateNetworkRequestOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateNetworkRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateNetworkRequestOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateNetworkRequestOrBuilder.java index f467bd8d8e8b..cb2b494650b1 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateNetworkRequestOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateNetworkRequestOrBuilder.java @@ -1,34 +1,61 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface CreateNetworkRequestOrBuilder extends +public interface CreateNetworkRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.CreateNetworkRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Id of the requesting object
    * If auto-generating Id server-side, remove this field and
@@ -36,10 +63,13 @@ public interface CreateNetworkRequestOrBuilder extends
    * 
* * string network_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The networkId. */ java.lang.String getNetworkId(); /** + * + * *
    * Required. Id of the requesting object
    * If auto-generating Id server-side, remove this field and
@@ -47,39 +77,55 @@ public interface CreateNetworkRequestOrBuilder extends
    * 
* * string network_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for networkId. */ - com.google.protobuf.ByteString - getNetworkIdBytes(); + com.google.protobuf.ByteString getNetworkIdBytes(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the network field is set. */ boolean hasNetwork(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The network. */ com.google.cloud.edgenetwork.v1.Network getNetwork(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Network network = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.edgenetwork.v1.NetworkOrBuilder getNetworkOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -97,10 +143,13 @@ public interface CreateNetworkRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -118,8 +167,8 @@ public interface CreateNetworkRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateRouterRequest.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateRouterRequest.java similarity index 70% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateRouterRequest.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateRouterRequest.java index 0cc4b7ec7d40..1a1acab47b34 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateRouterRequest.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateRouterRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,21 +20,24 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for creating a Router
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.CreateRouterRequest} */ -public final class CreateRouterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateRouterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.CreateRouterRequest) CreateRouterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateRouterRequest.newBuilder() to construct. private CreateRouterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateRouterRequest() { parent_ = ""; routerId_ = ""; @@ -28,34 +46,41 @@ private CreateRouterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateRouterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_CreateRouterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_CreateRouterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_CreateRouterRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_CreateRouterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.CreateRouterRequest.class, com.google.cloud.edgenetwork.v1.CreateRouterRequest.Builder.class); + com.google.cloud.edgenetwork.v1.CreateRouterRequest.class, + com.google.cloud.edgenetwork.v1.CreateRouterRequest.Builder.class); } private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,29 +89,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -95,9 +122,12 @@ public java.lang.String getParent() { } public static final int ROUTER_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object routerId_ = ""; /** + * + * *
    * Required. Id of the requesting object
    * If auto-generating Id server-side, remove this field and
@@ -105,6 +135,7 @@ public java.lang.String getParent() {
    * 
* * string router_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The routerId. */ @java.lang.Override @@ -113,14 +144,15 @@ public java.lang.String getRouterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); routerId_ = s; return s; } } /** + * + * *
    * Required. Id of the requesting object
    * If auto-generating Id server-side, remove this field and
@@ -128,16 +160,15 @@ public java.lang.String getRouterId() {
    * 
* * string router_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for routerId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRouterIdBytes() { + public com.google.protobuf.ByteString getRouterIdBytes() { java.lang.Object ref = routerId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); routerId_ = b; return b; } else { @@ -148,11 +179,15 @@ public java.lang.String getRouterId() { public static final int ROUTER_FIELD_NUMBER = 3; private com.google.cloud.edgenetwork.v1.Router router_; /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the router field is set. */ @java.lang.Override @@ -160,11 +195,15 @@ public boolean hasRouter() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The router. */ @java.lang.Override @@ -172,11 +211,14 @@ public com.google.cloud.edgenetwork.v1.Router getRouter() { return router_ == null ? com.google.cloud.edgenetwork.v1.Router.getDefaultInstance() : router_; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.edgenetwork.v1.RouterOrBuilder getRouterOrBuilder() { @@ -184,9 +226,12 @@ public com.google.cloud.edgenetwork.v1.RouterOrBuilder getRouterOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -204,6 +249,7 @@ public com.google.cloud.edgenetwork.v1.RouterOrBuilder getRouterOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -212,14 +258,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -237,16 +284,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -255,6 +301,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,8 +313,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -296,8 +342,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, routerId_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRouter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRouter()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -310,24 +355,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.edgenetwork.v1.CreateRouterRequest)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.CreateRouterRequest other = (com.google.cloud.edgenetwork.v1.CreateRouterRequest) obj; + com.google.cloud.edgenetwork.v1.CreateRouterRequest other = + (com.google.cloud.edgenetwork.v1.CreateRouterRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getRouterId() - .equals(other.getRouterId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getRouterId().equals(other.getRouterId())) return false; if (hasRouter() != other.hasRouter()) return false; if (hasRouter()) { - if (!getRouter() - .equals(other.getRouter())) return false; + if (!getRouter().equals(other.getRouter())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -355,119 +397,126 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.CreateRouterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.CreateRouterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.CreateRouterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.CreateRouterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.CreateRouterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.CreateRouterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.CreateRouterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.CreateRouterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.CreateRouterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.CreateRouterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.CreateRouterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.CreateRouterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.CreateRouterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.CreateRouterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.CreateRouterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for creating a Router
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.CreateRouterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.CreateRouterRequest) com.google.cloud.edgenetwork.v1.CreateRouterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_CreateRouterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_CreateRouterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_CreateRouterRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_CreateRouterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.CreateRouterRequest.class, com.google.cloud.edgenetwork.v1.CreateRouterRequest.Builder.class); + com.google.cloud.edgenetwork.v1.CreateRouterRequest.class, + com.google.cloud.edgenetwork.v1.CreateRouterRequest.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.CreateRouterRequest.newBuilder() @@ -475,17 +524,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getRouterFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -502,9 +551,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_CreateRouterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_CreateRouterRequest_descriptor; } @java.lang.Override @@ -523,8 +572,11 @@ public com.google.cloud.edgenetwork.v1.CreateRouterRequest build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.CreateRouterRequest buildPartial() { - com.google.cloud.edgenetwork.v1.CreateRouterRequest result = new com.google.cloud.edgenetwork.v1.CreateRouterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.CreateRouterRequest result = + new com.google.cloud.edgenetwork.v1.CreateRouterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -539,9 +591,7 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.CreateRouterRequest r } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.router_ = routerBuilder_ == null - ? router_ - : routerBuilder_.build(); + result.router_ = routerBuilder_ == null ? router_ : routerBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { @@ -554,38 +604,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.CreateRouterRequest r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.CreateRouterRequest) { - return mergeFrom((com.google.cloud.edgenetwork.v1.CreateRouterRequest)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.CreateRouterRequest) other); } else { super.mergeFrom(other); return this; @@ -593,7 +644,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.CreateRouterRequest other) { - if (other == com.google.cloud.edgenetwork.v1.CreateRouterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.CreateRouterRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -638,34 +690,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - routerId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getRouterFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + routerId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getRouterFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -675,22 +730,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -699,20 +759,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -720,28 +783,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -751,17 +825,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -771,6 +851,8 @@ public Builder setParentBytes( private java.lang.Object routerId_ = ""; /** + * + * *
      * Required. Id of the requesting object
      * If auto-generating Id server-side, remove this field and
@@ -778,13 +860,13 @@ public Builder setParentBytes(
      * 
* * string router_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The routerId. */ public java.lang.String getRouterId() { java.lang.Object ref = routerId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); routerId_ = s; return s; @@ -793,6 +875,8 @@ public java.lang.String getRouterId() { } } /** + * + * *
      * Required. Id of the requesting object
      * If auto-generating Id server-side, remove this field and
@@ -800,15 +884,14 @@ public java.lang.String getRouterId() {
      * 
* * string router_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for routerId. */ - public com.google.protobuf.ByteString - getRouterIdBytes() { + public com.google.protobuf.ByteString getRouterIdBytes() { java.lang.Object ref = routerId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); routerId_ = b; return b; } else { @@ -816,6 +899,8 @@ public java.lang.String getRouterId() { } } /** + * + * *
      * Required. Id of the requesting object
      * If auto-generating Id server-side, remove this field and
@@ -823,18 +908,22 @@ public java.lang.String getRouterId() {
      * 
* * string router_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The routerId to set. * @return This builder for chaining. */ - public Builder setRouterId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRouterId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } routerId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. Id of the requesting object
      * If auto-generating Id server-side, remove this field and
@@ -842,6 +931,7 @@ public Builder setRouterId(
      * 
* * string router_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRouterId() { @@ -851,6 +941,8 @@ public Builder clearRouterId() { return this; } /** + * + * *
      * Required. Id of the requesting object
      * If auto-generating Id server-side, remove this field and
@@ -858,12 +950,14 @@ public Builder clearRouterId() {
      * 
* * string router_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for routerId to set. * @return This builder for chaining. */ - public Builder setRouterIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRouterIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); routerId_ = value; bitField0_ |= 0x00000002; @@ -873,39 +967,58 @@ public Builder setRouterIdBytes( private com.google.cloud.edgenetwork.v1.Router router_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Router, com.google.cloud.edgenetwork.v1.Router.Builder, com.google.cloud.edgenetwork.v1.RouterOrBuilder> routerBuilder_; + com.google.cloud.edgenetwork.v1.Router, + com.google.cloud.edgenetwork.v1.Router.Builder, + com.google.cloud.edgenetwork.v1.RouterOrBuilder> + routerBuilder_; /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the router field is set. */ public boolean hasRouter() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The router. */ public com.google.cloud.edgenetwork.v1.Router getRouter() { if (routerBuilder_ == null) { - return router_ == null ? com.google.cloud.edgenetwork.v1.Router.getDefaultInstance() : router_; + return router_ == null + ? com.google.cloud.edgenetwork.v1.Router.getDefaultInstance() + : router_; } else { return routerBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRouter(com.google.cloud.edgenetwork.v1.Router value) { if (routerBuilder_ == null) { @@ -921,14 +1034,17 @@ public Builder setRouter(com.google.cloud.edgenetwork.v1.Router value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setRouter( - com.google.cloud.edgenetwork.v1.Router.Builder builderForValue) { + public Builder setRouter(com.google.cloud.edgenetwork.v1.Router.Builder builderForValue) { if (routerBuilder_ == null) { router_ = builderForValue.build(); } else { @@ -939,17 +1055,21 @@ public Builder setRouter( return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRouter(com.google.cloud.edgenetwork.v1.Router value) { if (routerBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - router_ != null && - router_ != com.google.cloud.edgenetwork.v1.Router.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && router_ != null + && router_ != com.google.cloud.edgenetwork.v1.Router.getDefaultInstance()) { getRouterBuilder().mergeFrom(value); } else { router_ = value; @@ -964,11 +1084,15 @@ public Builder mergeRouter(com.google.cloud.edgenetwork.v1.Router value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRouter() { bitField0_ = (bitField0_ & ~0x00000004); @@ -981,11 +1105,15 @@ public Builder clearRouter() { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.edgenetwork.v1.Router.Builder getRouterBuilder() { bitField0_ |= 0x00000004; @@ -993,36 +1121,48 @@ public com.google.cloud.edgenetwork.v1.Router.Builder getRouterBuilder() { return getRouterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.edgenetwork.v1.RouterOrBuilder getRouterOrBuilder() { if (routerBuilder_ != null) { return routerBuilder_.getMessageOrBuilder(); } else { - return router_ == null ? - com.google.cloud.edgenetwork.v1.Router.getDefaultInstance() : router_; + return router_ == null + ? com.google.cloud.edgenetwork.v1.Router.getDefaultInstance() + : router_; } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Router, com.google.cloud.edgenetwork.v1.Router.Builder, com.google.cloud.edgenetwork.v1.RouterOrBuilder> + com.google.cloud.edgenetwork.v1.Router, + com.google.cloud.edgenetwork.v1.Router.Builder, + com.google.cloud.edgenetwork.v1.RouterOrBuilder> getRouterFieldBuilder() { if (routerBuilder_ == null) { - routerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Router, com.google.cloud.edgenetwork.v1.Router.Builder, com.google.cloud.edgenetwork.v1.RouterOrBuilder>( - getRouter(), - getParentForChildren(), - isClean()); + routerBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgenetwork.v1.Router, + com.google.cloud.edgenetwork.v1.Router.Builder, + com.google.cloud.edgenetwork.v1.RouterOrBuilder>( + getRouter(), getParentForChildren(), isClean()); router_ = null; } return routerBuilder_; @@ -1030,6 +1170,8 @@ public com.google.cloud.edgenetwork.v1.RouterOrBuilder getRouterOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1047,13 +1189,13 @@ public com.google.cloud.edgenetwork.v1.RouterOrBuilder getRouterOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1062,6 +1204,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1079,15 +1223,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1095,6 +1238,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1112,18 +1257,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1141,6 +1290,7 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1150,6 +1300,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1167,21 +1319,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1191,12 +1345,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.CreateRouterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.CreateRouterRequest) private static final com.google.cloud.edgenetwork.v1.CreateRouterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.CreateRouterRequest(); } @@ -1205,27 +1359,27 @@ public static com.google.cloud.edgenetwork.v1.CreateRouterRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateRouterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateRouterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1240,6 +1394,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.CreateRouterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateRouterRequestOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateRouterRequestOrBuilder.java similarity index 74% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateRouterRequestOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateRouterRequestOrBuilder.java index be6514186510..cb1dea67efed 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateRouterRequestOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateRouterRequestOrBuilder.java @@ -1,34 +1,61 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface CreateRouterRequestOrBuilder extends +public interface CreateRouterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.CreateRouterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Id of the requesting object
    * If auto-generating Id server-side, remove this field and
@@ -36,10 +63,13 @@ public interface CreateRouterRequestOrBuilder extends
    * 
* * string router_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The routerId. */ java.lang.String getRouterId(); /** + * + * *
    * Required. Id of the requesting object
    * If auto-generating Id server-side, remove this field and
@@ -47,39 +77,52 @@ public interface CreateRouterRequestOrBuilder extends
    * 
* * string router_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for routerId. */ - com.google.protobuf.ByteString - getRouterIdBytes(); + com.google.protobuf.ByteString getRouterIdBytes(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the router field is set. */ boolean hasRouter(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The router. */ com.google.cloud.edgenetwork.v1.Router getRouter(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.edgenetwork.v1.Router router = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.edgenetwork.v1.RouterOrBuilder getRouterOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -97,10 +140,13 @@ public interface CreateRouterRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -118,8 +164,8 @@ public interface CreateRouterRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateSubnetRequest.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateSubnetRequest.java similarity index 70% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateSubnetRequest.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateSubnetRequest.java index bda1ca411955..ae9fc58a56a5 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateSubnetRequest.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateSubnetRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,21 +20,24 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for creating a Subnet
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.CreateSubnetRequest} */ -public final class CreateSubnetRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateSubnetRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.CreateSubnetRequest) CreateSubnetRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateSubnetRequest.newBuilder() to construct. private CreateSubnetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateSubnetRequest() { parent_ = ""; subnetId_ = ""; @@ -28,34 +46,41 @@ private CreateSubnetRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateSubnetRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_CreateSubnetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_CreateSubnetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_CreateSubnetRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_CreateSubnetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.CreateSubnetRequest.class, com.google.cloud.edgenetwork.v1.CreateSubnetRequest.Builder.class); + com.google.cloud.edgenetwork.v1.CreateSubnetRequest.class, + com.google.cloud.edgenetwork.v1.CreateSubnetRequest.Builder.class); } private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,29 +89,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -95,9 +122,12 @@ public java.lang.String getParent() { } public static final int SUBNET_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object subnetId_ = ""; /** + * + * *
    * Required. Id of the requesting object
    * If auto-generating Id server-side, remove this field and
@@ -105,6 +135,7 @@ public java.lang.String getParent() {
    * 
* * string subnet_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subnetId. */ @java.lang.Override @@ -113,14 +144,15 @@ public java.lang.String getSubnetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetId_ = s; return s; } } /** + * + * *
    * Required. Id of the requesting object
    * If auto-generating Id server-side, remove this field and
@@ -128,16 +160,15 @@ public java.lang.String getSubnetId() {
    * 
* * string subnet_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subnetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getSubnetIdBytes() { + public com.google.protobuf.ByteString getSubnetIdBytes() { java.lang.Object ref = subnetId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetId_ = b; return b; } else { @@ -148,11 +179,15 @@ public java.lang.String getSubnetId() { public static final int SUBNET_FIELD_NUMBER = 3; private com.google.cloud.edgenetwork.v1.Subnet subnet_; /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the subnet field is set. */ @java.lang.Override @@ -160,11 +195,15 @@ public boolean hasSubnet() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The subnet. */ @java.lang.Override @@ -172,11 +211,14 @@ public com.google.cloud.edgenetwork.v1.Subnet getSubnet() { return subnet_ == null ? com.google.cloud.edgenetwork.v1.Subnet.getDefaultInstance() : subnet_; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.edgenetwork.v1.SubnetOrBuilder getSubnetOrBuilder() { @@ -184,9 +226,12 @@ public com.google.cloud.edgenetwork.v1.SubnetOrBuilder getSubnetOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -204,6 +249,7 @@ public com.google.cloud.edgenetwork.v1.SubnetOrBuilder getSubnetOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -212,14 +258,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -237,16 +284,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -255,6 +301,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,8 +313,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -296,8 +342,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, subnetId_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getSubnet()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSubnet()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -310,24 +355,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.edgenetwork.v1.CreateSubnetRequest)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.CreateSubnetRequest other = (com.google.cloud.edgenetwork.v1.CreateSubnetRequest) obj; + com.google.cloud.edgenetwork.v1.CreateSubnetRequest other = + (com.google.cloud.edgenetwork.v1.CreateSubnetRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getSubnetId() - .equals(other.getSubnetId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getSubnetId().equals(other.getSubnetId())) return false; if (hasSubnet() != other.hasSubnet()) return false; if (hasSubnet()) { - if (!getSubnet() - .equals(other.getSubnet())) return false; + if (!getSubnet().equals(other.getSubnet())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -355,119 +397,126 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.CreateSubnetRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.CreateSubnetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.CreateSubnetRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.CreateSubnetRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.CreateSubnetRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.CreateSubnetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.CreateSubnetRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.CreateSubnetRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.CreateSubnetRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.CreateSubnetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.CreateSubnetRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.CreateSubnetRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.CreateSubnetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.CreateSubnetRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.CreateSubnetRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for creating a Subnet
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.CreateSubnetRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.CreateSubnetRequest) com.google.cloud.edgenetwork.v1.CreateSubnetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_CreateSubnetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_CreateSubnetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_CreateSubnetRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_CreateSubnetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.CreateSubnetRequest.class, com.google.cloud.edgenetwork.v1.CreateSubnetRequest.Builder.class); + com.google.cloud.edgenetwork.v1.CreateSubnetRequest.class, + com.google.cloud.edgenetwork.v1.CreateSubnetRequest.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.CreateSubnetRequest.newBuilder() @@ -475,17 +524,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getSubnetFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -502,9 +551,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_CreateSubnetRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_CreateSubnetRequest_descriptor; } @java.lang.Override @@ -523,8 +572,11 @@ public com.google.cloud.edgenetwork.v1.CreateSubnetRequest build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.CreateSubnetRequest buildPartial() { - com.google.cloud.edgenetwork.v1.CreateSubnetRequest result = new com.google.cloud.edgenetwork.v1.CreateSubnetRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.CreateSubnetRequest result = + new com.google.cloud.edgenetwork.v1.CreateSubnetRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -539,9 +591,7 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.CreateSubnetRequest r } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.subnet_ = subnetBuilder_ == null - ? subnet_ - : subnetBuilder_.build(); + result.subnet_ = subnetBuilder_ == null ? subnet_ : subnetBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { @@ -554,38 +604,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.CreateSubnetRequest r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.CreateSubnetRequest) { - return mergeFrom((com.google.cloud.edgenetwork.v1.CreateSubnetRequest)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.CreateSubnetRequest) other); } else { super.mergeFrom(other); return this; @@ -593,7 +644,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.CreateSubnetRequest other) { - if (other == com.google.cloud.edgenetwork.v1.CreateSubnetRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.CreateSubnetRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -638,34 +690,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - subnetId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getSubnetFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + subnetId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getSubnetFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -675,22 +730,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -699,20 +759,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -720,28 +783,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -751,17 +825,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -771,6 +851,8 @@ public Builder setParentBytes( private java.lang.Object subnetId_ = ""; /** + * + * *
      * Required. Id of the requesting object
      * If auto-generating Id server-side, remove this field and
@@ -778,13 +860,13 @@ public Builder setParentBytes(
      * 
* * string subnet_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subnetId. */ public java.lang.String getSubnetId() { java.lang.Object ref = subnetId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetId_ = s; return s; @@ -793,6 +875,8 @@ public java.lang.String getSubnetId() { } } /** + * + * *
      * Required. Id of the requesting object
      * If auto-generating Id server-side, remove this field and
@@ -800,15 +884,14 @@ public java.lang.String getSubnetId() {
      * 
* * string subnet_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subnetId. */ - public com.google.protobuf.ByteString - getSubnetIdBytes() { + public com.google.protobuf.ByteString getSubnetIdBytes() { java.lang.Object ref = subnetId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetId_ = b; return b; } else { @@ -816,6 +899,8 @@ public java.lang.String getSubnetId() { } } /** + * + * *
      * Required. Id of the requesting object
      * If auto-generating Id server-side, remove this field and
@@ -823,18 +908,22 @@ public java.lang.String getSubnetId() {
      * 
* * string subnet_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The subnetId to set. * @return This builder for chaining. */ - public Builder setSubnetId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubnetId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } subnetId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. Id of the requesting object
      * If auto-generating Id server-side, remove this field and
@@ -842,6 +931,7 @@ public Builder setSubnetId(
      * 
* * string subnet_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSubnetId() { @@ -851,6 +941,8 @@ public Builder clearSubnetId() { return this; } /** + * + * *
      * Required. Id of the requesting object
      * If auto-generating Id server-side, remove this field and
@@ -858,12 +950,14 @@ public Builder clearSubnetId() {
      * 
* * string subnet_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for subnetId to set. * @return This builder for chaining. */ - public Builder setSubnetIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubnetIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); subnetId_ = value; bitField0_ |= 0x00000002; @@ -873,39 +967,58 @@ public Builder setSubnetIdBytes( private com.google.cloud.edgenetwork.v1.Subnet subnet_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Subnet, com.google.cloud.edgenetwork.v1.Subnet.Builder, com.google.cloud.edgenetwork.v1.SubnetOrBuilder> subnetBuilder_; + com.google.cloud.edgenetwork.v1.Subnet, + com.google.cloud.edgenetwork.v1.Subnet.Builder, + com.google.cloud.edgenetwork.v1.SubnetOrBuilder> + subnetBuilder_; /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the subnet field is set. */ public boolean hasSubnet() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The subnet. */ public com.google.cloud.edgenetwork.v1.Subnet getSubnet() { if (subnetBuilder_ == null) { - return subnet_ == null ? com.google.cloud.edgenetwork.v1.Subnet.getDefaultInstance() : subnet_; + return subnet_ == null + ? com.google.cloud.edgenetwork.v1.Subnet.getDefaultInstance() + : subnet_; } else { return subnetBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSubnet(com.google.cloud.edgenetwork.v1.Subnet value) { if (subnetBuilder_ == null) { @@ -921,14 +1034,17 @@ public Builder setSubnet(com.google.cloud.edgenetwork.v1.Subnet value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setSubnet( - com.google.cloud.edgenetwork.v1.Subnet.Builder builderForValue) { + public Builder setSubnet(com.google.cloud.edgenetwork.v1.Subnet.Builder builderForValue) { if (subnetBuilder_ == null) { subnet_ = builderForValue.build(); } else { @@ -939,17 +1055,21 @@ public Builder setSubnet( return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeSubnet(com.google.cloud.edgenetwork.v1.Subnet value) { if (subnetBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - subnet_ != null && - subnet_ != com.google.cloud.edgenetwork.v1.Subnet.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && subnet_ != null + && subnet_ != com.google.cloud.edgenetwork.v1.Subnet.getDefaultInstance()) { getSubnetBuilder().mergeFrom(value); } else { subnet_ = value; @@ -964,11 +1084,15 @@ public Builder mergeSubnet(com.google.cloud.edgenetwork.v1.Subnet value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSubnet() { bitField0_ = (bitField0_ & ~0x00000004); @@ -981,11 +1105,15 @@ public Builder clearSubnet() { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.edgenetwork.v1.Subnet.Builder getSubnetBuilder() { bitField0_ |= 0x00000004; @@ -993,36 +1121,48 @@ public com.google.cloud.edgenetwork.v1.Subnet.Builder getSubnetBuilder() { return getSubnetFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.edgenetwork.v1.SubnetOrBuilder getSubnetOrBuilder() { if (subnetBuilder_ != null) { return subnetBuilder_.getMessageOrBuilder(); } else { - return subnet_ == null ? - com.google.cloud.edgenetwork.v1.Subnet.getDefaultInstance() : subnet_; + return subnet_ == null + ? com.google.cloud.edgenetwork.v1.Subnet.getDefaultInstance() + : subnet_; } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Subnet, com.google.cloud.edgenetwork.v1.Subnet.Builder, com.google.cloud.edgenetwork.v1.SubnetOrBuilder> + com.google.cloud.edgenetwork.v1.Subnet, + com.google.cloud.edgenetwork.v1.Subnet.Builder, + com.google.cloud.edgenetwork.v1.SubnetOrBuilder> getSubnetFieldBuilder() { if (subnetBuilder_ == null) { - subnetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Subnet, com.google.cloud.edgenetwork.v1.Subnet.Builder, com.google.cloud.edgenetwork.v1.SubnetOrBuilder>( - getSubnet(), - getParentForChildren(), - isClean()); + subnetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgenetwork.v1.Subnet, + com.google.cloud.edgenetwork.v1.Subnet.Builder, + com.google.cloud.edgenetwork.v1.SubnetOrBuilder>( + getSubnet(), getParentForChildren(), isClean()); subnet_ = null; } return subnetBuilder_; @@ -1030,6 +1170,8 @@ public com.google.cloud.edgenetwork.v1.SubnetOrBuilder getSubnetOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1047,13 +1189,13 @@ public com.google.cloud.edgenetwork.v1.SubnetOrBuilder getSubnetOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1062,6 +1204,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1079,15 +1223,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1095,6 +1238,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1112,18 +1257,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1141,6 +1290,7 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1150,6 +1300,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1167,21 +1319,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1191,12 +1345,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.CreateSubnetRequest) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.CreateSubnetRequest) private static final com.google.cloud.edgenetwork.v1.CreateSubnetRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.CreateSubnetRequest(); } @@ -1205,27 +1359,27 @@ public static com.google.cloud.edgenetwork.v1.CreateSubnetRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateSubnetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateSubnetRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1240,6 +1394,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.CreateSubnetRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateSubnetRequestOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateSubnetRequestOrBuilder.java similarity index 74% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateSubnetRequestOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateSubnetRequestOrBuilder.java index 3c2fed4c0021..922d926c4968 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateSubnetRequestOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/CreateSubnetRequestOrBuilder.java @@ -1,34 +1,61 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface CreateSubnetRequestOrBuilder extends +public interface CreateSubnetRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.CreateSubnetRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Id of the requesting object
    * If auto-generating Id server-side, remove this field and
@@ -36,10 +63,13 @@ public interface CreateSubnetRequestOrBuilder extends
    * 
* * string subnet_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subnetId. */ java.lang.String getSubnetId(); /** + * + * *
    * Required. Id of the requesting object
    * If auto-generating Id server-side, remove this field and
@@ -47,39 +77,52 @@ public interface CreateSubnetRequestOrBuilder extends
    * 
* * string subnet_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subnetId. */ - com.google.protobuf.ByteString - getSubnetIdBytes(); + com.google.protobuf.ByteString getSubnetIdBytes(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the subnet field is set. */ boolean hasSubnet(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The subnet. */ com.google.cloud.edgenetwork.v1.Subnet getSubnet(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.edgenetwork.v1.Subnet subnet = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.edgenetwork.v1.SubnetOrBuilder getSubnetOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -97,10 +140,13 @@ public interface CreateSubnetRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -118,8 +164,8 @@ public interface CreateSubnetRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteInterconnectAttachmentRequest.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteInterconnectAttachmentRequest.java similarity index 67% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteInterconnectAttachmentRequest.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteInterconnectAttachmentRequest.java index 0f916c272055..cf2b2609b0a1 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteInterconnectAttachmentRequest.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteInterconnectAttachmentRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,21 +20,26 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for deleting a InterconnectAttachment
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest} */ -public final class DeleteInterconnectAttachmentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteInterconnectAttachmentRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest) DeleteInterconnectAttachmentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteInterconnectAttachmentRequest.newBuilder() to construct. - private DeleteInterconnectAttachmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteInterconnectAttachmentRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteInterconnectAttachmentRequest() { name_ = ""; requestId_ = ""; @@ -27,33 +47,40 @@ private DeleteInterconnectAttachmentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteInterconnectAttachmentRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DeleteInterconnectAttachmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DeleteInterconnectAttachmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DeleteInterconnectAttachmentRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DeleteInterconnectAttachmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest.class, com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest.Builder.class); + com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest.class, + com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,29 +89,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,9 +122,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -113,6 +145,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -121,14 +154,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -146,16 +180,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -164,6 +197,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,8 +209,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -206,17 +239,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.edgenetwork.v1.DeleteInterconnectAttachmentRequest)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest other = (com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest) obj; + com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest other = + (com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -238,131 +270,138 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for deleting a InterconnectAttachment
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest) com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DeleteInterconnectAttachmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DeleteInterconnectAttachmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DeleteInterconnectAttachmentRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DeleteInterconnectAttachmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest.class, com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest.Builder.class); + com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest.class, + com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest.Builder.class); } - // Construct using com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -373,14 +412,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DeleteInterconnectAttachmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DeleteInterconnectAttachmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest getDefaultInstanceForType() { - return com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest.getDefaultInstance(); + public com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest + getDefaultInstanceForType() { + return com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest + .getDefaultInstance(); } @java.lang.Override @@ -394,13 +435,17 @@ public com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest build @java.lang.Override public com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest buildPartial() { - com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest result = new com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest result = + new com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest result) { + private void buildPartial0( + com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -414,46 +459,51 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.DeleteInterconnectAtt public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest) { - return mergeFrom((com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest)other); + return mergeFrom( + (com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest other) { - if (other == com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest other) { + if (other + == com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -490,22 +540,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -515,22 +568,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -539,20 +597,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -560,28 +621,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -591,17 +663,23 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -611,6 +689,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -628,13 +708,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -643,6 +723,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -660,15 +742,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -676,6 +757,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -693,18 +776,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -722,6 +809,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -731,6 +819,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -748,21 +838,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -772,41 +864,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest) - private static final com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest(); } - public static com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest getDefaultInstance() { + public static com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteInterconnectAttachmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteInterconnectAttachmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -818,9 +912,8 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest getDefaultInstanceForType() { + public com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteInterconnectAttachmentRequestOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteInterconnectAttachmentRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteInterconnectAttachmentRequestOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteInterconnectAttachmentRequestOrBuilder.java index d46924944f7a..d9b79bd37660 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteInterconnectAttachmentRequestOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteInterconnectAttachmentRequestOrBuilder.java @@ -1,34 +1,61 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface DeleteInterconnectAttachmentRequestOrBuilder extends +public interface DeleteInterconnectAttachmentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -46,10 +73,13 @@ public interface DeleteInterconnectAttachmentRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -67,8 +97,8 @@ public interface DeleteInterconnectAttachmentRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteNetworkRequest.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteNetworkRequest.java similarity index 70% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteNetworkRequest.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteNetworkRequest.java index 3b74d2fba9ed..b7f9002e1f18 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteNetworkRequest.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteNetworkRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,21 +20,24 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for deleting a Network
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.DeleteNetworkRequest} */ -public final class DeleteNetworkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteNetworkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.DeleteNetworkRequest) DeleteNetworkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteNetworkRequest.newBuilder() to construct. private DeleteNetworkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteNetworkRequest() { name_ = ""; requestId_ = ""; @@ -27,33 +45,40 @@ private DeleteNetworkRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteNetworkRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DeleteNetworkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DeleteNetworkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DeleteNetworkRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DeleteNetworkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.DeleteNetworkRequest.class, com.google.cloud.edgenetwork.v1.DeleteNetworkRequest.Builder.class); + com.google.cloud.edgenetwork.v1.DeleteNetworkRequest.class, + com.google.cloud.edgenetwork.v1.DeleteNetworkRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,29 +87,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,9 +120,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -113,6 +143,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -121,14 +152,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -146,16 +178,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -164,6 +195,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,8 +207,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -206,17 +237,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.edgenetwork.v1.DeleteNetworkRequest)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.DeleteNetworkRequest other = (com.google.cloud.edgenetwork.v1.DeleteNetworkRequest) obj; + com.google.cloud.edgenetwork.v1.DeleteNetworkRequest other = + (com.google.cloud.edgenetwork.v1.DeleteNetworkRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -238,131 +268,135 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.DeleteNetworkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DeleteNetworkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DeleteNetworkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DeleteNetworkRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DeleteNetworkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DeleteNetworkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.DeleteNetworkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.DeleteNetworkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.DeleteNetworkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.DeleteNetworkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.DeleteNetworkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.DeleteNetworkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DeleteNetworkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.DeleteNetworkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.DeleteNetworkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for deleting a Network
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.DeleteNetworkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.DeleteNetworkRequest) com.google.cloud.edgenetwork.v1.DeleteNetworkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DeleteNetworkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DeleteNetworkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DeleteNetworkRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DeleteNetworkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.DeleteNetworkRequest.class, com.google.cloud.edgenetwork.v1.DeleteNetworkRequest.Builder.class); + com.google.cloud.edgenetwork.v1.DeleteNetworkRequest.class, + com.google.cloud.edgenetwork.v1.DeleteNetworkRequest.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.DeleteNetworkRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DeleteNetworkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DeleteNetworkRequest_descriptor; } @java.lang.Override @@ -394,8 +428,11 @@ public com.google.cloud.edgenetwork.v1.DeleteNetworkRequest build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.DeleteNetworkRequest buildPartial() { - com.google.cloud.edgenetwork.v1.DeleteNetworkRequest result = new com.google.cloud.edgenetwork.v1.DeleteNetworkRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.DeleteNetworkRequest result = + new com.google.cloud.edgenetwork.v1.DeleteNetworkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -414,38 +451,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.DeleteNetworkRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.DeleteNetworkRequest) { - return mergeFrom((com.google.cloud.edgenetwork.v1.DeleteNetworkRequest)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.DeleteNetworkRequest) other); } else { super.mergeFrom(other); return this; @@ -453,7 +491,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.DeleteNetworkRequest other) { - if (other == com.google.cloud.edgenetwork.v1.DeleteNetworkRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.DeleteNetworkRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -490,22 +529,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -515,22 +557,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -539,20 +586,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -560,28 +610,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -591,17 +652,23 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -611,6 +678,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -628,13 +697,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -643,6 +712,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -660,15 +731,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -676,6 +746,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -693,18 +765,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -722,6 +798,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -731,6 +808,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -748,21 +827,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -772,12 +853,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.DeleteNetworkRequest) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.DeleteNetworkRequest) private static final com.google.cloud.edgenetwork.v1.DeleteNetworkRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.DeleteNetworkRequest(); } @@ -786,27 +867,27 @@ public static com.google.cloud.edgenetwork.v1.DeleteNetworkRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteNetworkRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteNetworkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -821,6 +902,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.DeleteNetworkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteNetworkRequestOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteNetworkRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteNetworkRequestOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteNetworkRequestOrBuilder.java index e46fdbd16ea5..aca80aee4ed1 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteNetworkRequestOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteNetworkRequestOrBuilder.java @@ -1,34 +1,61 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface DeleteNetworkRequestOrBuilder extends +public interface DeleteNetworkRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.DeleteNetworkRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -46,10 +73,13 @@ public interface DeleteNetworkRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -67,8 +97,8 @@ public interface DeleteNetworkRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteRouterRequest.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteRouterRequest.java similarity index 70% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteRouterRequest.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteRouterRequest.java index 7ece7618f693..f8458d17a8ae 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteRouterRequest.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteRouterRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,21 +20,24 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for deleting a Router
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.DeleteRouterRequest} */ -public final class DeleteRouterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteRouterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.DeleteRouterRequest) DeleteRouterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteRouterRequest.newBuilder() to construct. private DeleteRouterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteRouterRequest() { name_ = ""; requestId_ = ""; @@ -27,33 +45,40 @@ private DeleteRouterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteRouterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DeleteRouterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DeleteRouterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DeleteRouterRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DeleteRouterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.DeleteRouterRequest.class, com.google.cloud.edgenetwork.v1.DeleteRouterRequest.Builder.class); + com.google.cloud.edgenetwork.v1.DeleteRouterRequest.class, + com.google.cloud.edgenetwork.v1.DeleteRouterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,29 +87,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,9 +120,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -113,6 +143,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -121,14 +152,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -146,16 +178,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -164,6 +195,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,8 +207,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -206,17 +237,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.edgenetwork.v1.DeleteRouterRequest)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.DeleteRouterRequest other = (com.google.cloud.edgenetwork.v1.DeleteRouterRequest) obj; + com.google.cloud.edgenetwork.v1.DeleteRouterRequest other = + (com.google.cloud.edgenetwork.v1.DeleteRouterRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -238,131 +268,135 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.DeleteRouterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DeleteRouterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DeleteRouterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DeleteRouterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DeleteRouterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DeleteRouterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.DeleteRouterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.DeleteRouterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.DeleteRouterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.DeleteRouterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.DeleteRouterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.DeleteRouterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DeleteRouterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.DeleteRouterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.DeleteRouterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for deleting a Router
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.DeleteRouterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.DeleteRouterRequest) com.google.cloud.edgenetwork.v1.DeleteRouterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DeleteRouterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DeleteRouterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DeleteRouterRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DeleteRouterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.DeleteRouterRequest.class, com.google.cloud.edgenetwork.v1.DeleteRouterRequest.Builder.class); + com.google.cloud.edgenetwork.v1.DeleteRouterRequest.class, + com.google.cloud.edgenetwork.v1.DeleteRouterRequest.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.DeleteRouterRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DeleteRouterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DeleteRouterRequest_descriptor; } @java.lang.Override @@ -394,8 +428,11 @@ public com.google.cloud.edgenetwork.v1.DeleteRouterRequest build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.DeleteRouterRequest buildPartial() { - com.google.cloud.edgenetwork.v1.DeleteRouterRequest result = new com.google.cloud.edgenetwork.v1.DeleteRouterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.DeleteRouterRequest result = + new com.google.cloud.edgenetwork.v1.DeleteRouterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -414,38 +451,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.DeleteRouterRequest r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.DeleteRouterRequest) { - return mergeFrom((com.google.cloud.edgenetwork.v1.DeleteRouterRequest)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.DeleteRouterRequest) other); } else { super.mergeFrom(other); return this; @@ -453,7 +491,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.DeleteRouterRequest other) { - if (other == com.google.cloud.edgenetwork.v1.DeleteRouterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.DeleteRouterRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -490,22 +529,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -515,22 +557,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -539,20 +586,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -560,28 +610,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -591,17 +652,23 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -611,6 +678,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -628,13 +697,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -643,6 +712,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -660,15 +731,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -676,6 +746,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -693,18 +765,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -722,6 +798,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -731,6 +808,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -748,21 +827,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -772,12 +853,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.DeleteRouterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.DeleteRouterRequest) private static final com.google.cloud.edgenetwork.v1.DeleteRouterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.DeleteRouterRequest(); } @@ -786,27 +867,27 @@ public static com.google.cloud.edgenetwork.v1.DeleteRouterRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRouterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRouterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -821,6 +902,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.DeleteRouterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteRouterRequestOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteRouterRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteRouterRequestOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteRouterRequestOrBuilder.java index 393c3838566e..e0b3a7cea1ce 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteRouterRequestOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteRouterRequestOrBuilder.java @@ -1,34 +1,61 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface DeleteRouterRequestOrBuilder extends +public interface DeleteRouterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.DeleteRouterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -46,10 +73,13 @@ public interface DeleteRouterRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -67,8 +97,8 @@ public interface DeleteRouterRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteSubnetRequest.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteSubnetRequest.java similarity index 70% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteSubnetRequest.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteSubnetRequest.java index 66c7ade8f111..e26170a96fa4 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteSubnetRequest.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteSubnetRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,21 +20,24 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for deleting a Subnet
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.DeleteSubnetRequest} */ -public final class DeleteSubnetRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteSubnetRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.DeleteSubnetRequest) DeleteSubnetRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteSubnetRequest.newBuilder() to construct. private DeleteSubnetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteSubnetRequest() { name_ = ""; requestId_ = ""; @@ -27,33 +45,40 @@ private DeleteSubnetRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteSubnetRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DeleteSubnetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DeleteSubnetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DeleteSubnetRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DeleteSubnetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.DeleteSubnetRequest.class, com.google.cloud.edgenetwork.v1.DeleteSubnetRequest.Builder.class); + com.google.cloud.edgenetwork.v1.DeleteSubnetRequest.class, + com.google.cloud.edgenetwork.v1.DeleteSubnetRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,29 +87,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,9 +120,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -113,6 +143,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -121,14 +152,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -146,16 +178,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -164,6 +195,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,8 +207,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -206,17 +237,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.edgenetwork.v1.DeleteSubnetRequest)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.DeleteSubnetRequest other = (com.google.cloud.edgenetwork.v1.DeleteSubnetRequest) obj; + com.google.cloud.edgenetwork.v1.DeleteSubnetRequest other = + (com.google.cloud.edgenetwork.v1.DeleteSubnetRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -238,131 +268,135 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.DeleteSubnetRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DeleteSubnetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DeleteSubnetRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DeleteSubnetRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DeleteSubnetRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DeleteSubnetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.DeleteSubnetRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.DeleteSubnetRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.DeleteSubnetRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.DeleteSubnetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.DeleteSubnetRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.DeleteSubnetRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DeleteSubnetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.DeleteSubnetRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.DeleteSubnetRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for deleting a Subnet
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.DeleteSubnetRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.DeleteSubnetRequest) com.google.cloud.edgenetwork.v1.DeleteSubnetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DeleteSubnetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DeleteSubnetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DeleteSubnetRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DeleteSubnetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.DeleteSubnetRequest.class, com.google.cloud.edgenetwork.v1.DeleteSubnetRequest.Builder.class); + com.google.cloud.edgenetwork.v1.DeleteSubnetRequest.class, + com.google.cloud.edgenetwork.v1.DeleteSubnetRequest.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.DeleteSubnetRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DeleteSubnetRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DeleteSubnetRequest_descriptor; } @java.lang.Override @@ -394,8 +428,11 @@ public com.google.cloud.edgenetwork.v1.DeleteSubnetRequest build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.DeleteSubnetRequest buildPartial() { - com.google.cloud.edgenetwork.v1.DeleteSubnetRequest result = new com.google.cloud.edgenetwork.v1.DeleteSubnetRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.DeleteSubnetRequest result = + new com.google.cloud.edgenetwork.v1.DeleteSubnetRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -414,38 +451,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.DeleteSubnetRequest r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.DeleteSubnetRequest) { - return mergeFrom((com.google.cloud.edgenetwork.v1.DeleteSubnetRequest)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.DeleteSubnetRequest) other); } else { super.mergeFrom(other); return this; @@ -453,7 +491,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.DeleteSubnetRequest other) { - if (other == com.google.cloud.edgenetwork.v1.DeleteSubnetRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.DeleteSubnetRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -490,22 +529,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -515,22 +557,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -539,20 +586,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -560,28 +610,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -591,17 +652,23 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -611,6 +678,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -628,13 +697,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -643,6 +712,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -660,15 +731,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -676,6 +746,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -693,18 +765,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -722,6 +798,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -731,6 +808,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -748,21 +827,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -772,12 +853,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.DeleteSubnetRequest) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.DeleteSubnetRequest) private static final com.google.cloud.edgenetwork.v1.DeleteSubnetRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.DeleteSubnetRequest(); } @@ -786,27 +867,27 @@ public static com.google.cloud.edgenetwork.v1.DeleteSubnetRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteSubnetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteSubnetRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -821,6 +902,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.DeleteSubnetRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteSubnetRequestOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteSubnetRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteSubnetRequestOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteSubnetRequestOrBuilder.java index ac96b1da9c48..2e9658af6fde 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteSubnetRequestOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DeleteSubnetRequestOrBuilder.java @@ -1,34 +1,61 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface DeleteSubnetRequestOrBuilder extends +public interface DeleteSubnetRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.DeleteSubnetRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -46,10 +73,13 @@ public interface DeleteSubnetRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -67,8 +97,8 @@ public interface DeleteSubnetRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectRequest.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectRequest.java similarity index 61% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectRequest.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectRequest.java index aea77a7307fb..47751b120fcf 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectRequest.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,6 +20,8 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for requesting the diagnostics of an interconnect within a specific
  * zone.
@@ -12,48 +29,56 @@
  *
  * Protobuf type {@code google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest}
  */
-public final class DiagnoseInterconnectRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DiagnoseInterconnectRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest)
     DiagnoseInterconnectRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DiagnoseInterconnectRequest.newBuilder() to construct.
   private DiagnoseInterconnectRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DiagnoseInterconnectRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DiagnoseInterconnectRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.edgenetwork.v1.ServiceProto
+        .internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectRequest_fieldAccessorTable
+    return com.google.cloud.edgenetwork.v1.ServiceProto
+        .internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest.class, com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest.Builder.class);
+            com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest.class,
+            com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the interconnect resource.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,29 +87,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the interconnect resource.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +156,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.edgenetwork.v1.DiagnoseInterconnectRequest)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest other = (com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest) obj; + com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest other = + (com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,98 +184,104 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for requesting the diagnostics of an interconnect within a specific
    * zone.
@@ -256,33 +289,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest)
       com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.edgenetwork.v1.ServiceProto
+          .internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectRequest_fieldAccessorTable
+      return com.google.cloud.edgenetwork.v1.ServiceProto
+          .internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest.class, com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest.Builder.class);
+              com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest.class,
+              com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -292,9 +324,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.edgenetwork.v1.ServiceProto
+          .internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectRequest_descriptor;
     }
 
     @java.lang.Override
@@ -313,8 +345,11 @@ public com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest build() {
 
     @java.lang.Override
     public com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest buildPartial() {
-      com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest result = new com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest result =
+          new com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -330,38 +365,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.DiagnoseInterconnectR
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest) {
-        return mergeFrom((com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest)other);
+        return mergeFrom((com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -369,7 +405,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest other) {
-      if (other == com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -401,17 +438,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -421,22 +460,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the interconnect resource.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,20 +489,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the interconnect resource.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,28 +513,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the interconnect resource.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the interconnect resource.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -497,26 +555,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the interconnect resource.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,12 +590,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest) private static final com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest(); } @@ -540,27 +604,27 @@ public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DiagnoseInterconnectRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DiagnoseInterconnectRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -575,6 +639,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectRequestOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectRequestOrBuilder.java new file mode 100644 index 000000000000..c30d7a654702 --- /dev/null +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectRequestOrBuilder.java @@ -0,0 +1,55 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/edgenetwork/v1/service.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.edgenetwork.v1; + +public interface DiagnoseInterconnectRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the interconnect resource.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the interconnect resource.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectResponse.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectResponse.java similarity index 68% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectResponse.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectResponse.java index b7f38e757071..70f8a3bf6cd9 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectResponse.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,6 +20,8 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * DiagnoseInterconnectResponse contains the current diagnostics for a
  * specific interconnect.
@@ -12,47 +29,51 @@
  *
  * Protobuf type {@code google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse}
  */
-public final class DiagnoseInterconnectResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DiagnoseInterconnectResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse)
     DiagnoseInterconnectResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DiagnoseInterconnectResponse.newBuilder() to construct.
   private DiagnoseInterconnectResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private DiagnoseInterconnectResponse() {
-  }
+
+  private DiagnoseInterconnectResponse() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DiagnoseInterconnectResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.edgenetwork.v1.ServiceProto
+        .internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectResponse_fieldAccessorTable
+    return com.google.cloud.edgenetwork.v1.ServiceProto
+        .internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse.class, com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse.Builder.class);
+            com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse.class,
+            com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse.Builder.class);
   }
 
   private int bitField0_;
   public static final int UPDATE_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Timestamp updateTime_;
   /**
+   *
+   *
    * 
    * The time when the interconnect diagnostics was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -60,11 +81,14 @@ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The time when the interconnect diagnostics was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return The updateTime. */ @java.lang.Override @@ -72,6 +96,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the interconnect diagnostics was last updated.
    * 
@@ -86,11 +112,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int RESULT_FIELD_NUMBER = 2; private com.google.cloud.edgenetwork.v1.InterconnectDiagnostics result_; /** + * + * *
    * The network status of a specific interconnect.
    * 
* * .google.cloud.edgenetwork.v1.InterconnectDiagnostics result = 2; + * * @return Whether the result field is set. */ @java.lang.Override @@ -98,18 +127,25 @@ public boolean hasResult() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * The network status of a specific interconnect.
    * 
* * .google.cloud.edgenetwork.v1.InterconnectDiagnostics result = 2; + * * @return The result. */ @java.lang.Override public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics getResult() { - return result_ == null ? com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.getDefaultInstance() : result_; + return result_ == null + ? com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.getDefaultInstance() + : result_; } /** + * + * *
    * The network status of a specific interconnect.
    * 
@@ -118,10 +154,13 @@ public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics getResult() { */ @java.lang.Override public com.google.cloud.edgenetwork.v1.InterconnectDiagnosticsOrBuilder getResultOrBuilder() { - return result_ == null ? com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.getDefaultInstance() : result_; + return result_ == null + ? com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.getDefaultInstance() + : result_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,8 +172,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getUpdateTime()); } @@ -151,12 +189,10 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getResult()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getResult()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -166,22 +202,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.edgenetwork.v1.DiagnoseInterconnectResponse)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse other = (com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse) obj; + com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse other = + (com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse) obj; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (hasResult() != other.hasResult()) return false; if (hasResult()) { - if (!getResult() - .equals(other.getResult())) return false; + if (!getResult().equals(other.getResult())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -208,98 +243,104 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * DiagnoseInterconnectResponse contains the current diagnostics for a
    * specific interconnect.
@@ -307,21 +348,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse)
       com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.edgenetwork.v1.ServiceProto
+          .internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectResponse_fieldAccessorTable
+      return com.google.cloud.edgenetwork.v1.ServiceProto
+          .internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse.class, com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse.Builder.class);
+              com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse.class,
+              com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse.newBuilder()
@@ -329,18 +372,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getUpdateTimeFieldBuilder();
         getResultFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -359,13 +402,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.edgenetwork.v1.ServiceProto
+          .internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse getDefaultInstanceForType() {
+    public com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse
+        getDefaultInstanceForType() {
       return com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse.getDefaultInstance();
     }
 
@@ -380,25 +424,25 @@ public com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse build() {
 
     @java.lang.Override
     public com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse buildPartial() {
-      com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse result = new com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse result =
+          new com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse result) {
+    private void buildPartial0(
+        com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.result_ = resultBuilder_ == null
-            ? result_
-            : resultBuilder_.build();
+        result.result_ = resultBuilder_ == null ? result_ : resultBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       result.bitField0_ |= to_bitField0_;
@@ -408,38 +452,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.DiagnoseInterconnectR
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse) {
-        return mergeFrom((com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse)other);
+        return mergeFrom((com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -447,7 +492,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse other) {
-      if (other == com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse.getDefaultInstance())
+        return this;
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
@@ -480,26 +527,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getResultFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getResultFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -509,38 +555,52 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     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_;
     /**
+     *
+     *
      * 
      * The time when the interconnect diagnostics was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The time when the interconnect diagnostics was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 1; + * * @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(); } } /** + * + * *
      * The time when the interconnect diagnostics was last updated.
      * 
@@ -561,14 +621,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the interconnect diagnostics was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 1; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -579,6 +640,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The time when the interconnect diagnostics was last updated.
      * 
@@ -587,9 +650,9 @@ public Builder setUpdateTime( */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -604,6 +667,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the interconnect diagnostics was last updated.
      * 
@@ -621,6 +686,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The time when the interconnect diagnostics was last updated.
      * 
@@ -633,6 +700,8 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the interconnect diagnostics was last updated.
      * 
@@ -643,11 +712,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_; } } /** + * + * *
      * The time when the interconnect diagnostics was last updated.
      * 
@@ -655,14 +727,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -670,34 +745,47 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.cloud.edgenetwork.v1.InterconnectDiagnostics result_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.Builder, com.google.cloud.edgenetwork.v1.InterconnectDiagnosticsOrBuilder> resultBuilder_; + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.Builder, + com.google.cloud.edgenetwork.v1.InterconnectDiagnosticsOrBuilder> + resultBuilder_; /** + * + * *
      * The network status of a specific interconnect.
      * 
* * .google.cloud.edgenetwork.v1.InterconnectDiagnostics result = 2; + * * @return Whether the result field is set. */ public boolean hasResult() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The network status of a specific interconnect.
      * 
* * .google.cloud.edgenetwork.v1.InterconnectDiagnostics result = 2; + * * @return The result. */ public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics getResult() { if (resultBuilder_ == null) { - return result_ == null ? com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.getDefaultInstance() : result_; + return result_ == null + ? com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.getDefaultInstance() + : result_; } else { return resultBuilder_.getMessage(); } } /** + * + * *
      * The network status of a specific interconnect.
      * 
@@ -718,6 +806,8 @@ public Builder setResult(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics return this; } /** + * + * *
      * The network status of a specific interconnect.
      * 
@@ -736,6 +826,8 @@ public Builder setResult( return this; } /** + * + * *
      * The network status of a specific interconnect.
      * 
@@ -744,9 +836,10 @@ public Builder setResult( */ public Builder mergeResult(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics value) { if (resultBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - result_ != null && - result_ != com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && result_ != null + && result_ + != com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.getDefaultInstance()) { getResultBuilder().mergeFrom(value); } else { result_ = value; @@ -761,6 +854,8 @@ public Builder mergeResult(com.google.cloud.edgenetwork.v1.InterconnectDiagnosti return this; } /** + * + * *
      * The network status of a specific interconnect.
      * 
@@ -778,6 +873,8 @@ public Builder clearResult() { return this; } /** + * + * *
      * The network status of a specific interconnect.
      * 
@@ -790,6 +887,8 @@ public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.Builder getResult return getResultFieldBuilder().getBuilder(); } /** + * + * *
      * The network status of a specific interconnect.
      * 
@@ -800,11 +899,14 @@ public com.google.cloud.edgenetwork.v1.InterconnectDiagnosticsOrBuilder getResul if (resultBuilder_ != null) { return resultBuilder_.getMessageOrBuilder(); } else { - return result_ == null ? - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.getDefaultInstance() : result_; + return result_ == null + ? com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.getDefaultInstance() + : result_; } } /** + * + * *
      * The network status of a specific interconnect.
      * 
@@ -812,21 +914,24 @@ public com.google.cloud.edgenetwork.v1.InterconnectDiagnosticsOrBuilder getResul * .google.cloud.edgenetwork.v1.InterconnectDiagnostics result = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.Builder, com.google.cloud.edgenetwork.v1.InterconnectDiagnosticsOrBuilder> + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.Builder, + com.google.cloud.edgenetwork.v1.InterconnectDiagnosticsOrBuilder> getResultFieldBuilder() { if (resultBuilder_ == null) { - resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.Builder, com.google.cloud.edgenetwork.v1.InterconnectDiagnosticsOrBuilder>( - getResult(), - getParentForChildren(), - isClean()); + resultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.Builder, + com.google.cloud.edgenetwork.v1.InterconnectDiagnosticsOrBuilder>( + getResult(), getParentForChildren(), isClean()); result_ = null; } return resultBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -836,12 +941,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse) - private static final com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse DEFAULT_INSTANCE; + private static final com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse(); } @@ -850,27 +956,27 @@ public static com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DiagnoseInterconnectResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DiagnoseInterconnectResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -885,6 +991,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectResponseOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectResponseOrBuilder.java similarity index 71% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectResponseOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectResponseOrBuilder.java index d4bf54346a90..8790a526268e 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectResponseOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectResponseOrBuilder.java @@ -1,32 +1,56 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface DiagnoseInterconnectResponseOrBuilder extends +public interface DiagnoseInterconnectResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The time when the interconnect diagnostics was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the interconnect diagnostics was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the interconnect diagnostics was last updated.
    * 
@@ -36,24 +60,32 @@ public interface DiagnoseInterconnectResponseOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * The network status of a specific interconnect.
    * 
* * .google.cloud.edgenetwork.v1.InterconnectDiagnostics result = 2; + * * @return Whether the result field is set. */ boolean hasResult(); /** + * + * *
    * The network status of a specific interconnect.
    * 
* * .google.cloud.edgenetwork.v1.InterconnectDiagnostics result = 2; + * * @return The result. */ com.google.cloud.edgenetwork.v1.InterconnectDiagnostics getResult(); /** + * + * *
    * The network status of a specific interconnect.
    * 
diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkRequest.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkRequest.java similarity index 61% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkRequest.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkRequest.java index 1cdd7f645df0..44991299accb 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkRequest.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,54 +20,64 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for requesting the diagnostics of a network within a specific zone.
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.DiagnoseNetworkRequest} */ -public final class DiagnoseNetworkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DiagnoseNetworkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.DiagnoseNetworkRequest) DiagnoseNetworkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DiagnoseNetworkRequest.newBuilder() to construct. private DiagnoseNetworkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DiagnoseNetworkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DiagnoseNetworkRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest.class, com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest.Builder.class); + com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest.class, + com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the network resource.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,29 +86,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the network resource.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -92,6 +119,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -103,8 +131,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -128,15 +155,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.edgenetwork.v1.DiagnoseNetworkRequest)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest other = (com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest) obj; + com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest other = + (com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,131 +183,136 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for requesting the diagnostics of a network within a specific zone.
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.DiagnoseNetworkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.DiagnoseNetworkRequest) com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest.class, com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest.Builder.class); + com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest.class, + com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -290,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkRequest_descriptor; } @java.lang.Override @@ -311,8 +343,11 @@ public com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest buildPartial() { - com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest result = new com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest result = + new com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -328,38 +363,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.DiagnoseNetworkReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest) { - return mergeFrom((com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest) other); } else { super.mergeFrom(other); return this; @@ -367,7 +403,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest other) { - if (other == com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -399,17 +436,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,22 +458,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the network resource.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -443,20 +487,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the network resource.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -464,28 +511,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the network resource.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the network resource.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -495,26 +553,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the network resource.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -524,12 +588,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.DiagnoseNetworkRequest) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.DiagnoseNetworkRequest) private static final com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest(); } @@ -538,27 +602,27 @@ public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DiagnoseNetworkRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DiagnoseNetworkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -573,6 +637,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkRequestOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkRequestOrBuilder.java new file mode 100644 index 000000000000..d841c1e65a5b --- /dev/null +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkRequestOrBuilder.java @@ -0,0 +1,55 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/edgenetwork/v1/service.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.edgenetwork.v1; + +public interface DiagnoseNetworkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.DiagnoseNetworkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the network resource.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the network resource.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkResponse.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkResponse.java similarity index 69% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkResponse.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkResponse.java index 158ce34aa470..5fe258115629 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkResponse.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,58 +20,65 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * DiagnoseNetworkResponse contains the current status for a specific network.
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.DiagnoseNetworkResponse} */ -public final class DiagnoseNetworkResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DiagnoseNetworkResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.DiagnoseNetworkResponse) DiagnoseNetworkResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DiagnoseNetworkResponse.newBuilder() to construct. private DiagnoseNetworkResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DiagnoseNetworkResponse() { - } + + private DiagnoseNetworkResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DiagnoseNetworkResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.class, com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.Builder.class); + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.class, + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.Builder.class); } - public interface NetworkStatusOrBuilder extends + public interface NetworkStatusOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A list of status for the subnets under the current network.
      * 
* * repeated .google.cloud.edgenetwork.v1.SubnetStatus subnet_status = 1; */ - java.util.List - getSubnetStatusList(); + java.util.List getSubnetStatusList(); /** + * + * *
      * A list of status for the subnets under the current network.
      * 
@@ -65,6 +87,8 @@ public interface NetworkStatusOrBuilder extends */ com.google.cloud.edgenetwork.v1.SubnetStatus getSubnetStatus(int index); /** + * + * *
      * A list of status for the subnets under the current network.
      * 
@@ -73,44 +97,60 @@ public interface NetworkStatusOrBuilder extends */ int getSubnetStatusCount(); /** + * + * *
      * A list of status for the subnets under the current network.
      * 
* * repeated .google.cloud.edgenetwork.v1.SubnetStatus subnet_status = 1; */ - java.util.List + java.util.List getSubnetStatusOrBuilderList(); /** + * + * *
      * A list of status for the subnets under the current network.
      * 
* * repeated .google.cloud.edgenetwork.v1.SubnetStatus subnet_status = 1; */ - com.google.cloud.edgenetwork.v1.SubnetStatusOrBuilder getSubnetStatusOrBuilder( - int index); + com.google.cloud.edgenetwork.v1.SubnetStatusOrBuilder getSubnetStatusOrBuilder(int index); /** + * + * *
      * The MACsec status of internal links.
      * 
* - * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus macsec_status_internal_links = 2; + * + * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus macsec_status_internal_links = 2; + * + * * @return The enum numeric value on the wire for macsecStatusInternalLinks. */ int getMacsecStatusInternalLinksValue(); /** + * + * *
      * The MACsec status of internal links.
      * 
* - * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus macsec_status_internal_links = 2; + * + * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus macsec_status_internal_links = 2; + * + * * @return The macsecStatusInternalLinks. */ - com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus getMacsecStatusInternalLinks(); + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus + getMacsecStatusInternalLinks(); } /** + * + * *
    * NetworkStatus has a list of status for the subnets under the current
    * network.
@@ -118,15 +158,16 @@ com.google.cloud.edgenetwork.v1.SubnetStatusOrBuilder getSubnetStatusOrBuilder(
    *
    * Protobuf type {@code google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus}
    */
-  public static final class NetworkStatus extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class NetworkStatus extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus)
       NetworkStatusOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use NetworkStatus.newBuilder() to construct.
     private NetworkStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private NetworkStatus() {
       subnetStatus_ = java.util.Collections.emptyList();
       macsecStatusInternalLinks_ = 0;
@@ -134,34 +175,39 @@ private NetworkStatus() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new NetworkStatus();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_NetworkStatus_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.edgenetwork.v1.ServiceProto
+          .internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_NetworkStatus_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_NetworkStatus_fieldAccessorTable
+      return com.google.cloud.edgenetwork.v1.ServiceProto
+          .internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_NetworkStatus_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.class, com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.Builder.class);
+              com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.class,
+              com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * Denotes the status of MACsec sessions for the links of a zone.
      * 
* - * Protobuf enum {@code google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus} + * Protobuf enum {@code + * google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus} */ - public enum MacsecStatus - implements com.google.protobuf.ProtocolMessageEnum { + public enum MacsecStatus implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * MACsec status not specified, likely due to missing metrics.
        * 
@@ -170,6 +216,8 @@ public enum MacsecStatus */ MACSEC_STATUS_UNSPECIFIED(0), /** + * + * *
        * All relevant links have at least one MACsec session up.
        * 
@@ -178,6 +226,8 @@ public enum MacsecStatus */ SECURE(1), /** + * + * *
        * At least one relevant link does not have any MACsec sessions up.
        * 
@@ -189,6 +239,8 @@ public enum MacsecStatus ; /** + * + * *
        * MACsec status not specified, likely due to missing metrics.
        * 
@@ -197,6 +249,8 @@ public enum MacsecStatus */ public static final int MACSEC_STATUS_UNSPECIFIED_VALUE = 0; /** + * + * *
        * All relevant links have at least one MACsec session up.
        * 
@@ -205,6 +259,8 @@ public enum MacsecStatus */ public static final int SECURE_VALUE = 1; /** + * + * *
        * At least one relevant link does not have any MACsec sessions up.
        * 
@@ -213,7 +269,6 @@ public enum MacsecStatus */ public static final int UNSECURE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -238,49 +293,51 @@ public static MacsecStatus valueOf(int value) { */ public static MacsecStatus forNumber(int value) { switch (value) { - case 0: return MACSEC_STATUS_UNSPECIFIED; - case 1: return SECURE; - case 2: return UNSECURE; - default: return null; + case 0: + return MACSEC_STATUS_UNSPECIFIED; + case 1: + return SECURE; + case 2: + return UNSECURE; + 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< - MacsecStatus> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MacsecStatus findValueByNumber(int number) { - return MacsecStatus.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 MacsecStatus findValueByNumber(int number) { + return MacsecStatus.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.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.getDescriptor() + .getEnumTypes() + .get(0); } private static final MacsecStatus[] VALUES = values(); - public static MacsecStatus valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static MacsecStatus 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; @@ -298,9 +355,12 @@ private MacsecStatus(int value) { } public static final int SUBNET_STATUS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List subnetStatus_; /** + * + * *
      * A list of status for the subnets under the current network.
      * 
@@ -312,6 +372,8 @@ public java.util.List getSubnetSta return subnetStatus_; } /** + * + * *
      * A list of status for the subnets under the current network.
      * 
@@ -319,11 +381,13 @@ public java.util.List getSubnetSta * repeated .google.cloud.edgenetwork.v1.SubnetStatus subnet_status = 1; */ @java.lang.Override - public java.util.List + public java.util.List getSubnetStatusOrBuilderList() { return subnetStatus_; } /** + * + * *
      * A list of status for the subnets under the current network.
      * 
@@ -335,6 +399,8 @@ public int getSubnetStatusCount() { return subnetStatus_.size(); } /** + * + * *
      * A list of status for the subnets under the current network.
      * 
@@ -346,6 +412,8 @@ public com.google.cloud.edgenetwork.v1.SubnetStatus getSubnetStatus(int index) { return subnetStatus_.get(index); } /** + * + * *
      * A list of status for the subnets under the current network.
      * 
@@ -361,30 +429,49 @@ public com.google.cloud.edgenetwork.v1.SubnetStatusOrBuilder getSubnetStatusOrBu public static final int MACSEC_STATUS_INTERNAL_LINKS_FIELD_NUMBER = 2; private int macsecStatusInternalLinks_ = 0; /** + * + * *
      * The MACsec status of internal links.
      * 
* - * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus macsec_status_internal_links = 2; + * + * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus macsec_status_internal_links = 2; + * + * * @return The enum numeric value on the wire for macsecStatusInternalLinks. */ - @java.lang.Override public int getMacsecStatusInternalLinksValue() { + @java.lang.Override + public int getMacsecStatusInternalLinksValue() { return macsecStatusInternalLinks_; } /** + * + * *
      * The MACsec status of internal links.
      * 
* - * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus macsec_status_internal_links = 2; + * + * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus macsec_status_internal_links = 2; + * + * * @return The macsecStatusInternalLinks. */ - @java.lang.Override public com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus getMacsecStatusInternalLinks() { - com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus result = com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus.forNumber(macsecStatusInternalLinks_); - return result == null ? com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus + getMacsecStatusInternalLinks() { + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus result = + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus + .forNumber(macsecStatusInternalLinks_); + return result == null + ? com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus + .UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -396,12 +483,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < subnetStatus_.size(); i++) { output.writeMessage(1, subnetStatus_.get(i)); } - if (macsecStatusInternalLinks_ != com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus.MACSEC_STATUS_UNSPECIFIED.getNumber()) { + if (macsecStatusInternalLinks_ + != com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus + .MACSEC_STATUS_UNSPECIFIED + .getNumber()) { output.writeEnum(2, macsecStatusInternalLinks_); } getUnknownFields().writeTo(output); @@ -414,12 +503,14 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < subnetStatus_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, subnetStatus_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, subnetStatus_.get(i)); } - if (macsecStatusInternalLinks_ != com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus.MACSEC_STATUS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, macsecStatusInternalLinks_); + if (macsecStatusInternalLinks_ + != com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus + .MACSEC_STATUS_UNSPECIFIED + .getNumber()) { + size += + com.google.protobuf.CodedOutputStream.computeEnumSize(2, macsecStatusInternalLinks_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -429,15 +520,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.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus other = (com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus) obj; + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus other = + (com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus) obj; - if (!getSubnetStatusList() - .equals(other.getSubnetStatusList())) return false; + if (!getSubnetStatusList().equals(other.getSubnetStatusList())) return false; if (macsecStatusInternalLinks_ != other.macsecStatusInternalLinks_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -462,89 +553,95 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus prototype) { + + public static Builder newBuilder( + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -554,6 +651,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * NetworkStatus has a list of status for the subnets under the current
      * network.
@@ -561,33 +660,35 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus)
         com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatusOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_NetworkStatus_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.edgenetwork.v1.ServiceProto
+            .internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_NetworkStatus_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_NetworkStatus_fieldAccessorTable
+        return com.google.cloud.edgenetwork.v1.ServiceProto
+            .internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_NetworkStatus_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.class, com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.Builder.class);
+                com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.class,
+                com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.Builder
+                    .class);
       }
 
-      // Construct using com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.newBuilder()
-      private Builder() {
+      // Construct using
+      // com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.newBuilder()
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -604,19 +705,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_NetworkStatus_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.edgenetwork.v1.ServiceProto
+            .internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_NetworkStatus_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus getDefaultInstanceForType() {
-        return com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.getDefaultInstance();
+      public com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus
+          getDefaultInstanceForType() {
+        return com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus build() {
-        com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result = buildPartial();
+        com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -625,14 +729,18 @@ public com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus bui
 
       @java.lang.Override
       public com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus buildPartial() {
-        com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result = new com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus(this);
+        com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result =
+            new com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartialRepeatedFields(com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result) {
+      private void buildPartialRepeatedFields(
+          com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result) {
         if (subnetStatusBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
             subnetStatus_ = java.util.Collections.unmodifiableList(subnetStatus_);
@@ -644,7 +752,8 @@ private void buildPartialRepeatedFields(com.google.cloud.edgenetwork.v1.Diagnose
         }
       }
 
-      private void buildPartial0(com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result) {
+      private void buildPartial0(
+          com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000002) != 0)) {
           result.macsecStatusInternalLinks_ = macsecStatusInternalLinks_;
@@ -655,46 +764,54 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.DiagnoseNetworkRespon
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus) {
-          return mergeFrom((com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus)other);
+        if (other
+            instanceof com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus) {
+          return mergeFrom(
+              (com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus other) {
-        if (other == com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus other) {
+        if (other
+            == com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus
+                .getDefaultInstance()) return this;
         if (subnetStatusBuilder_ == null) {
           if (!other.subnetStatus_.isEmpty()) {
             if (subnetStatus_.isEmpty()) {
@@ -713,9 +830,10 @@ public Builder mergeFrom(com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse
               subnetStatusBuilder_ = null;
               subnetStatus_ = other.subnetStatus_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              subnetStatusBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getSubnetStatusFieldBuilder() : null;
+              subnetStatusBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getSubnetStatusFieldBuilder()
+                      : null;
             } else {
               subnetStatusBuilder_.addAllMessages(other.subnetStatus_);
             }
@@ -750,30 +868,32 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                com.google.cloud.edgenetwork.v1.SubnetStatus m =
-                    input.readMessage(
-                        com.google.cloud.edgenetwork.v1.SubnetStatus.parser(),
-                        extensionRegistry);
-                if (subnetStatusBuilder_ == null) {
-                  ensureSubnetStatusIsMutable();
-                  subnetStatus_.add(m);
-                } else {
-                  subnetStatusBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-              case 16: {
-                macsecStatusInternalLinks_ = input.readEnum();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  com.google.cloud.edgenetwork.v1.SubnetStatus m =
+                      input.readMessage(
+                          com.google.cloud.edgenetwork.v1.SubnetStatus.parser(), extensionRegistry);
+                  if (subnetStatusBuilder_ == null) {
+                    ensureSubnetStatusIsMutable();
+                    subnetStatus_.add(m);
+                  } else {
+                    subnetStatusBuilder_.addMessage(m);
+                  }
+                  break;
+                } // case 10
+              case 16:
+                {
+                  macsecStatusInternalLinks_ = input.readEnum();
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 16
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -783,21 +903,29 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.util.List subnetStatus_ =
-        java.util.Collections.emptyList();
+          java.util.Collections.emptyList();
+
       private void ensureSubnetStatusIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
-          subnetStatus_ = new java.util.ArrayList(subnetStatus_);
+          subnetStatus_ =
+              new java.util.ArrayList(subnetStatus_);
           bitField0_ |= 0x00000001;
-         }
+        }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.edgenetwork.v1.SubnetStatus, com.google.cloud.edgenetwork.v1.SubnetStatus.Builder, com.google.cloud.edgenetwork.v1.SubnetStatusOrBuilder> subnetStatusBuilder_;
+              com.google.cloud.edgenetwork.v1.SubnetStatus,
+              com.google.cloud.edgenetwork.v1.SubnetStatus.Builder,
+              com.google.cloud.edgenetwork.v1.SubnetStatusOrBuilder>
+          subnetStatusBuilder_;
 
       /**
+       *
+       *
        * 
        * A list of status for the subnets under the current network.
        * 
@@ -812,6 +940,8 @@ public java.util.List getSubnetSta } } /** + * + * *
        * A list of status for the subnets under the current network.
        * 
@@ -826,6 +956,8 @@ public int getSubnetStatusCount() { } } /** + * + * *
        * A list of status for the subnets under the current network.
        * 
@@ -840,6 +972,8 @@ public com.google.cloud.edgenetwork.v1.SubnetStatus getSubnetStatus(int index) { } } /** + * + * *
        * A list of status for the subnets under the current network.
        * 
@@ -861,6 +995,8 @@ public Builder setSubnetStatus( return this; } /** + * + * *
        * A list of status for the subnets under the current network.
        * 
@@ -879,6 +1015,8 @@ public Builder setSubnetStatus( return this; } /** + * + * *
        * A list of status for the subnets under the current network.
        * 
@@ -899,6 +1037,8 @@ public Builder addSubnetStatus(com.google.cloud.edgenetwork.v1.SubnetStatus valu return this; } /** + * + * *
        * A list of status for the subnets under the current network.
        * 
@@ -920,6 +1060,8 @@ public Builder addSubnetStatus( return this; } /** + * + * *
        * A list of status for the subnets under the current network.
        * 
@@ -938,6 +1080,8 @@ public Builder addSubnetStatus( return this; } /** + * + * *
        * A list of status for the subnets under the current network.
        * 
@@ -956,6 +1100,8 @@ public Builder addSubnetStatus( return this; } /** + * + * *
        * A list of status for the subnets under the current network.
        * 
@@ -966,8 +1112,7 @@ public Builder addAllSubnetStatus( java.lang.Iterable values) { if (subnetStatusBuilder_ == null) { ensureSubnetStatusIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, subnetStatus_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, subnetStatus_); onChanged(); } else { subnetStatusBuilder_.addAllMessages(values); @@ -975,6 +1120,8 @@ public Builder addAllSubnetStatus( return this; } /** + * + * *
        * A list of status for the subnets under the current network.
        * 
@@ -992,6 +1139,8 @@ public Builder clearSubnetStatus() { return this; } /** + * + * *
        * A list of status for the subnets under the current network.
        * 
@@ -1009,6 +1158,8 @@ public Builder removeSubnetStatus(int index) { return this; } /** + * + * *
        * A list of status for the subnets under the current network.
        * 
@@ -1020,6 +1171,8 @@ public com.google.cloud.edgenetwork.v1.SubnetStatus.Builder getSubnetStatusBuild return getSubnetStatusFieldBuilder().getBuilder(index); } /** + * + * *
        * A list of status for the subnets under the current network.
        * 
@@ -1029,19 +1182,22 @@ public com.google.cloud.edgenetwork.v1.SubnetStatus.Builder getSubnetStatusBuild public com.google.cloud.edgenetwork.v1.SubnetStatusOrBuilder getSubnetStatusOrBuilder( int index) { if (subnetStatusBuilder_ == null) { - return subnetStatus_.get(index); } else { + return subnetStatus_.get(index); + } else { return subnetStatusBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * A list of status for the subnets under the current network.
        * 
* * repeated .google.cloud.edgenetwork.v1.SubnetStatus subnet_status = 1; */ - public java.util.List - getSubnetStatusOrBuilderList() { + public java.util.List + getSubnetStatusOrBuilderList() { if (subnetStatusBuilder_ != null) { return subnetStatusBuilder_.getMessageOrBuilderList(); } else { @@ -1049,6 +1205,8 @@ public com.google.cloud.edgenetwork.v1.SubnetStatusOrBuilder getSubnetStatusOrBu } } /** + * + * *
        * A list of status for the subnets under the current network.
        * 
@@ -1056,10 +1214,12 @@ public com.google.cloud.edgenetwork.v1.SubnetStatusOrBuilder getSubnetStatusOrBu * repeated .google.cloud.edgenetwork.v1.SubnetStatus subnet_status = 1; */ public com.google.cloud.edgenetwork.v1.SubnetStatus.Builder addSubnetStatusBuilder() { - return getSubnetStatusFieldBuilder().addBuilder( - com.google.cloud.edgenetwork.v1.SubnetStatus.getDefaultInstance()); + return getSubnetStatusFieldBuilder() + .addBuilder(com.google.cloud.edgenetwork.v1.SubnetStatus.getDefaultInstance()); } /** + * + * *
        * A list of status for the subnets under the current network.
        * 
@@ -1068,26 +1228,34 @@ public com.google.cloud.edgenetwork.v1.SubnetStatus.Builder addSubnetStatusBuild */ public com.google.cloud.edgenetwork.v1.SubnetStatus.Builder addSubnetStatusBuilder( int index) { - return getSubnetStatusFieldBuilder().addBuilder( - index, com.google.cloud.edgenetwork.v1.SubnetStatus.getDefaultInstance()); + return getSubnetStatusFieldBuilder() + .addBuilder(index, com.google.cloud.edgenetwork.v1.SubnetStatus.getDefaultInstance()); } /** + * + * *
        * A list of status for the subnets under the current network.
        * 
* * repeated .google.cloud.edgenetwork.v1.SubnetStatus subnet_status = 1; */ - public java.util.List - getSubnetStatusBuilderList() { + public java.util.List + getSubnetStatusBuilderList() { return getSubnetStatusFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.SubnetStatus, com.google.cloud.edgenetwork.v1.SubnetStatus.Builder, com.google.cloud.edgenetwork.v1.SubnetStatusOrBuilder> + com.google.cloud.edgenetwork.v1.SubnetStatus, + com.google.cloud.edgenetwork.v1.SubnetStatus.Builder, + com.google.cloud.edgenetwork.v1.SubnetStatusOrBuilder> getSubnetStatusFieldBuilder() { if (subnetStatusBuilder_ == null) { - subnetStatusBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.SubnetStatus, com.google.cloud.edgenetwork.v1.SubnetStatus.Builder, com.google.cloud.edgenetwork.v1.SubnetStatusOrBuilder>( + subnetStatusBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.edgenetwork.v1.SubnetStatus, + com.google.cloud.edgenetwork.v1.SubnetStatus.Builder, + com.google.cloud.edgenetwork.v1.SubnetStatusOrBuilder>( subnetStatus_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1099,22 +1267,33 @@ public com.google.cloud.edgenetwork.v1.SubnetStatus.Builder addSubnetStatusBuild private int macsecStatusInternalLinks_ = 0; /** + * + * *
        * The MACsec status of internal links.
        * 
* - * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus macsec_status_internal_links = 2; + * + * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus macsec_status_internal_links = 2; + * + * * @return The enum numeric value on the wire for macsecStatusInternalLinks. */ - @java.lang.Override public int getMacsecStatusInternalLinksValue() { + @java.lang.Override + public int getMacsecStatusInternalLinksValue() { return macsecStatusInternalLinks_; } /** + * + * *
        * The MACsec status of internal links.
        * 
* - * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus macsec_status_internal_links = 2; + * + * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus macsec_status_internal_links = 2; + * + * * @param value The enum numeric value on the wire for macsecStatusInternalLinks to set. * @return This builder for chaining. */ @@ -1125,28 +1304,46 @@ public Builder setMacsecStatusInternalLinksValue(int value) { return this; } /** + * + * *
        * The MACsec status of internal links.
        * 
* - * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus macsec_status_internal_links = 2; + * + * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus macsec_status_internal_links = 2; + * + * * @return The macsecStatusInternalLinks. */ @java.lang.Override - public com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus getMacsecStatusInternalLinks() { - com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus result = com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus.forNumber(macsecStatusInternalLinks_); - return result == null ? com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus.UNRECOGNIZED : result; + public com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus + getMacsecStatusInternalLinks() { + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus result = + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus + .forNumber(macsecStatusInternalLinks_); + return result == null + ? com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus + .UNRECOGNIZED + : result; } /** + * + * *
        * The MACsec status of internal links.
        * 
* - * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus macsec_status_internal_links = 2; + * + * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus macsec_status_internal_links = 2; + * + * * @param value The macsecStatusInternalLinks to set. * @return This builder for chaining. */ - public Builder setMacsecStatusInternalLinks(com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus value) { + public Builder setMacsecStatusInternalLinks( + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus + value) { if (value == null) { throw new NullPointerException(); } @@ -1156,11 +1353,16 @@ public Builder setMacsecStatusInternalLinks(com.google.cloud.edgenetwork.v1.Diag return this; } /** + * + * *
        * The MACsec status of internal links.
        * 
* - * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus macsec_status_internal_links = 2; + * + * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus macsec_status_internal_links = 2; + * + * * @return This builder for chaining. */ public Builder clearMacsecStatusInternalLinks() { @@ -1169,6 +1371,7 @@ public Builder clearMacsecStatusInternalLinks() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1181,41 +1384,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus) - private static final com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus DEFAULT_INSTANCE; + private static final com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus(); + DEFAULT_INSTANCE = + new com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus(); } - public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus getDefaultInstance() { + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1227,21 +1434,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus getDefaultInstanceForType() { + public com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int bitField0_; public static final int UPDATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the network status was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1249,11 +1459,14 @@ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The time when the network status was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return The updateTime. */ @java.lang.Override @@ -1261,6 +1474,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the network status was last updated.
    * 
@@ -1275,11 +1490,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int RESULT_FIELD_NUMBER = 2; private com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result_; /** + * + * *
    * The network status of a specific network.
    * 
* * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result = 2; + * * @return Whether the result field is set. */ @java.lang.Override @@ -1287,18 +1505,25 @@ public boolean hasResult() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * The network status of a specific network.
    * 
* * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result = 2; + * * @return The result. */ @java.lang.Override public com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus getResult() { - return result_ == null ? com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.getDefaultInstance() : result_; + return result_ == null + ? com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.getDefaultInstance() + : result_; } /** + * + * *
    * The network status of a specific network.
    * 
@@ -1306,11 +1531,15 @@ public com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus get * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result = 2; */ @java.lang.Override - public com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatusOrBuilder getResultOrBuilder() { - return result_ == null ? com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.getDefaultInstance() : result_; + public com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatusOrBuilder + getResultOrBuilder() { + return result_ == null + ? com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.getDefaultInstance() + : result_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1322,8 +1551,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getUpdateTime()); } @@ -1340,12 +1568,10 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getResult()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getResult()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1355,22 +1581,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.edgenetwork.v1.DiagnoseNetworkResponse)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse other = (com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse) obj; + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse other = + (com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse) obj; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (hasResult() != other.hasResult()) return false; if (hasResult()) { - if (!getResult() - .equals(other.getResult())) return false; + if (!getResult().equals(other.getResult())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1397,119 +1622,127 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * DiagnoseNetworkResponse contains the current status for a specific network.
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.DiagnoseNetworkResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.DiagnoseNetworkResponse) com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.class, com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.Builder.class); + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.class, + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.newBuilder() @@ -1517,18 +1750,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getUpdateTimeFieldBuilder(); getResultFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1547,9 +1780,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_descriptor; } @java.lang.Override @@ -1568,8 +1801,11 @@ public com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse buildPartial() { - com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse result = new com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse result = + new com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1578,15 +1814,11 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.DiagnoseNetworkRespon int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.result_ = resultBuilder_ == null - ? result_ - : resultBuilder_.build(); + result.result_ = resultBuilder_ == null ? result_ : resultBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -1596,38 +1828,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.DiagnoseNetworkRespon public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse) { - return mergeFrom((com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse) other); } else { super.mergeFrom(other); return this; @@ -1635,7 +1868,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse other) { - if (other == com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.getDefaultInstance()) + return this; if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } @@ -1668,26 +1902,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getResultFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getResultFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1697,38 +1930,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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_; /** + * + * *
      * The time when the network status was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The time when the network status was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 1; + * * @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(); } } /** + * + * *
      * The time when the network status was last updated.
      * 
@@ -1749,14 +1996,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the network status was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 1; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -1767,6 +2015,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The time when the network status was last updated.
      * 
@@ -1775,9 +2025,9 @@ public Builder setUpdateTime( */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1792,6 +2042,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the network status was last updated.
      * 
@@ -1809,6 +2061,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The time when the network status was last updated.
      * 
@@ -1821,6 +2075,8 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the network status was last updated.
      * 
@@ -1831,11 +2087,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_; } } /** + * + * *
      * The time when the network status was last updated.
      * 
@@ -1843,14 +2102,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -1858,41 +2120,56 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus, com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.Builder, com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatusOrBuilder> resultBuilder_; + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus, + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.Builder, + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatusOrBuilder> + resultBuilder_; /** + * + * *
      * The network status of a specific network.
      * 
* * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result = 2; + * * @return Whether the result field is set. */ public boolean hasResult() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The network status of a specific network.
      * 
* * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result = 2; + * * @return The result. */ public com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus getResult() { if (resultBuilder_ == null) { - return result_ == null ? com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.getDefaultInstance() : result_; + return result_ == null + ? com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus + .getDefaultInstance() + : result_; } else { return resultBuilder_.getMessage(); } } /** + * + * *
      * The network status of a specific network.
      * 
* * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result = 2; */ - public Builder setResult(com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus value) { + public Builder setResult( + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus value) { if (resultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1906,6 +2183,8 @@ public Builder setResult(com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse return this; } /** + * + * *
      * The network status of a specific network.
      * 
@@ -1913,7 +2192,8 @@ public Builder setResult(com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result = 2; */ public Builder setResult( - com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.Builder builderForValue) { + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.Builder + builderForValue) { if (resultBuilder_ == null) { result_ = builderForValue.build(); } else { @@ -1924,17 +2204,22 @@ public Builder setResult( return this; } /** + * + * *
      * The network status of a specific network.
      * 
* * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result = 2; */ - public Builder mergeResult(com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus value) { + public Builder mergeResult( + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus value) { if (resultBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - result_ != null && - result_ != com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && result_ != null + && result_ + != com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus + .getDefaultInstance()) { getResultBuilder().mergeFrom(value); } else { result_ = value; @@ -1949,6 +2234,8 @@ public Builder mergeResult(com.google.cloud.edgenetwork.v1.DiagnoseNetworkRespon return this; } /** + * + * *
      * The network status of a specific network.
      * 
@@ -1966,33 +2253,43 @@ public Builder clearResult() { return this; } /** + * + * *
      * The network status of a specific network.
      * 
* * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result = 2; */ - public com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.Builder getResultBuilder() { + public com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.Builder + getResultBuilder() { bitField0_ |= 0x00000002; onChanged(); return getResultFieldBuilder().getBuilder(); } /** + * + * *
      * The network status of a specific network.
      * 
* * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result = 2; */ - public com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatusOrBuilder getResultOrBuilder() { + public com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatusOrBuilder + getResultOrBuilder() { if (resultBuilder_ != null) { return resultBuilder_.getMessageOrBuilder(); } else { - return result_ == null ? - com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.getDefaultInstance() : result_; + return result_ == null + ? com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus + .getDefaultInstance() + : result_; } } /** + * + * *
      * The network status of a specific network.
      * 
@@ -2000,21 +2297,24 @@ public com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatusOrBu * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus, com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.Builder, com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatusOrBuilder> + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus, + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.Builder, + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatusOrBuilder> getResultFieldBuilder() { if (resultBuilder_ == null) { - resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus, com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.Builder, com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatusOrBuilder>( - getResult(), - getParentForChildren(), - isClean()); + resultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus, + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.Builder, + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatusOrBuilder>( + getResult(), getParentForChildren(), isClean()); result_ = null; } return resultBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2024,12 +2324,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.DiagnoseNetworkResponse) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.DiagnoseNetworkResponse) private static final com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse(); } @@ -2038,27 +2338,27 @@ public static com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DiagnoseNetworkResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DiagnoseNetworkResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2073,6 +2373,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkResponseOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkResponseOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkResponseOrBuilder.java index 1608f12e1892..8c508acfa9bd 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkResponseOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkResponseOrBuilder.java @@ -1,32 +1,56 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface DiagnoseNetworkResponseOrBuilder extends +public interface DiagnoseNetworkResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.DiagnoseNetworkResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The time when the network status was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the network status was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the network status was last updated.
    * 
@@ -36,29 +60,38 @@ public interface DiagnoseNetworkResponseOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * The network status of a specific network.
    * 
* * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result = 2; + * * @return Whether the result field is set. */ boolean hasResult(); /** + * + * *
    * The network status of a specific network.
    * 
* * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result = 2; + * * @return The result. */ com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus getResult(); /** + * + * *
    * The network status of a specific network.
    * 
* * .google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result = 2; */ - com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatusOrBuilder getResultOrBuilder(); + com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatusOrBuilder + getResultOrBuilder(); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterRequest.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterRequest.java similarity index 61% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterRequest.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterRequest.java index 1a675a4d90a4..509a8dbe29d7 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterRequest.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,54 +20,64 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for requesting diagnositcs of a router within a specific zone.
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.DiagnoseRouterRequest} */ -public final class DiagnoseRouterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DiagnoseRouterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.DiagnoseRouterRequest) DiagnoseRouterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DiagnoseRouterRequest.newBuilder() to construct. private DiagnoseRouterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DiagnoseRouterRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DiagnoseRouterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest.class, com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest.Builder.class); + com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest.class, + com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the router resource.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,29 +86,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the router resource.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -92,6 +119,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -103,8 +131,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -128,15 +155,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.edgenetwork.v1.DiagnoseRouterRequest)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest other = (com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest) obj; + com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest other = + (com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,131 +183,136 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for requesting diagnositcs of a router within a specific zone.
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.DiagnoseRouterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.DiagnoseRouterRequest) com.google.cloud.edgenetwork.v1.DiagnoseRouterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest.class, com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest.Builder.class); + com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest.class, + com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -290,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterRequest_descriptor; } @java.lang.Override @@ -311,8 +343,11 @@ public com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest buildPartial() { - com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest result = new com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest result = + new com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -328,38 +363,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest) { - return mergeFrom((com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest) other); } else { super.mergeFrom(other); return this; @@ -367,7 +403,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest other) { - if (other == com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -399,17 +436,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,22 +458,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the router resource.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -443,20 +487,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the router resource.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -464,28 +511,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the router resource.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the router resource.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -495,26 +553,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the router resource.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -524,12 +588,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.DiagnoseRouterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.DiagnoseRouterRequest) private static final com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest(); } @@ -538,27 +602,27 @@ public static com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DiagnoseRouterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DiagnoseRouterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -573,6 +637,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterRequestOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterRequestOrBuilder.java new file mode 100644 index 000000000000..df3f825ba4bc --- /dev/null +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterRequestOrBuilder.java @@ -0,0 +1,55 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/edgenetwork/v1/service.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.edgenetwork.v1; + +public interface DiagnoseRouterRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.DiagnoseRouterRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the router resource.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the router resource.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterResponse.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterResponse.java similarity index 68% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterResponse.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterResponse.java index 6d19ae1c3105..685e176b8098 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterResponse.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,53 +20,59 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * DiagnoseRouterResponse contains the current status for a specific router.
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.DiagnoseRouterResponse} */ -public final class DiagnoseRouterResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DiagnoseRouterResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.DiagnoseRouterResponse) DiagnoseRouterResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DiagnoseRouterResponse.newBuilder() to construct. private DiagnoseRouterResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DiagnoseRouterResponse() { - } + + private DiagnoseRouterResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DiagnoseRouterResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterResponse_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse.class, com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse.Builder.class); + com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse.class, + com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse.Builder.class); } private int bitField0_; public static final int UPDATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the router status was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -59,11 +80,14 @@ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The time when the router status was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return The updateTime. */ @java.lang.Override @@ -71,6 +95,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the router status was last updated.
    * 
@@ -85,11 +111,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int RESULT_FIELD_NUMBER = 2; private com.google.cloud.edgenetwork.v1.RouterStatus result_; /** + * + * *
    * The network status of a specific router.
    * 
* * .google.cloud.edgenetwork.v1.RouterStatus result = 2; + * * @return Whether the result field is set. */ @java.lang.Override @@ -97,18 +126,25 @@ public boolean hasResult() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * The network status of a specific router.
    * 
* * .google.cloud.edgenetwork.v1.RouterStatus result = 2; + * * @return The result. */ @java.lang.Override public com.google.cloud.edgenetwork.v1.RouterStatus getResult() { - return result_ == null ? com.google.cloud.edgenetwork.v1.RouterStatus.getDefaultInstance() : result_; + return result_ == null + ? com.google.cloud.edgenetwork.v1.RouterStatus.getDefaultInstance() + : result_; } /** + * + * *
    * The network status of a specific router.
    * 
@@ -117,10 +153,13 @@ public com.google.cloud.edgenetwork.v1.RouterStatus getResult() { */ @java.lang.Override public com.google.cloud.edgenetwork.v1.RouterStatusOrBuilder getResultOrBuilder() { - return result_ == null ? com.google.cloud.edgenetwork.v1.RouterStatus.getDefaultInstance() : result_; + return result_ == null + ? com.google.cloud.edgenetwork.v1.RouterStatus.getDefaultInstance() + : result_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,8 +171,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getUpdateTime()); } @@ -150,12 +188,10 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getResult()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getResult()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -165,22 +201,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.edgenetwork.v1.DiagnoseRouterResponse)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse other = (com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse) obj; + com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse other = + (com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse) obj; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (hasResult() != other.hasResult()) return false; if (hasResult()) { - if (!getResult() - .equals(other.getResult())) return false; + if (!getResult().equals(other.getResult())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -207,119 +242,127 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * DiagnoseRouterResponse contains the current status for a specific router.
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.DiagnoseRouterResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.DiagnoseRouterResponse) com.google.cloud.edgenetwork.v1.DiagnoseRouterResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterResponse_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse.class, com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse.Builder.class); + com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse.class, + com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse.newBuilder() @@ -327,18 +370,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getUpdateTimeFieldBuilder(); getResultFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -357,9 +400,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterResponse_descriptor; } @java.lang.Override @@ -378,8 +421,11 @@ public com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse buildPartial() { - com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse result = new com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse result = + new com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -388,15 +434,11 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.DiagnoseRouterRespons int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.result_ = resultBuilder_ == null - ? result_ - : resultBuilder_.build(); + result.result_ = resultBuilder_ == null ? result_ : resultBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -406,38 +448,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.DiagnoseRouterRespons public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse) { - return mergeFrom((com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse) other); } else { super.mergeFrom(other); return this; @@ -445,7 +488,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse other) { - if (other == com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse.getDefaultInstance()) + return this; if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } @@ -478,26 +522,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getResultFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getResultFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -507,38 +550,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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_; /** + * + * *
      * The time when the router status was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The time when the router status was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 1; + * * @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(); } } /** + * + * *
      * The time when the router status was last updated.
      * 
@@ -559,14 +616,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the router status was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 1; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -577,6 +635,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The time when the router status was last updated.
      * 
@@ -585,9 +645,9 @@ public Builder setUpdateTime( */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -602,6 +662,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the router status was last updated.
      * 
@@ -619,6 +681,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The time when the router status was last updated.
      * 
@@ -631,6 +695,8 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the router status was last updated.
      * 
@@ -641,11 +707,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_; } } /** + * + * *
      * The time when the router status was last updated.
      * 
@@ -653,14 +722,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -668,34 +740,47 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.cloud.edgenetwork.v1.RouterStatus result_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.RouterStatus, com.google.cloud.edgenetwork.v1.RouterStatus.Builder, com.google.cloud.edgenetwork.v1.RouterStatusOrBuilder> resultBuilder_; + com.google.cloud.edgenetwork.v1.RouterStatus, + com.google.cloud.edgenetwork.v1.RouterStatus.Builder, + com.google.cloud.edgenetwork.v1.RouterStatusOrBuilder> + resultBuilder_; /** + * + * *
      * The network status of a specific router.
      * 
* * .google.cloud.edgenetwork.v1.RouterStatus result = 2; + * * @return Whether the result field is set. */ public boolean hasResult() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The network status of a specific router.
      * 
* * .google.cloud.edgenetwork.v1.RouterStatus result = 2; + * * @return The result. */ public com.google.cloud.edgenetwork.v1.RouterStatus getResult() { if (resultBuilder_ == null) { - return result_ == null ? com.google.cloud.edgenetwork.v1.RouterStatus.getDefaultInstance() : result_; + return result_ == null + ? com.google.cloud.edgenetwork.v1.RouterStatus.getDefaultInstance() + : result_; } else { return resultBuilder_.getMessage(); } } /** + * + * *
      * The network status of a specific router.
      * 
@@ -716,14 +801,15 @@ public Builder setResult(com.google.cloud.edgenetwork.v1.RouterStatus value) { return this; } /** + * + * *
      * The network status of a specific router.
      * 
* * .google.cloud.edgenetwork.v1.RouterStatus result = 2; */ - public Builder setResult( - com.google.cloud.edgenetwork.v1.RouterStatus.Builder builderForValue) { + public Builder setResult(com.google.cloud.edgenetwork.v1.RouterStatus.Builder builderForValue) { if (resultBuilder_ == null) { result_ = builderForValue.build(); } else { @@ -734,6 +820,8 @@ public Builder setResult( return this; } /** + * + * *
      * The network status of a specific router.
      * 
@@ -742,9 +830,9 @@ public Builder setResult( */ public Builder mergeResult(com.google.cloud.edgenetwork.v1.RouterStatus value) { if (resultBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - result_ != null && - result_ != com.google.cloud.edgenetwork.v1.RouterStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && result_ != null + && result_ != com.google.cloud.edgenetwork.v1.RouterStatus.getDefaultInstance()) { getResultBuilder().mergeFrom(value); } else { result_ = value; @@ -759,6 +847,8 @@ public Builder mergeResult(com.google.cloud.edgenetwork.v1.RouterStatus value) { return this; } /** + * + * *
      * The network status of a specific router.
      * 
@@ -776,6 +866,8 @@ public Builder clearResult() { return this; } /** + * + * *
      * The network status of a specific router.
      * 
@@ -788,6 +880,8 @@ public com.google.cloud.edgenetwork.v1.RouterStatus.Builder getResultBuilder() { return getResultFieldBuilder().getBuilder(); } /** + * + * *
      * The network status of a specific router.
      * 
@@ -798,11 +892,14 @@ public com.google.cloud.edgenetwork.v1.RouterStatusOrBuilder getResultOrBuilder( if (resultBuilder_ != null) { return resultBuilder_.getMessageOrBuilder(); } else { - return result_ == null ? - com.google.cloud.edgenetwork.v1.RouterStatus.getDefaultInstance() : result_; + return result_ == null + ? com.google.cloud.edgenetwork.v1.RouterStatus.getDefaultInstance() + : result_; } } /** + * + * *
      * The network status of a specific router.
      * 
@@ -810,21 +907,24 @@ public com.google.cloud.edgenetwork.v1.RouterStatusOrBuilder getResultOrBuilder( * .google.cloud.edgenetwork.v1.RouterStatus result = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.RouterStatus, com.google.cloud.edgenetwork.v1.RouterStatus.Builder, com.google.cloud.edgenetwork.v1.RouterStatusOrBuilder> + com.google.cloud.edgenetwork.v1.RouterStatus, + com.google.cloud.edgenetwork.v1.RouterStatus.Builder, + com.google.cloud.edgenetwork.v1.RouterStatusOrBuilder> getResultFieldBuilder() { if (resultBuilder_ == null) { - resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.RouterStatus, com.google.cloud.edgenetwork.v1.RouterStatus.Builder, com.google.cloud.edgenetwork.v1.RouterStatusOrBuilder>( - getResult(), - getParentForChildren(), - isClean()); + resultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgenetwork.v1.RouterStatus, + com.google.cloud.edgenetwork.v1.RouterStatus.Builder, + com.google.cloud.edgenetwork.v1.RouterStatusOrBuilder>( + getResult(), getParentForChildren(), isClean()); result_ = null; } return resultBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -834,12 +934,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.DiagnoseRouterResponse) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.DiagnoseRouterResponse) private static final com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse(); } @@ -848,27 +948,27 @@ public static com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DiagnoseRouterResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DiagnoseRouterResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -883,6 +983,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterResponseOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterResponseOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterResponseOrBuilder.java index c294044fb2de..6eec785bd820 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterResponseOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterResponseOrBuilder.java @@ -1,32 +1,56 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface DiagnoseRouterResponseOrBuilder extends +public interface DiagnoseRouterResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.DiagnoseRouterResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The time when the router status was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the router status was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the router status was last updated.
    * 
@@ -36,24 +60,32 @@ public interface DiagnoseRouterResponseOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * The network status of a specific router.
    * 
* * .google.cloud.edgenetwork.v1.RouterStatus result = 2; + * * @return Whether the result field is set. */ boolean hasResult(); /** + * + * *
    * The network status of a specific router.
    * 
* * .google.cloud.edgenetwork.v1.RouterStatus result = 2; + * * @return The result. */ com.google.cloud.edgenetwork.v1.RouterStatus getResult(); /** + * + * *
    * The network status of a specific router.
    * 
diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectAttachmentRequest.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectAttachmentRequest.java similarity index 58% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectAttachmentRequest.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectAttachmentRequest.java index f4ccb6b634fa..fbe47336863b 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectAttachmentRequest.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectAttachmentRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,54 +20,65 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for getting a InterconnectAttachment
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest} */ -public final class GetInterconnectAttachmentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetInterconnectAttachmentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest) GetInterconnectAttachmentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetInterconnectAttachmentRequest.newBuilder() to construct. - private GetInterconnectAttachmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetInterconnectAttachmentRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetInterconnectAttachmentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetInterconnectAttachmentRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetInterconnectAttachmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_GetInterconnectAttachmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetInterconnectAttachmentRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_GetInterconnectAttachmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest.class, com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest.Builder.class); + com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest.class, + com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,29 +87,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -92,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -103,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -128,15 +156,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.edgenetwork.v1.GetInterconnectAttachmentRequest)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest other = (com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest) obj; + com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest other = + (com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,131 +184,136 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for getting a InterconnectAttachment
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest) com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetInterconnectAttachmentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_GetInterconnectAttachmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetInterconnectAttachmentRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_GetInterconnectAttachmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest.class, com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest.Builder.class); + com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest.class, + com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -290,13 +323,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetInterconnectAttachmentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_GetInterconnectAttachmentRequest_descriptor; } @java.lang.Override - public com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest getDefaultInstanceForType() { + public com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest + getDefaultInstanceForType() { return com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest.getDefaultInstance(); } @@ -311,13 +345,17 @@ public com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest build() @java.lang.Override public com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest buildPartial() { - com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest result = new com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest result = + new com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest result) { + private void buildPartial0( + com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -328,46 +366,50 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.GetInterconnectAttach public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest) { - return mergeFrom((com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest other) { - if (other == com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest other) { + if (other + == com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -399,17 +441,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,22 +463,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -443,20 +492,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -464,28 +516,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -495,26 +558,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -524,41 +593,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest) - private static final com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest(); } - public static com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest getDefaultInstance() { + public static com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInterconnectAttachmentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInterconnectAttachmentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -570,9 +641,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest getDefaultInstanceForType() { + public com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectAttachmentRequestOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectAttachmentRequestOrBuilder.java new file mode 100644 index 000000000000..cc881034f92e --- /dev/null +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectAttachmentRequestOrBuilder.java @@ -0,0 +1,55 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/edgenetwork/v1/service.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.edgenetwork.v1; + +public interface GetInterconnectAttachmentRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the resource
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the resource
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectRequest.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectRequest.java similarity index 61% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectRequest.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectRequest.java index 8c07c538f5d8..631b39fe5228 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectRequest.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,54 +20,64 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for getting a Interconnect
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.GetInterconnectRequest} */ -public final class GetInterconnectRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetInterconnectRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.GetInterconnectRequest) GetInterconnectRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetInterconnectRequest.newBuilder() to construct. private GetInterconnectRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetInterconnectRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetInterconnectRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetInterconnectRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_GetInterconnectRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetInterconnectRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_GetInterconnectRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.GetInterconnectRequest.class, com.google.cloud.edgenetwork.v1.GetInterconnectRequest.Builder.class); + com.google.cloud.edgenetwork.v1.GetInterconnectRequest.class, + com.google.cloud.edgenetwork.v1.GetInterconnectRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,29 +86,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -92,6 +119,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -103,8 +131,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -128,15 +155,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.edgenetwork.v1.GetInterconnectRequest)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.GetInterconnectRequest other = (com.google.cloud.edgenetwork.v1.GetInterconnectRequest) obj; + com.google.cloud.edgenetwork.v1.GetInterconnectRequest other = + (com.google.cloud.edgenetwork.v1.GetInterconnectRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,131 +183,136 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.GetInterconnectRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.GetInterconnectRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.GetInterconnectRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.GetInterconnectRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.GetInterconnectRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.GetInterconnectRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.GetInterconnectRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.GetInterconnectRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.GetInterconnectRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.GetInterconnectRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.GetInterconnectRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.GetInterconnectRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.GetInterconnectRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.GetInterconnectRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.edgenetwork.v1.GetInterconnectRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.edgenetwork.v1.GetInterconnectRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for getting a Interconnect
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.GetInterconnectRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.GetInterconnectRequest) com.google.cloud.edgenetwork.v1.GetInterconnectRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetInterconnectRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_GetInterconnectRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetInterconnectRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_GetInterconnectRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.GetInterconnectRequest.class, com.google.cloud.edgenetwork.v1.GetInterconnectRequest.Builder.class); + com.google.cloud.edgenetwork.v1.GetInterconnectRequest.class, + com.google.cloud.edgenetwork.v1.GetInterconnectRequest.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.GetInterconnectRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -290,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetInterconnectRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_GetInterconnectRequest_descriptor; } @java.lang.Override @@ -311,8 +343,11 @@ public com.google.cloud.edgenetwork.v1.GetInterconnectRequest build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.GetInterconnectRequest buildPartial() { - com.google.cloud.edgenetwork.v1.GetInterconnectRequest result = new com.google.cloud.edgenetwork.v1.GetInterconnectRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.GetInterconnectRequest result = + new com.google.cloud.edgenetwork.v1.GetInterconnectRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -328,38 +363,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.GetInterconnectReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.GetInterconnectRequest) { - return mergeFrom((com.google.cloud.edgenetwork.v1.GetInterconnectRequest)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.GetInterconnectRequest) other); } else { super.mergeFrom(other); return this; @@ -367,7 +403,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.GetInterconnectRequest other) { - if (other == com.google.cloud.edgenetwork.v1.GetInterconnectRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.GetInterconnectRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -399,17 +436,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,22 +458,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -443,20 +487,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -464,28 +511,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -495,26 +553,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -524,12 +588,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.GetInterconnectRequest) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.GetInterconnectRequest) private static final com.google.cloud.edgenetwork.v1.GetInterconnectRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.GetInterconnectRequest(); } @@ -538,27 +602,27 @@ public static com.google.cloud.edgenetwork.v1.GetInterconnectRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInterconnectRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInterconnectRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -573,6 +637,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.GetInterconnectRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectRequestOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectRequestOrBuilder.java new file mode 100644 index 000000000000..ea8a47511405 --- /dev/null +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectRequestOrBuilder.java @@ -0,0 +1,55 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/edgenetwork/v1/service.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.edgenetwork.v1; + +public interface GetInterconnectRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.GetInterconnectRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the resource
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the resource
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetNetworkRequest.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetNetworkRequest.java similarity index 61% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetNetworkRequest.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetNetworkRequest.java index 4689c79fa910..b77a55685b1d 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetNetworkRequest.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetNetworkRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,54 +20,64 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for getting a Network
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.GetNetworkRequest} */ -public final class GetNetworkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetNetworkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.GetNetworkRequest) GetNetworkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetNetworkRequest.newBuilder() to construct. private GetNetworkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetNetworkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetNetworkRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetNetworkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_GetNetworkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetNetworkRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_GetNetworkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.GetNetworkRequest.class, com.google.cloud.edgenetwork.v1.GetNetworkRequest.Builder.class); + com.google.cloud.edgenetwork.v1.GetNetworkRequest.class, + com.google.cloud.edgenetwork.v1.GetNetworkRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,29 +86,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -92,6 +119,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -103,8 +131,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -128,15 +155,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.edgenetwork.v1.GetNetworkRequest)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.GetNetworkRequest other = (com.google.cloud.edgenetwork.v1.GetNetworkRequest) obj; + com.google.cloud.edgenetwork.v1.GetNetworkRequest other = + (com.google.cloud.edgenetwork.v1.GetNetworkRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,131 +183,135 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.GetNetworkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.GetNetworkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.GetNetworkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.GetNetworkRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.GetNetworkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.GetNetworkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.GetNetworkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.GetNetworkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.GetNetworkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.GetNetworkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.GetNetworkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.GetNetworkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.GetNetworkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.GetNetworkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.GetNetworkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for getting a Network
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.GetNetworkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.GetNetworkRequest) com.google.cloud.edgenetwork.v1.GetNetworkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetNetworkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_GetNetworkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetNetworkRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_GetNetworkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.GetNetworkRequest.class, com.google.cloud.edgenetwork.v1.GetNetworkRequest.Builder.class); + com.google.cloud.edgenetwork.v1.GetNetworkRequest.class, + com.google.cloud.edgenetwork.v1.GetNetworkRequest.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.GetNetworkRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -290,9 +321,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetNetworkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_GetNetworkRequest_descriptor; } @java.lang.Override @@ -311,8 +342,11 @@ public com.google.cloud.edgenetwork.v1.GetNetworkRequest build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.GetNetworkRequest buildPartial() { - com.google.cloud.edgenetwork.v1.GetNetworkRequest result = new com.google.cloud.edgenetwork.v1.GetNetworkRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.GetNetworkRequest result = + new com.google.cloud.edgenetwork.v1.GetNetworkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -328,38 +362,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.GetNetworkRequest res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.GetNetworkRequest) { - return mergeFrom((com.google.cloud.edgenetwork.v1.GetNetworkRequest)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.GetNetworkRequest) other); } else { super.mergeFrom(other); return this; @@ -367,7 +402,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.GetNetworkRequest other) { - if (other == com.google.cloud.edgenetwork.v1.GetNetworkRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.GetNetworkRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -399,17 +435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,22 +457,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -443,20 +486,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -464,28 +510,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -495,26 +552,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -524,12 +587,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.GetNetworkRequest) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.GetNetworkRequest) private static final com.google.cloud.edgenetwork.v1.GetNetworkRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.GetNetworkRequest(); } @@ -538,27 +601,27 @@ public static com.google.cloud.edgenetwork.v1.GetNetworkRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetNetworkRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetNetworkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -573,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.GetNetworkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetNetworkRequestOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetNetworkRequestOrBuilder.java new file mode 100644 index 000000000000..f8bf88195bc2 --- /dev/null +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetNetworkRequestOrBuilder.java @@ -0,0 +1,55 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/edgenetwork/v1/service.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.edgenetwork.v1; + +public interface GetNetworkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.GetNetworkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the resource
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the resource
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetRouterRequest.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetRouterRequest.java similarity index 61% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetRouterRequest.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetRouterRequest.java index dc2dd7ac6088..efe1541a6df9 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetRouterRequest.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetRouterRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,54 +20,64 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for getting a Router
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.GetRouterRequest} */ -public final class GetRouterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetRouterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.GetRouterRequest) GetRouterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetRouterRequest.newBuilder() to construct. private GetRouterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetRouterRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetRouterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetRouterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_GetRouterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetRouterRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_GetRouterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.GetRouterRequest.class, com.google.cloud.edgenetwork.v1.GetRouterRequest.Builder.class); + com.google.cloud.edgenetwork.v1.GetRouterRequest.class, + com.google.cloud.edgenetwork.v1.GetRouterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,29 +86,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -92,6 +119,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -103,8 +131,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -128,15 +155,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.edgenetwork.v1.GetRouterRequest)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.GetRouterRequest other = (com.google.cloud.edgenetwork.v1.GetRouterRequest) obj; + com.google.cloud.edgenetwork.v1.GetRouterRequest other = + (com.google.cloud.edgenetwork.v1.GetRouterRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -155,132 +182,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.edgenetwork.v1.GetRouterRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.edgenetwork.v1.GetRouterRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.GetRouterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.GetRouterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.GetRouterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.GetRouterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.GetRouterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.GetRouterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.GetRouterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.GetRouterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.GetRouterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.GetRouterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.GetRouterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.GetRouterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.GetRouterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.GetRouterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for getting a Router
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.GetRouterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.GetRouterRequest) com.google.cloud.edgenetwork.v1.GetRouterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetRouterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_GetRouterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetRouterRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_GetRouterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.GetRouterRequest.class, com.google.cloud.edgenetwork.v1.GetRouterRequest.Builder.class); + com.google.cloud.edgenetwork.v1.GetRouterRequest.class, + com.google.cloud.edgenetwork.v1.GetRouterRequest.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.GetRouterRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -290,9 +321,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetRouterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_GetRouterRequest_descriptor; } @java.lang.Override @@ -311,8 +342,11 @@ public com.google.cloud.edgenetwork.v1.GetRouterRequest build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.GetRouterRequest buildPartial() { - com.google.cloud.edgenetwork.v1.GetRouterRequest result = new com.google.cloud.edgenetwork.v1.GetRouterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.GetRouterRequest result = + new com.google.cloud.edgenetwork.v1.GetRouterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -328,38 +362,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.GetRouterRequest resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.GetRouterRequest) { - return mergeFrom((com.google.cloud.edgenetwork.v1.GetRouterRequest)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.GetRouterRequest) other); } else { super.mergeFrom(other); return this; @@ -367,7 +402,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.GetRouterRequest other) { - if (other == com.google.cloud.edgenetwork.v1.GetRouterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.GetRouterRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -399,17 +435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,22 +457,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -443,20 +486,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -464,28 +510,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -495,26 +552,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -524,12 +587,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.GetRouterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.GetRouterRequest) private static final com.google.cloud.edgenetwork.v1.GetRouterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.GetRouterRequest(); } @@ -538,27 +601,27 @@ public static com.google.cloud.edgenetwork.v1.GetRouterRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRouterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRouterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -573,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.GetRouterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetRouterRequestOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetRouterRequestOrBuilder.java new file mode 100644 index 000000000000..b314223aadd1 --- /dev/null +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetRouterRequestOrBuilder.java @@ -0,0 +1,55 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/edgenetwork/v1/service.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.edgenetwork.v1; + +public interface GetRouterRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.GetRouterRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the resource
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the resource
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetSubnetRequest.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetSubnetRequest.java similarity index 61% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetSubnetRequest.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetSubnetRequest.java index 355383750f1e..9b4cadd15798 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetSubnetRequest.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetSubnetRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,54 +20,64 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for getting a Subnet
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.GetSubnetRequest} */ -public final class GetSubnetRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetSubnetRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.GetSubnetRequest) GetSubnetRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetSubnetRequest.newBuilder() to construct. private GetSubnetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetSubnetRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetSubnetRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetSubnetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_GetSubnetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetSubnetRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_GetSubnetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.GetSubnetRequest.class, com.google.cloud.edgenetwork.v1.GetSubnetRequest.Builder.class); + com.google.cloud.edgenetwork.v1.GetSubnetRequest.class, + com.google.cloud.edgenetwork.v1.GetSubnetRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,29 +86,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -92,6 +119,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -103,8 +131,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -128,15 +155,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.edgenetwork.v1.GetSubnetRequest)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.GetSubnetRequest other = (com.google.cloud.edgenetwork.v1.GetSubnetRequest) obj; + com.google.cloud.edgenetwork.v1.GetSubnetRequest other = + (com.google.cloud.edgenetwork.v1.GetSubnetRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -155,132 +182,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.edgenetwork.v1.GetSubnetRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.edgenetwork.v1.GetSubnetRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.GetSubnetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.GetSubnetRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.GetSubnetRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.GetSubnetRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.GetSubnetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.GetSubnetRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.GetSubnetRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.GetSubnetRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.GetSubnetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.GetSubnetRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.GetSubnetRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.GetSubnetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.GetSubnetRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.GetSubnetRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for getting a Subnet
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.GetSubnetRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.GetSubnetRequest) com.google.cloud.edgenetwork.v1.GetSubnetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetSubnetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_GetSubnetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetSubnetRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_GetSubnetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.GetSubnetRequest.class, com.google.cloud.edgenetwork.v1.GetSubnetRequest.Builder.class); + com.google.cloud.edgenetwork.v1.GetSubnetRequest.class, + com.google.cloud.edgenetwork.v1.GetSubnetRequest.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.GetSubnetRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -290,9 +321,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetSubnetRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_GetSubnetRequest_descriptor; } @java.lang.Override @@ -311,8 +342,11 @@ public com.google.cloud.edgenetwork.v1.GetSubnetRequest build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.GetSubnetRequest buildPartial() { - com.google.cloud.edgenetwork.v1.GetSubnetRequest result = new com.google.cloud.edgenetwork.v1.GetSubnetRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.GetSubnetRequest result = + new com.google.cloud.edgenetwork.v1.GetSubnetRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -328,38 +362,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.GetSubnetRequest resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.GetSubnetRequest) { - return mergeFrom((com.google.cloud.edgenetwork.v1.GetSubnetRequest)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.GetSubnetRequest) other); } else { super.mergeFrom(other); return this; @@ -367,7 +402,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.GetSubnetRequest other) { - if (other == com.google.cloud.edgenetwork.v1.GetSubnetRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.GetSubnetRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -399,17 +435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,22 +457,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -443,20 +486,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -464,28 +510,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -495,26 +552,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -524,12 +587,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.GetSubnetRequest) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.GetSubnetRequest) private static final com.google.cloud.edgenetwork.v1.GetSubnetRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.GetSubnetRequest(); } @@ -538,27 +601,27 @@ public static com.google.cloud.edgenetwork.v1.GetSubnetRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetSubnetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSubnetRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -573,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.GetSubnetRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetSubnetRequestOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetSubnetRequestOrBuilder.java new file mode 100644 index 000000000000..754cc4130cd1 --- /dev/null +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetSubnetRequestOrBuilder.java @@ -0,0 +1,55 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/edgenetwork/v1/service.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.edgenetwork.v1; + +public interface GetSubnetRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.GetSubnetRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the resource
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the resource
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetZoneRequest.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetZoneRequest.java similarity index 62% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetZoneRequest.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetZoneRequest.java index af92cb2ebc90..5f83b1ca3c80 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetZoneRequest.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetZoneRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,6 +20,8 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Deprecated: not implemented.
  * Message for getting a Zone
@@ -12,48 +29,57 @@
  *
  * Protobuf type {@code google.cloud.edgenetwork.v1.GetZoneRequest}
  */
-@java.lang.Deprecated public final class GetZoneRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+@java.lang.Deprecated
+public final class GetZoneRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.GetZoneRequest)
     GetZoneRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetZoneRequest.newBuilder() to construct.
   private GetZoneRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetZoneRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetZoneRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetZoneRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.edgenetwork.v1.ServiceProto
+        .internal_static_google_cloud_edgenetwork_v1_GetZoneRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetZoneRequest_fieldAccessorTable
+    return com.google.cloud.edgenetwork.v1.ServiceProto
+        .internal_static_google_cloud_edgenetwork_v1_GetZoneRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.edgenetwork.v1.GetZoneRequest.class, com.google.cloud.edgenetwork.v1.GetZoneRequest.Builder.class);
+            com.google.cloud.edgenetwork.v1.GetZoneRequest.class,
+            com.google.cloud.edgenetwork.v1.GetZoneRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,29 +88,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,6 +121,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +133,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +157,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.edgenetwork.v1.GetZoneRequest)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.GetZoneRequest other = (com.google.cloud.edgenetwork.v1.GetZoneRequest) obj; + com.google.cloud.edgenetwork.v1.GetZoneRequest other = + (com.google.cloud.edgenetwork.v1.GetZoneRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,99 +184,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.edgenetwork.v1.GetZoneRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.edgenetwork.v1.GetZoneRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.GetZoneRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.GetZoneRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.GetZoneRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.GetZoneRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.GetZoneRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.GetZoneRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.GetZoneRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.GetZoneRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.GetZoneRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.GetZoneRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.GetZoneRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.GetZoneRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.GetZoneRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Deprecated: not implemented.
    * Message for getting a Zone
@@ -256,33 +289,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.edgenetwork.v1.GetZoneRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.GetZoneRequest)
       com.google.cloud.edgenetwork.v1.GetZoneRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetZoneRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.edgenetwork.v1.ServiceProto
+          .internal_static_google_cloud_edgenetwork_v1_GetZoneRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetZoneRequest_fieldAccessorTable
+      return com.google.cloud.edgenetwork.v1.ServiceProto
+          .internal_static_google_cloud_edgenetwork_v1_GetZoneRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.edgenetwork.v1.GetZoneRequest.class, com.google.cloud.edgenetwork.v1.GetZoneRequest.Builder.class);
+              com.google.cloud.edgenetwork.v1.GetZoneRequest.class,
+              com.google.cloud.edgenetwork.v1.GetZoneRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.edgenetwork.v1.GetZoneRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -292,9 +324,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_GetZoneRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.edgenetwork.v1.ServiceProto
+          .internal_static_google_cloud_edgenetwork_v1_GetZoneRequest_descriptor;
     }
 
     @java.lang.Override
@@ -313,8 +345,11 @@ public com.google.cloud.edgenetwork.v1.GetZoneRequest build() {
 
     @java.lang.Override
     public com.google.cloud.edgenetwork.v1.GetZoneRequest buildPartial() {
-      com.google.cloud.edgenetwork.v1.GetZoneRequest result = new com.google.cloud.edgenetwork.v1.GetZoneRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.edgenetwork.v1.GetZoneRequest result =
+          new com.google.cloud.edgenetwork.v1.GetZoneRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -330,38 +365,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.GetZoneRequest result
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.edgenetwork.v1.GetZoneRequest) {
-        return mergeFrom((com.google.cloud.edgenetwork.v1.GetZoneRequest)other);
+        return mergeFrom((com.google.cloud.edgenetwork.v1.GetZoneRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -401,17 +437,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -421,22 +459,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,20 +488,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,28 +512,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -497,26 +554,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,12 +589,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.GetZoneRequest) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.GetZoneRequest) private static final com.google.cloud.edgenetwork.v1.GetZoneRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.GetZoneRequest(); } @@ -540,27 +603,27 @@ public static com.google.cloud.edgenetwork.v1.GetZoneRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetZoneRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetZoneRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -575,6 +638,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.GetZoneRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetZoneRequestOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetZoneRequestOrBuilder.java new file mode 100644 index 000000000000..947f472be352 --- /dev/null +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetZoneRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/edgenetwork/v1/service.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.edgenetwork.v1; + +@java.lang.Deprecated +public interface GetZoneRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.GetZoneRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the resource
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the resource
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneRequest.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneRequest.java similarity index 61% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneRequest.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneRequest.java index b1a15acabcff..2fd2fb1941bb 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneRequest.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,54 +20,64 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for initializing a specified zone
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.InitializeZoneRequest} */ -public final class InitializeZoneRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InitializeZoneRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.InitializeZoneRequest) InitializeZoneRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InitializeZoneRequest.newBuilder() to construct. private InitializeZoneRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InitializeZoneRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InitializeZoneRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_InitializeZoneRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_InitializeZoneRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_InitializeZoneRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_InitializeZoneRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.InitializeZoneRequest.class, com.google.cloud.edgenetwork.v1.InitializeZoneRequest.Builder.class); + com.google.cloud.edgenetwork.v1.InitializeZoneRequest.class, + com.google.cloud.edgenetwork.v1.InitializeZoneRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the zone resource.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,29 +86,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the zone resource.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -92,6 +119,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -103,8 +131,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -128,15 +155,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.edgenetwork.v1.InitializeZoneRequest)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.InitializeZoneRequest other = (com.google.cloud.edgenetwork.v1.InitializeZoneRequest) obj; + com.google.cloud.edgenetwork.v1.InitializeZoneRequest other = + (com.google.cloud.edgenetwork.v1.InitializeZoneRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,131 +183,136 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.InitializeZoneRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.InitializeZoneRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.InitializeZoneRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.InitializeZoneRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.InitializeZoneRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.InitializeZoneRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.InitializeZoneRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.InitializeZoneRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.InitializeZoneRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.InitializeZoneRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.InitializeZoneRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.InitializeZoneRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.InitializeZoneRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.InitializeZoneRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.edgenetwork.v1.InitializeZoneRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.edgenetwork.v1.InitializeZoneRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for initializing a specified zone
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.InitializeZoneRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.InitializeZoneRequest) com.google.cloud.edgenetwork.v1.InitializeZoneRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_InitializeZoneRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_InitializeZoneRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_InitializeZoneRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_InitializeZoneRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.InitializeZoneRequest.class, com.google.cloud.edgenetwork.v1.InitializeZoneRequest.Builder.class); + com.google.cloud.edgenetwork.v1.InitializeZoneRequest.class, + com.google.cloud.edgenetwork.v1.InitializeZoneRequest.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.InitializeZoneRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -290,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_InitializeZoneRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_InitializeZoneRequest_descriptor; } @java.lang.Override @@ -311,8 +343,11 @@ public com.google.cloud.edgenetwork.v1.InitializeZoneRequest build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.InitializeZoneRequest buildPartial() { - com.google.cloud.edgenetwork.v1.InitializeZoneRequest result = new com.google.cloud.edgenetwork.v1.InitializeZoneRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.InitializeZoneRequest result = + new com.google.cloud.edgenetwork.v1.InitializeZoneRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -328,38 +363,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.InitializeZoneRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.InitializeZoneRequest) { - return mergeFrom((com.google.cloud.edgenetwork.v1.InitializeZoneRequest)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.InitializeZoneRequest) other); } else { super.mergeFrom(other); return this; @@ -367,7 +403,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.InitializeZoneRequest other) { - if (other == com.google.cloud.edgenetwork.v1.InitializeZoneRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.InitializeZoneRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -399,17 +436,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,22 +458,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the zone resource.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -443,20 +487,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the zone resource.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -464,28 +511,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the zone resource.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the zone resource.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -495,26 +553,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the zone resource.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -524,12 +588,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.InitializeZoneRequest) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.InitializeZoneRequest) private static final com.google.cloud.edgenetwork.v1.InitializeZoneRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.InitializeZoneRequest(); } @@ -538,27 +602,27 @@ public static com.google.cloud.edgenetwork.v1.InitializeZoneRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InitializeZoneRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InitializeZoneRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -573,6 +637,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.InitializeZoneRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneRequestOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneRequestOrBuilder.java new file mode 100644 index 000000000000..0eefce3bc7d3 --- /dev/null +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneRequestOrBuilder.java @@ -0,0 +1,55 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/edgenetwork/v1/service.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.edgenetwork.v1; + +public interface InitializeZoneRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.InitializeZoneRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the zone resource.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the zone resource.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneResponse.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneResponse.java similarity index 61% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneResponse.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneResponse.java index 699ac0a519ab..3d81aa9cadd7 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneResponse.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,45 +20,49 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * The response of initializing a zone
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.InitializeZoneResponse} */ -public final class InitializeZoneResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InitializeZoneResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.InitializeZoneResponse) InitializeZoneResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InitializeZoneResponse.newBuilder() to construct. private InitializeZoneResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InitializeZoneResponse() { - } + + private InitializeZoneResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InitializeZoneResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_InitializeZoneResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_InitializeZoneResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_InitializeZoneResponse_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_InitializeZoneResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.InitializeZoneResponse.class, com.google.cloud.edgenetwork.v1.InitializeZoneResponse.Builder.class); + com.google.cloud.edgenetwork.v1.InitializeZoneResponse.class, + com.google.cloud.edgenetwork.v1.InitializeZoneResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -55,8 +74,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 { getUnknownFields().writeTo(output); } @@ -74,12 +92,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.edgenetwork.v1.InitializeZoneResponse)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.InitializeZoneResponse other = (com.google.cloud.edgenetwork.v1.InitializeZoneResponse) obj; + com.google.cloud.edgenetwork.v1.InitializeZoneResponse other = + (com.google.cloud.edgenetwork.v1.InitializeZoneResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -98,131 +117,136 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.InitializeZoneResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.InitializeZoneResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.InitializeZoneResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.InitializeZoneResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.InitializeZoneResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.InitializeZoneResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.InitializeZoneResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.InitializeZoneResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.InitializeZoneResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.InitializeZoneResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.InitializeZoneResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.InitializeZoneResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.InitializeZoneResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.InitializeZoneResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.edgenetwork.v1.InitializeZoneResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.edgenetwork.v1.InitializeZoneResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 response of initializing a zone
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.InitializeZoneResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.InitializeZoneResponse) com.google.cloud.edgenetwork.v1.InitializeZoneResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_InitializeZoneResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_InitializeZoneResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_InitializeZoneResponse_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_InitializeZoneResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.InitializeZoneResponse.class, com.google.cloud.edgenetwork.v1.InitializeZoneResponse.Builder.class); + com.google.cloud.edgenetwork.v1.InitializeZoneResponse.class, + com.google.cloud.edgenetwork.v1.InitializeZoneResponse.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.InitializeZoneResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -230,9 +254,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_InitializeZoneResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_InitializeZoneResponse_descriptor; } @java.lang.Override @@ -251,7 +275,8 @@ public com.google.cloud.edgenetwork.v1.InitializeZoneResponse build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.InitializeZoneResponse buildPartial() { - com.google.cloud.edgenetwork.v1.InitializeZoneResponse result = new com.google.cloud.edgenetwork.v1.InitializeZoneResponse(this); + com.google.cloud.edgenetwork.v1.InitializeZoneResponse result = + new com.google.cloud.edgenetwork.v1.InitializeZoneResponse(this); onBuilt(); return result; } @@ -260,38 +285,39 @@ public com.google.cloud.edgenetwork.v1.InitializeZoneResponse 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.edgenetwork.v1.InitializeZoneResponse) { - return mergeFrom((com.google.cloud.edgenetwork.v1.InitializeZoneResponse)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.InitializeZoneResponse) other); } else { super.mergeFrom(other); return this; @@ -299,7 +325,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.InitializeZoneResponse other) { - if (other == com.google.cloud.edgenetwork.v1.InitializeZoneResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.InitializeZoneResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -326,12 +353,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -341,9 +369,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -353,12 +381,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.InitializeZoneResponse) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.InitializeZoneResponse) private static final com.google.cloud.edgenetwork.v1.InitializeZoneResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.InitializeZoneResponse(); } @@ -367,27 +395,27 @@ public static com.google.cloud.edgenetwork.v1.InitializeZoneResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InitializeZoneResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InitializeZoneResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -402,6 +430,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.InitializeZoneResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneResponseOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneResponseOrBuilder.java new file mode 100644 index 000000000000..19ee3168c207 --- /dev/null +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneResponseOrBuilder.java @@ -0,0 +1,25 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/edgenetwork/v1/service.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.edgenetwork.v1; + +public interface InitializeZoneResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.InitializeZoneResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Interconnect.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Interconnect.java similarity index 66% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Interconnect.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Interconnect.java index 52b4dccddc9d..88563dbc42b5 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Interconnect.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Interconnect.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/resources.proto @@ -5,41 +20,42 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message describing Interconnect object
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.Interconnect} */ -public final class Interconnect extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Interconnect extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.Interconnect) InterconnectOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Interconnect.newBuilder() to construct. private Interconnect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Interconnect() { name_ = ""; description_ = ""; interconnectType_ = 0; uuid_ = ""; deviceCloudResourceName_ = ""; - physicalPorts_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + physicalPorts_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Interconnect(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Interconnect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Interconnect_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -50,28 +66,33 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 4: 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.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Interconnect_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Interconnect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.Interconnect.class, com.google.cloud.edgenetwork.v1.Interconnect.Builder.class); + com.google.cloud.edgenetwork.v1.Interconnect.class, + com.google.cloud.edgenetwork.v1.Interconnect.Builder.class); } /** + * + * *
    * Type of interconnect.
    * 
* * Protobuf enum {@code google.cloud.edgenetwork.v1.Interconnect.InterconnectType} */ - public enum InterconnectType - implements com.google.protobuf.ProtocolMessageEnum { + public enum InterconnectType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified.
      * 
@@ -80,6 +101,8 @@ public enum InterconnectType */ INTERCONNECT_TYPE_UNSPECIFIED(0), /** + * + * *
      * Dedicated Interconnect.
      * 
@@ -91,6 +114,8 @@ public enum InterconnectType ; /** + * + * *
      * Unspecified.
      * 
@@ -99,6 +124,8 @@ public enum InterconnectType */ public static final int INTERCONNECT_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Dedicated Interconnect.
      * 
@@ -107,7 +134,6 @@ public enum InterconnectType */ public static final int DEDICATED_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -132,38 +158,40 @@ public static InterconnectType valueOf(int value) { */ public static InterconnectType forNumber(int value) { switch (value) { - case 0: return INTERCONNECT_TYPE_UNSPECIFIED; - case 1: return DEDICATED; - default: return null; + case 0: + return INTERCONNECT_TYPE_UNSPECIFIED; + case 1: + return DEDICATED; + 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< - InterconnectType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public InterconnectType findValueByNumber(int number) { - return InterconnectType.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 InterconnectType findValueByNumber(int number) { + return InterconnectType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.edgenetwork.v1.Interconnect.getDescriptor().getEnumTypes().get(0); } @@ -172,8 +200,7 @@ public InterconnectType findValueByNumber(int number) { public static InterconnectType 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; @@ -192,14 +219,18 @@ private InterconnectType(int value) { private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The canonical resource name of the interconnect.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -208,29 +239,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The canonical resource name of the interconnect.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -241,11 +272,15 @@ public java.lang.String getName() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time when the subnet was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -253,11 +288,15 @@ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Output only. The time when the subnet was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -265,11 +304,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time when the subnet was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -279,11 +321,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The time when the subnet was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -291,11 +337,15 @@ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Output only. The time when the subnet was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -303,11 +353,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time when the subnet was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -315,32 +368,34 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 4; + 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.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Interconnect_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.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Interconnect_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - 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_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels associated with this resource.
    * 
@@ -348,20 +403,21 @@ public int getLabelsCount() { * map<string, string> labels = 4; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Labels associated with this resource.
    * 
@@ -373,6 +429,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Labels associated with this resource.
    * 
@@ -380,17 +438,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Labels associated with this resource.
    * 
@@ -398,11 +458,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -410,15 +470,19 @@ public java.lang.String getLabelsOrThrow( } public static final int DESCRIPTION_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. A free-text description of the resource. Max length 1024
    * characters.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -427,30 +491,30 @@ 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. A free-text description of the resource. Max length 1024
    * characters.
    * 
* * string description = 5 [(.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 { @@ -461,40 +525,59 @@ public java.lang.String getDescription() { public static final int INTERCONNECT_TYPE_FIELD_NUMBER = 6; private int interconnectType_ = 0; /** + * + * *
    * Optional. Type of interconnect, which takes only the value 'DEDICATED' for
    * now.
    * 
* - * .google.cloud.edgenetwork.v1.Interconnect.InterconnectType interconnect_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.edgenetwork.v1.Interconnect.InterconnectType interconnect_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for interconnectType. */ - @java.lang.Override public int getInterconnectTypeValue() { + @java.lang.Override + public int getInterconnectTypeValue() { return interconnectType_; } /** + * + * *
    * Optional. Type of interconnect, which takes only the value 'DEDICATED' for
    * now.
    * 
* - * .google.cloud.edgenetwork.v1.Interconnect.InterconnectType interconnect_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.edgenetwork.v1.Interconnect.InterconnectType interconnect_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The interconnectType. */ - @java.lang.Override public com.google.cloud.edgenetwork.v1.Interconnect.InterconnectType getInterconnectType() { - com.google.cloud.edgenetwork.v1.Interconnect.InterconnectType result = com.google.cloud.edgenetwork.v1.Interconnect.InterconnectType.forNumber(interconnectType_); - return result == null ? com.google.cloud.edgenetwork.v1.Interconnect.InterconnectType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.edgenetwork.v1.Interconnect.InterconnectType getInterconnectType() { + com.google.cloud.edgenetwork.v1.Interconnect.InterconnectType result = + com.google.cloud.edgenetwork.v1.Interconnect.InterconnectType.forNumber(interconnectType_); + return result == null + ? com.google.cloud.edgenetwork.v1.Interconnect.InterconnectType.UNRECOGNIZED + : result; } public static final int UUID_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object uuid_ = ""; /** + * + * *
    * Output only. Unique identifier for the link.
    * 
* * string uuid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uuid. */ @java.lang.Override @@ -503,29 +586,29 @@ 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. Unique identifier for the link.
    * 
* * string uuid = 7 [(.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 { @@ -534,14 +617,19 @@ public java.lang.String getUuid() { } public static final int DEVICE_CLOUD_RESOURCE_NAME_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object deviceCloudResourceName_ = ""; /** + * + * *
    * Output only. Cloud resource name of the switch device.
    * 
* - * string device_cloud_resource_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string device_cloud_resource_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deviceCloudResourceName. */ @java.lang.Override @@ -550,29 +638,30 @@ public java.lang.String getDeviceCloudResourceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deviceCloudResourceName_ = s; return s; } } /** + * + * *
    * Output only. Cloud resource name of the switch device.
    * 
* - * string device_cloud_resource_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string device_cloud_resource_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for deviceCloudResourceName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDeviceCloudResourceNameBytes() { + public com.google.protobuf.ByteString getDeviceCloudResourceNameBytes() { java.lang.Object ref = deviceCloudResourceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); deviceCloudResourceName_ = b; return b; } else { @@ -581,41 +670,50 @@ public java.lang.String getDeviceCloudResourceName() { } public static final int PHYSICAL_PORTS_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList physicalPorts_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Output only. Physical ports (e.g., TenGigE0/0/0/1) that form the
    * interconnect.
    * 
* * repeated string physical_ports = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the physicalPorts. */ - public com.google.protobuf.ProtocolStringList - getPhysicalPortsList() { + public com.google.protobuf.ProtocolStringList getPhysicalPortsList() { return physicalPorts_; } /** + * + * *
    * Output only. Physical ports (e.g., TenGigE0/0/0/1) that form the
    * interconnect.
    * 
* * repeated string physical_ports = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of physicalPorts. */ public int getPhysicalPortsCount() { return physicalPorts_.size(); } /** + * + * *
    * Output only. Physical ports (e.g., TenGigE0/0/0/1) that form the
    * interconnect.
    * 
* * repeated string physical_ports = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The physicalPorts at the given index. */ @@ -623,21 +721,24 @@ public java.lang.String getPhysicalPorts(int index) { return physicalPorts_.get(index); } /** + * + * *
    * Output only. Physical ports (e.g., TenGigE0/0/0/1) that form the
    * interconnect.
    * 
* * repeated string physical_ports = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the physicalPorts at the given index. */ - public com.google.protobuf.ByteString - getPhysicalPortsBytes(int index) { + public com.google.protobuf.ByteString getPhysicalPortsBytes(int index) { return physicalPorts_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -649,8 +750,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -660,16 +760,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_); } - if (interconnectType_ != com.google.cloud.edgenetwork.v1.Interconnect.InterconnectType.INTERCONNECT_TYPE_UNSPECIFIED.getNumber()) { + if (interconnectType_ + != com.google.cloud.edgenetwork.v1.Interconnect.InterconnectType + .INTERCONNECT_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(6, interconnectType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) { @@ -694,29 +793,29 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, 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(4, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, 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(4, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); } - if (interconnectType_ != com.google.cloud.edgenetwork.v1.Interconnect.InterconnectType.INTERCONNECT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, interconnectType_); + if (interconnectType_ + != com.google.cloud.edgenetwork.v1.Interconnect.InterconnectType + .INTERCONNECT_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, interconnectType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, uuid_); @@ -740,36 +839,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.edgenetwork.v1.Interconnect)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.Interconnect other = (com.google.cloud.edgenetwork.v1.Interconnect) obj; + com.google.cloud.edgenetwork.v1.Interconnect other = + (com.google.cloud.edgenetwork.v1.Interconnect) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) 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 (!getDescription() - .equals(other.getDescription())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (interconnectType_ != other.interconnectType_) return false; - if (!getUuid() - .equals(other.getUuid())) return false; - if (!getDeviceCloudResourceName() - .equals(other.getDeviceCloudResourceName())) return false; - if (!getPhysicalPortsList() - .equals(other.getPhysicalPortsList())) return false; + if (!getUuid().equals(other.getUuid())) return false; + if (!getDeviceCloudResourceName().equals(other.getDeviceCloudResourceName())) return false; + if (!getPhysicalPortsList().equals(other.getPhysicalPortsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -812,112 +904,117 @@ public int hashCode() { return hash; } - public static com.google.cloud.edgenetwork.v1.Interconnect parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.edgenetwork.v1.Interconnect parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.Interconnect parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Interconnect parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.Interconnect parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Interconnect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.Interconnect parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Interconnect parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.Interconnect parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.Interconnect parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.Interconnect parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.Interconnect parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Interconnect parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.Interconnect parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.Interconnect prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 describing Interconnect object
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.Interconnect} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.Interconnect) com.google.cloud.edgenetwork.v1.InterconnectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Interconnect_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Interconnect_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -927,10 +1024,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 4: 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.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { @@ -938,16 +1035,18 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi case 4: 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.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Interconnect_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Interconnect_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.Interconnect.class, com.google.cloud.edgenetwork.v1.Interconnect.Builder.class); + com.google.cloud.edgenetwork.v1.Interconnect.class, + com.google.cloud.edgenetwork.v1.Interconnect.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.Interconnect.newBuilder() @@ -955,18 +1054,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCreateTimeFieldBuilder(); getUpdateTimeFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -987,15 +1086,14 @@ public Builder clear() { interconnectType_ = 0; uuid_ = ""; deviceCloudResourceName_ = ""; - physicalPorts_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + physicalPorts_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Interconnect_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Interconnect_descriptor; } @java.lang.Override @@ -1014,8 +1112,11 @@ public com.google.cloud.edgenetwork.v1.Interconnect build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.Interconnect buildPartial() { - com.google.cloud.edgenetwork.v1.Interconnect result = new com.google.cloud.edgenetwork.v1.Interconnect(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.Interconnect result = + new com.google.cloud.edgenetwork.v1.Interconnect(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1027,15 +1128,11 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.Interconnect result) } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { @@ -1065,38 +1162,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.Interconnect result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.Interconnect) { - return mergeFrom((com.google.cloud.edgenetwork.v1.Interconnect)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.Interconnect) other); } else { super.mergeFrom(other); return this; @@ -1116,8 +1214,7 @@ public Builder mergeFrom(com.google.cloud.edgenetwork.v1.Interconnect other) { if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); bitField0_ |= 0x00000008; if (!other.getDescription().isEmpty()) { description_ = other.description_; @@ -1173,66 +1270,74 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 48: { - interconnectType_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 58: { - uuid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: { - deviceCloudResourceName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 74: { - java.lang.String s = input.readStringRequireUtf8(); - ensurePhysicalPortsIsMutable(); - physicalPorts_.add(s); - break; - } // case 74 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: + { + interconnectType_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 58: + { + uuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: + { + deviceCloudResourceName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: + { + java.lang.String s = input.readStringRequireUtf8(); + ensurePhysicalPortsIsMutable(); + physicalPorts_.add(s); + break; + } // case 74 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1242,22 +1347,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The canonical resource name of the interconnect.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -1266,20 +1374,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The canonical resource name of the interconnect.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -1287,28 +1396,35 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The canonical resource name of the interconnect.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The canonical resource name of the interconnect.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1318,17 +1434,21 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The canonical resource name of the interconnect.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1338,39 +1458,58 @@ public Builder setNameBytes( 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 when the subnet was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The time when the subnet was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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 when the subnet was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1386,14 +1525,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the subnet was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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(); } else { @@ -1404,17 +1546,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time when the subnet was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1429,11 +1575,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the subnet was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1446,11 +1596,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time when the subnet was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000002; @@ -1458,36 +1612,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the subnet was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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 when the subnet was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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_; @@ -1495,39 +1661,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 when the subnet was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The time when the subnet was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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 when the subnet was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1543,14 +1728,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the subnet was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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(); } else { @@ -1561,17 +1749,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time when the subnet was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1586,11 +1778,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the subnet was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1603,11 +1799,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time when the subnet was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1615,56 +1815,66 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the subnet was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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 when the subnet was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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() { 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(); @@ -1673,10 +1883,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels associated with this resource.
      * 
@@ -1684,20 +1897,21 @@ public int getLabelsCount() { * map<string, string> labels = 4; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Labels associated with this resource.
      * 
@@ -1709,6 +1923,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels associated with this resource.
      * 
@@ -1716,17 +1932,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Labels associated with this resource.
      * 
@@ -1734,92 +1952,96 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000008); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Labels associated with this resource.
      * 
* * map<string, string> labels = 4; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000008; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Labels associated with this resource.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000008; return this; } /** + * + * *
      * Labels associated with this resource.
      * 
* * map<string, string> labels = 4; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000008; return this; } private java.lang.Object description_ = ""; /** + * + * *
      * Optional. A free-text description of the resource. Max length 1024
      * characters.
      * 
* * string description = 5 [(.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; @@ -1828,21 +2050,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. A free-text description of the resource. Max length 1024
      * characters.
      * 
* * string description = 5 [(.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 { @@ -1850,30 +2073,37 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. A free-text description of the resource. Max length 1024
      * characters.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. A free-text description of the resource. Max length 1024
      * characters.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1883,18 +2113,22 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. A free-text description of the resource. Max length 1024
      * characters.
      * 
* * string description = 5 [(.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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000010; @@ -1904,24 +2138,35 @@ public Builder setDescriptionBytes( private int interconnectType_ = 0; /** + * + * *
      * Optional. Type of interconnect, which takes only the value 'DEDICATED' for
      * now.
      * 
* - * .google.cloud.edgenetwork.v1.Interconnect.InterconnectType interconnect_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.edgenetwork.v1.Interconnect.InterconnectType interconnect_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for interconnectType. */ - @java.lang.Override public int getInterconnectTypeValue() { + @java.lang.Override + public int getInterconnectTypeValue() { return interconnectType_; } /** + * + * *
      * Optional. Type of interconnect, which takes only the value 'DEDICATED' for
      * now.
      * 
* - * .google.cloud.edgenetwork.v1.Interconnect.InterconnectType interconnect_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.edgenetwork.v1.Interconnect.InterconnectType interconnect_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for interconnectType to set. * @return This builder for chaining. */ @@ -1932,30 +2177,45 @@ public Builder setInterconnectTypeValue(int value) { return this; } /** + * + * *
      * Optional. Type of interconnect, which takes only the value 'DEDICATED' for
      * now.
      * 
* - * .google.cloud.edgenetwork.v1.Interconnect.InterconnectType interconnect_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.edgenetwork.v1.Interconnect.InterconnectType interconnect_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The interconnectType. */ @java.lang.Override public com.google.cloud.edgenetwork.v1.Interconnect.InterconnectType getInterconnectType() { - com.google.cloud.edgenetwork.v1.Interconnect.InterconnectType result = com.google.cloud.edgenetwork.v1.Interconnect.InterconnectType.forNumber(interconnectType_); - return result == null ? com.google.cloud.edgenetwork.v1.Interconnect.InterconnectType.UNRECOGNIZED : result; + com.google.cloud.edgenetwork.v1.Interconnect.InterconnectType result = + com.google.cloud.edgenetwork.v1.Interconnect.InterconnectType.forNumber( + interconnectType_); + return result == null + ? com.google.cloud.edgenetwork.v1.Interconnect.InterconnectType.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. Type of interconnect, which takes only the value 'DEDICATED' for
      * now.
      * 
* - * .google.cloud.edgenetwork.v1.Interconnect.InterconnectType interconnect_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.edgenetwork.v1.Interconnect.InterconnectType interconnect_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The interconnectType to set. * @return This builder for chaining. */ - public Builder setInterconnectType(com.google.cloud.edgenetwork.v1.Interconnect.InterconnectType value) { + public Builder setInterconnectType( + com.google.cloud.edgenetwork.v1.Interconnect.InterconnectType value) { if (value == null) { throw new NullPointerException(); } @@ -1965,12 +2225,17 @@ public Builder setInterconnectType(com.google.cloud.edgenetwork.v1.Interconnect. return this; } /** + * + * *
      * Optional. Type of interconnect, which takes only the value 'DEDICATED' for
      * now.
      * 
* - * .google.cloud.edgenetwork.v1.Interconnect.InterconnectType interconnect_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.edgenetwork.v1.Interconnect.InterconnectType interconnect_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearInterconnectType() { @@ -1982,18 +2247,20 @@ public Builder clearInterconnectType() { private java.lang.Object uuid_ = ""; /** + * + * *
      * Output only. Unique identifier for the link.
      * 
* * string uuid = 7 [(.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; @@ -2002,20 +2269,21 @@ public java.lang.String getUuid() { } } /** + * + * *
      * Output only. Unique identifier for the link.
      * 
* * string uuid = 7 [(.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 { @@ -2023,28 +2291,35 @@ public java.lang.String getUuid() { } } /** + * + * *
      * Output only. Unique identifier for the link.
      * 
* * string uuid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uuid to set. * @return This builder for chaining. */ - public Builder setUuid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUuid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uuid_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Output only. Unique identifier for the link.
      * 
* * string uuid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUuid() { @@ -2054,17 +2329,21 @@ public Builder clearUuid() { return this; } /** + * + * *
      * Output only. Unique identifier for the link.
      * 
* * string uuid = 7 [(.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) { - if (value == null) { throw new NullPointerException(); } + public Builder setUuidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uuid_ = value; bitField0_ |= 0x00000040; @@ -2074,18 +2353,21 @@ public Builder setUuidBytes( private java.lang.Object deviceCloudResourceName_ = ""; /** + * + * *
      * Output only. Cloud resource name of the switch device.
      * 
* - * string device_cloud_resource_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string device_cloud_resource_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deviceCloudResourceName. */ public java.lang.String getDeviceCloudResourceName() { java.lang.Object ref = deviceCloudResourceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deviceCloudResourceName_ = s; return s; @@ -2094,20 +2376,22 @@ public java.lang.String getDeviceCloudResourceName() { } } /** + * + * *
      * Output only. Cloud resource name of the switch device.
      * 
* - * string device_cloud_resource_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string device_cloud_resource_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for deviceCloudResourceName. */ - public com.google.protobuf.ByteString - getDeviceCloudResourceNameBytes() { + public com.google.protobuf.ByteString getDeviceCloudResourceNameBytes() { java.lang.Object ref = deviceCloudResourceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); deviceCloudResourceName_ = b; return b; } else { @@ -2115,28 +2399,37 @@ public java.lang.String getDeviceCloudResourceName() { } } /** + * + * *
      * Output only. Cloud resource name of the switch device.
      * 
* - * string device_cloud_resource_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string device_cloud_resource_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The deviceCloudResourceName to set. * @return This builder for chaining. */ - public Builder setDeviceCloudResourceName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDeviceCloudResourceName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } deviceCloudResourceName_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Output only. Cloud resource name of the switch device.
      * 
* - * string device_cloud_resource_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string device_cloud_resource_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearDeviceCloudResourceName() { @@ -2146,17 +2439,22 @@ public Builder clearDeviceCloudResourceName() { return this; } /** + * + * *
      * Output only. Cloud resource name of the switch device.
      * 
* - * string device_cloud_resource_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string device_cloud_resource_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes for deviceCloudResourceName to set. * @return This builder for chaining. */ - public Builder setDeviceCloudResourceNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDeviceCloudResourceNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); deviceCloudResourceName_ = value; bitField0_ |= 0x00000080; @@ -2166,6 +2464,7 @@ public Builder setDeviceCloudResourceNameBytes( private com.google.protobuf.LazyStringArrayList physicalPorts_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePhysicalPortsIsMutable() { if (!physicalPorts_.isModifiable()) { physicalPorts_ = new com.google.protobuf.LazyStringArrayList(physicalPorts_); @@ -2173,38 +2472,46 @@ private void ensurePhysicalPortsIsMutable() { bitField0_ |= 0x00000100; } /** + * + * *
      * Output only. Physical ports (e.g., TenGigE0/0/0/1) that form the
      * interconnect.
      * 
* * repeated string physical_ports = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the physicalPorts. */ - public com.google.protobuf.ProtocolStringList - getPhysicalPortsList() { + public com.google.protobuf.ProtocolStringList getPhysicalPortsList() { physicalPorts_.makeImmutable(); return physicalPorts_; } /** + * + * *
      * Output only. Physical ports (e.g., TenGigE0/0/0/1) that form the
      * interconnect.
      * 
* * repeated string physical_ports = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of physicalPorts. */ public int getPhysicalPortsCount() { return physicalPorts_.size(); } /** + * + * *
      * Output only. Physical ports (e.g., TenGigE0/0/0/1) that form the
      * interconnect.
      * 
* * repeated string physical_ports = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The physicalPorts at the given index. */ @@ -2212,33 +2519,39 @@ public java.lang.String getPhysicalPorts(int index) { return physicalPorts_.get(index); } /** + * + * *
      * Output only. Physical ports (e.g., TenGigE0/0/0/1) that form the
      * interconnect.
      * 
* * repeated string physical_ports = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the physicalPorts at the given index. */ - public com.google.protobuf.ByteString - getPhysicalPortsBytes(int index) { + public com.google.protobuf.ByteString getPhysicalPortsBytes(int index) { return physicalPorts_.getByteString(index); } /** + * + * *
      * Output only. Physical ports (e.g., TenGigE0/0/0/1) that form the
      * interconnect.
      * 
* * repeated string physical_ports = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index to set the value at. * @param value The physicalPorts to set. * @return This builder for chaining. */ - public Builder setPhysicalPorts( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPhysicalPorts(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensurePhysicalPortsIsMutable(); physicalPorts_.set(index, value); bitField0_ |= 0x00000100; @@ -2246,18 +2559,22 @@ public Builder setPhysicalPorts( return this; } /** + * + * *
      * Output only. Physical ports (e.g., TenGigE0/0/0/1) that form the
      * interconnect.
      * 
* * repeated string physical_ports = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The physicalPorts to add. * @return This builder for chaining. */ - public Builder addPhysicalPorts( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addPhysicalPorts(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensurePhysicalPortsIsMutable(); physicalPorts_.add(value); bitField0_ |= 0x00000100; @@ -2265,53 +2582,61 @@ public Builder addPhysicalPorts( return this; } /** + * + * *
      * Output only. Physical ports (e.g., TenGigE0/0/0/1) that form the
      * interconnect.
      * 
* * repeated string physical_ports = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param values The physicalPorts to add. * @return This builder for chaining. */ - public Builder addAllPhysicalPorts( - java.lang.Iterable values) { + public Builder addAllPhysicalPorts(java.lang.Iterable values) { ensurePhysicalPortsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, physicalPorts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, physicalPorts_); bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * Output only. Physical ports (e.g., TenGigE0/0/0/1) that form the
      * interconnect.
      * 
* * repeated string physical_ports = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPhysicalPorts() { - physicalPorts_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000100);; + physicalPorts_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000100); + ; onChanged(); return this; } /** + * + * *
      * Output only. Physical ports (e.g., TenGigE0/0/0/1) that form the
      * interconnect.
      * 
* * repeated string physical_ports = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes of the physicalPorts to add. * @return This builder for chaining. */ - public Builder addPhysicalPortsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addPhysicalPortsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensurePhysicalPortsIsMutable(); physicalPorts_.add(value); @@ -2319,9 +2644,9 @@ public Builder addPhysicalPortsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2331,12 +2656,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.Interconnect) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.Interconnect) private static final com.google.cloud.edgenetwork.v1.Interconnect DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.Interconnect(); } @@ -2345,27 +2670,27 @@ public static com.google.cloud.edgenetwork.v1.Interconnect getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Interconnect parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Interconnect parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2380,6 +2705,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.Interconnect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectAttachment.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectAttachment.java similarity index 65% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectAttachment.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectAttachment.java index 84ec3913b4e9..65d8161feb52 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectAttachment.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectAttachment.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/resources.proto @@ -5,21 +20,24 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message describing InterconnectAttachment object
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.InterconnectAttachment} */ -public final class InterconnectAttachment extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InterconnectAttachment extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.InterconnectAttachment) InterconnectAttachmentOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InterconnectAttachment.newBuilder() to construct. private InterconnectAttachment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InterconnectAttachment() { name_ = ""; description_ = ""; @@ -30,14 +48,13 @@ private InterconnectAttachment() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InterconnectAttachment(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -48,28 +65,34 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 4: 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.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.InterconnectAttachment.class, com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder.class); + com.google.cloud.edgenetwork.v1.InterconnectAttachment.class, + com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The canonical resource name of the interconnect attachment.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -78,29 +101,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The canonical resource name of the interconnect attachment.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -111,11 +134,15 @@ public java.lang.String getName() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time when the interconnect attachment was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -123,11 +150,15 @@ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Output only. The time when the interconnect attachment was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -135,11 +166,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time when the interconnect attachment was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -149,11 +183,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The time when the interconnect attachment was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -161,11 +199,15 @@ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Output only. The time when the interconnect attachment was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -173,11 +215,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time when the interconnect attachment was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -185,32 +230,34 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 4; + 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.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_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.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - 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_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels associated with this resource.
    * 
@@ -218,20 +265,21 @@ public int getLabelsCount() { * map<string, string> labels = 4; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Labels associated with this resource.
    * 
@@ -243,6 +291,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Labels associated with this resource.
    * 
@@ -250,17 +300,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Labels associated with this resource.
    * 
@@ -268,11 +320,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -280,15 +332,19 @@ public java.lang.String getLabelsOrThrow( } public static final int DESCRIPTION_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. A free-text description of the resource. Max length 1024
    * characters.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -297,30 +353,30 @@ 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. A free-text description of the resource. Max length 1024
    * characters.
    * 
* * string description = 5 [(.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 { @@ -329,16 +385,22 @@ public java.lang.String getDescription() { } public static final int INTERCONNECT_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object interconnect_ = ""; /** + * + * *
    * Required. The canonical name of underlying Interconnect object that this
    * attachment's traffic will traverse through. The name is in the form of
    * `projects/{project}/locations/{location}/zones/{zone}/interconnects/{interconnect}`.
    * 
* - * string interconnect = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string interconnect = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The interconnect. */ @java.lang.Override @@ -347,31 +409,33 @@ public java.lang.String getInterconnect() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); interconnect_ = s; return s; } } /** + * + * *
    * Required. The canonical name of underlying Interconnect object that this
    * attachment's traffic will traverse through. The name is in the form of
    * `projects/{project}/locations/{location}/zones/{zone}/interconnects/{interconnect}`.
    * 
* - * string interconnect = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string interconnect = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for interconnect. */ @java.lang.Override - public com.google.protobuf.ByteString - getInterconnectBytes() { + public com.google.protobuf.ByteString getInterconnectBytes() { java.lang.Object ref = interconnect_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); interconnect_ = b; return b; } else { @@ -380,15 +444,21 @@ public java.lang.String getInterconnect() { } public static final int NETWORK_FIELD_NUMBER = 11; + @SuppressWarnings("serial") private volatile java.lang.Object network_ = ""; /** + * + * *
    * Optional. The canonical Network name in the form of
    * `projects/{project}/locations/{location}/zones/{zone}/networks/{network}`.
    * 
* - * string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The network. */ @java.lang.Override @@ -397,30 +467,32 @@ 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 canonical Network name in the form of
    * `projects/{project}/locations/{location}/zones/{zone}/networks/{network}`.
    * 
* - * string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -431,11 +503,14 @@ public java.lang.String getNetwork() { public static final int VLAN_ID_FIELD_NUMBER = 8; private int vlanId_ = 0; /** + * + * *
    * Required. VLAN id provided by user. Must be site-wise unique.
    * 
* * int32 vlan_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The vlanId. */ @java.lang.Override @@ -446,6 +521,8 @@ public int getVlanId() { public static final int MTU_FIELD_NUMBER = 9; private int mtu_ = 0; /** + * + * *
    * IP (L3) MTU value of the virtual edge cloud.
    * Valid values are: 1500 and 9000.
@@ -453,6 +530,7 @@ public int getVlanId() {
    * 
* * int32 mtu = 9; + * * @return The mtu. */ @java.lang.Override @@ -463,30 +541,44 @@ public int getMtu() { public static final int STATE_FIELD_NUMBER = 10; private int state_ = 0; /** + * + * *
    * Output only. Current stage of the resource to the device by config push.
    * 
* - * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. Current stage of the resource to the device by config push.
    * 
* - * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.edgenetwork.v1.ResourceState getState() { - com.google.cloud.edgenetwork.v1.ResourceState result = com.google.cloud.edgenetwork.v1.ResourceState.forNumber(state_); + @java.lang.Override + public com.google.cloud.edgenetwork.v1.ResourceState getState() { + com.google.cloud.edgenetwork.v1.ResourceState result = + com.google.cloud.edgenetwork.v1.ResourceState.forNumber(state_); return result == null ? com.google.cloud.edgenetwork.v1.ResourceState.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -498,8 +590,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -509,12 +600,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_); } @@ -546,22 +633,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, 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(4, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, 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(4, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); @@ -570,16 +655,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, interconnect_); } if (vlanId_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(8, vlanId_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, vlanId_); } if (mtu_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(9, mtu_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, mtu_); } if (state_ != com.google.cloud.edgenetwork.v1.ResourceState.STATE_UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, network_); @@ -592,37 +674,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.edgenetwork.v1.InterconnectAttachment)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.InterconnectAttachment other = (com.google.cloud.edgenetwork.v1.InterconnectAttachment) obj; + com.google.cloud.edgenetwork.v1.InterconnectAttachment other = + (com.google.cloud.edgenetwork.v1.InterconnectAttachment) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) 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 (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getInterconnect() - .equals(other.getInterconnect())) return false; - if (!getNetwork() - .equals(other.getNetwork())) return false; - if (getVlanId() - != other.getVlanId()) return false; - if (getMtu() - != other.getMtu()) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getInterconnect().equals(other.getInterconnect())) return false; + if (!getNetwork().equals(other.getNetwork())) return false; + if (getVlanId() != other.getVlanId()) return false; + if (getMtu() != other.getMtu()) return false; if (state_ != other.state_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -667,111 +741,117 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.InterconnectAttachment parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.InterconnectAttachment parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.InterconnectAttachment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.InterconnectAttachment parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.InterconnectAttachment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.InterconnectAttachment parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.InterconnectAttachment parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.InterconnectAttachment parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.InterconnectAttachment parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.InterconnectAttachment parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.InterconnectAttachment parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.InterconnectAttachment parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.InterconnectAttachment parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.InterconnectAttachment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.edgenetwork.v1.InterconnectAttachment prototype) { + + public static Builder newBuilder( + com.google.cloud.edgenetwork.v1.InterconnectAttachment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 describing InterconnectAttachment object
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.InterconnectAttachment} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.InterconnectAttachment) com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -781,10 +861,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 4: 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.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { @@ -792,16 +872,18 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi case 4: 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.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.InterconnectAttachment.class, com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder.class); + com.google.cloud.edgenetwork.v1.InterconnectAttachment.class, + com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.InterconnectAttachment.newBuilder() @@ -809,18 +891,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCreateTimeFieldBuilder(); getUpdateTimeFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -847,9 +929,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_descriptor; } @java.lang.Override @@ -868,8 +950,11 @@ public com.google.cloud.edgenetwork.v1.InterconnectAttachment build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.InterconnectAttachment buildPartial() { - com.google.cloud.edgenetwork.v1.InterconnectAttachment result = new com.google.cloud.edgenetwork.v1.InterconnectAttachment(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.InterconnectAttachment result = + new com.google.cloud.edgenetwork.v1.InterconnectAttachment(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -881,15 +966,11 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.InterconnectAttachmen } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { @@ -921,38 +1002,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.InterconnectAttachmen public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.InterconnectAttachment) { - return mergeFrom((com.google.cloud.edgenetwork.v1.InterconnectAttachment)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.InterconnectAttachment) other); } else { super.mergeFrom(other); return this; @@ -960,7 +1042,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.InterconnectAttachment other) { - if (other == com.google.cloud.edgenetwork.v1.InterconnectAttachment.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.InterconnectAttachment.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -972,8 +1055,7 @@ public Builder mergeFrom(com.google.cloud.edgenetwork.v1.InterconnectAttachment if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); bitField0_ |= 0x00000008; if (!other.getDescription().isEmpty()) { description_ = other.description_; @@ -1025,70 +1107,79 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - interconnect_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 64: { - vlanId_ = input.readInt32(); - bitField0_ |= 0x00000080; - break; - } // case 64 - case 72: { - mtu_ = input.readInt32(); - bitField0_ |= 0x00000100; - break; - } // case 72 - case 80: { - state_ = input.readEnum(); - bitField0_ |= 0x00000200; - break; - } // case 80 - case 90: { - network_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 90 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + interconnect_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 64: + { + vlanId_ = input.readInt32(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 72: + { + mtu_ = input.readInt32(); + bitField0_ |= 0x00000100; + break; + } // case 72 + case 80: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 90: + { + network_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 90 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1098,22 +1189,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The canonical resource name of the interconnect attachment.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -1122,20 +1216,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The canonical resource name of the interconnect attachment.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -1143,28 +1238,35 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The canonical resource name of the interconnect attachment.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The canonical resource name of the interconnect attachment.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1174,17 +1276,21 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The canonical resource name of the interconnect attachment.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1194,39 +1300,58 @@ public Builder setNameBytes( 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 when the interconnect attachment was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The time when the interconnect attachment was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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 when the interconnect attachment was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1242,14 +1367,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the interconnect attachment was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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(); } else { @@ -1260,17 +1388,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time when the interconnect attachment was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1285,11 +1417,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the interconnect attachment was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1302,11 +1438,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time when the interconnect attachment was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000002; @@ -1314,36 +1454,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the interconnect attachment was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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 when the interconnect attachment was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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_; @@ -1351,39 +1503,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 when the interconnect attachment was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The time when the interconnect attachment was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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 when the interconnect attachment was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1399,14 +1570,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the interconnect attachment was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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(); } else { @@ -1417,17 +1591,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time when the interconnect attachment was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1442,11 +1620,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the interconnect attachment was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1459,11 +1641,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time when the interconnect attachment was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1471,56 +1657,66 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the interconnect attachment was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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 when the interconnect attachment was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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() { 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(); @@ -1529,10 +1725,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels associated with this resource.
      * 
@@ -1540,20 +1739,21 @@ public int getLabelsCount() { * map<string, string> labels = 4; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Labels associated with this resource.
      * 
@@ -1565,6 +1765,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels associated with this resource.
      * 
@@ -1572,17 +1774,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Labels associated with this resource.
      * 
@@ -1590,92 +1794,96 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000008); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Labels associated with this resource.
      * 
* * map<string, string> labels = 4; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000008; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Labels associated with this resource.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000008; return this; } /** + * + * *
      * Labels associated with this resource.
      * 
* * map<string, string> labels = 4; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000008; return this; } private java.lang.Object description_ = ""; /** + * + * *
      * Optional. A free-text description of the resource. Max length 1024
      * characters.
      * 
* * string description = 5 [(.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; @@ -1684,21 +1892,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. A free-text description of the resource. Max length 1024
      * characters.
      * 
* * string description = 5 [(.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 { @@ -1706,30 +1915,37 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. A free-text description of the resource. Max length 1024
      * characters.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. A free-text description of the resource. Max length 1024
      * characters.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1739,18 +1955,22 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. A free-text description of the resource. Max length 1024
      * characters.
      * 
* * string description = 5 [(.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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000010; @@ -1760,20 +1980,24 @@ public Builder setDescriptionBytes( private java.lang.Object interconnect_ = ""; /** + * + * *
      * Required. The canonical name of underlying Interconnect object that this
      * attachment's traffic will traverse through. The name is in the form of
      * `projects/{project}/locations/{location}/zones/{zone}/interconnects/{interconnect}`.
      * 
* - * string interconnect = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string interconnect = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The interconnect. */ public java.lang.String getInterconnect() { java.lang.Object ref = interconnect_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); interconnect_ = s; return s; @@ -1782,22 +2006,25 @@ public java.lang.String getInterconnect() { } } /** + * + * *
      * Required. The canonical name of underlying Interconnect object that this
      * attachment's traffic will traverse through. The name is in the form of
      * `projects/{project}/locations/{location}/zones/{zone}/interconnects/{interconnect}`.
      * 
* - * string interconnect = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string interconnect = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for interconnect. */ - public com.google.protobuf.ByteString - getInterconnectBytes() { + public com.google.protobuf.ByteString getInterconnectBytes() { java.lang.Object ref = interconnect_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); interconnect_ = b; return b; } else { @@ -1805,32 +2032,43 @@ public java.lang.String getInterconnect() { } } /** + * + * *
      * Required. The canonical name of underlying Interconnect object that this
      * attachment's traffic will traverse through. The name is in the form of
      * `projects/{project}/locations/{location}/zones/{zone}/interconnects/{interconnect}`.
      * 
* - * string interconnect = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string interconnect = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The interconnect to set. * @return This builder for chaining. */ - public Builder setInterconnect( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInterconnect(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } interconnect_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Required. The canonical name of underlying Interconnect object that this
      * attachment's traffic will traverse through. The name is in the form of
      * `projects/{project}/locations/{location}/zones/{zone}/interconnects/{interconnect}`.
      * 
* - * string interconnect = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string interconnect = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearInterconnect() { @@ -1840,19 +2078,25 @@ public Builder clearInterconnect() { return this; } /** + * + * *
      * Required. The canonical name of underlying Interconnect object that this
      * attachment's traffic will traverse through. The name is in the form of
      * `projects/{project}/locations/{location}/zones/{zone}/interconnects/{interconnect}`.
      * 
* - * string interconnect = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string interconnect = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for interconnect to set. * @return This builder for chaining. */ - public Builder setInterconnectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInterconnectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); interconnect_ = value; bitField0_ |= 0x00000020; @@ -1862,19 +2106,23 @@ public Builder setInterconnectBytes( private java.lang.Object network_ = ""; /** + * + * *
      * Optional. The canonical Network name in the form of
      * `projects/{project}/locations/{location}/zones/{zone}/networks/{network}`.
      * 
* - * string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -1883,21 +2131,24 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * Optional. The canonical Network name in the form of
      * `projects/{project}/locations/{location}/zones/{zone}/networks/{network}`.
      * 
* - * string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -1905,30 +2156,41 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * Optional. The canonical Network name in the form of
      * `projects/{project}/locations/{location}/zones/{zone}/networks/{network}`.
      * 
* - * string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetwork(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } network_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Optional. The canonical Network name in the form of
      * `projects/{project}/locations/{location}/zones/{zone}/networks/{network}`.
      * 
* - * string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearNetwork() { @@ -1938,18 +2200,24 @@ public Builder clearNetwork() { return this; } /** + * + * *
      * Optional. The canonical Network name in the form of
      * `projects/{project}/locations/{location}/zones/{zone}/networks/{network}`.
      * 
* - * string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); network_ = value; bitField0_ |= 0x00000040; @@ -1957,13 +2225,16 @@ public Builder setNetworkBytes( return this; } - private int vlanId_ ; + private int vlanId_; /** + * + * *
      * Required. VLAN id provided by user. Must be site-wise unique.
      * 
* * int32 vlan_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The vlanId. */ @java.lang.Override @@ -1971,11 +2242,14 @@ public int getVlanId() { return vlanId_; } /** + * + * *
      * Required. VLAN id provided by user. Must be site-wise unique.
      * 
* * int32 vlan_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The vlanId to set. * @return This builder for chaining. */ @@ -1987,11 +2261,14 @@ public Builder setVlanId(int value) { return this; } /** + * + * *
      * Required. VLAN id provided by user. Must be site-wise unique.
      * 
* * int32 vlan_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearVlanId() { @@ -2001,8 +2278,10 @@ public Builder clearVlanId() { return this; } - private int mtu_ ; + private int mtu_; /** + * + * *
      * IP (L3) MTU value of the virtual edge cloud.
      * Valid values are: 1500 and 9000.
@@ -2010,6 +2289,7 @@ public Builder clearVlanId() {
      * 
* * int32 mtu = 9; + * * @return The mtu. */ @java.lang.Override @@ -2017,6 +2297,8 @@ public int getMtu() { return mtu_; } /** + * + * *
      * IP (L3) MTU value of the virtual edge cloud.
      * Valid values are: 1500 and 9000.
@@ -2024,6 +2306,7 @@ public int getMtu() {
      * 
* * int32 mtu = 9; + * * @param value The mtu to set. * @return This builder for chaining. */ @@ -2035,6 +2318,8 @@ public Builder setMtu(int value) { return this; } /** + * + * *
      * IP (L3) MTU value of the virtual edge cloud.
      * Valid values are: 1500 and 9000.
@@ -2042,6 +2327,7 @@ public Builder setMtu(int value) {
      * 
* * int32 mtu = 9; + * * @return This builder for chaining. */ public Builder clearMtu() { @@ -2053,22 +2339,33 @@ public Builder clearMtu() { private int state_ = 0; /** + * + * *
      * Output only. Current stage of the resource to the device by config push.
      * 
* - * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. Current stage of the resource to the device by config push.
      * 
* - * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2079,24 +2376,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. Current stage of the resource to the device by config push.
      * 
* - * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.edgenetwork.v1.ResourceState getState() { - com.google.cloud.edgenetwork.v1.ResourceState result = com.google.cloud.edgenetwork.v1.ResourceState.forNumber(state_); + com.google.cloud.edgenetwork.v1.ResourceState result = + com.google.cloud.edgenetwork.v1.ResourceState.forNumber(state_); return result == null ? com.google.cloud.edgenetwork.v1.ResourceState.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Current stage of the resource to the device by config push.
      * 
* - * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -2110,11 +2418,16 @@ public Builder setState(com.google.cloud.edgenetwork.v1.ResourceState value) { return this; } /** + * + * *
      * Output only. Current stage of the resource to the device by config push.
      * 
* - * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -2123,9 +2436,9 @@ public Builder clearState() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2135,12 +2448,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.InterconnectAttachment) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.InterconnectAttachment) private static final com.google.cloud.edgenetwork.v1.InterconnectAttachment DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.InterconnectAttachment(); } @@ -2149,27 +2462,27 @@ public static com.google.cloud.edgenetwork.v1.InterconnectAttachment getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InterconnectAttachment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InterconnectAttachment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2184,6 +2497,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.InterconnectAttachment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectAttachmentName.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectAttachmentName.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectAttachmentName.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectAttachmentName.java diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectAttachmentOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectAttachmentOrBuilder.java similarity index 68% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectAttachmentOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectAttachmentOrBuilder.java index 61293579ca6b..cda01071edd3 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectAttachmentOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectAttachmentOrBuilder.java @@ -1,88 +1,133 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/resources.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface InterconnectAttachmentOrBuilder extends +public interface InterconnectAttachmentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.InterconnectAttachment) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The canonical resource name of the interconnect attachment.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The canonical resource name of the interconnect attachment.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. The time when the interconnect attachment was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time when the interconnect attachment was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time when the interconnect attachment was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time when the interconnect attachment was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The time when the interconnect attachment was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The time when the interconnect attachment was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Labels associated with this resource.
    * 
@@ -91,30 +136,31 @@ public interface InterconnectAttachmentOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Labels associated with this resource.
    * 
* * map<string, string> labels = 4; */ - 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(); /** + * + * *
    * Labels associated with this resource.
    * 
* * map<string, string> labels = 4; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Labels associated with this resource.
    * 
@@ -122,99 +168,128 @@ boolean containsLabels( * map<string, string> labels = 4; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Labels associated with this resource.
    * 
* * map<string, string> labels = 4; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Optional. A free-text description of the resource. Max length 1024
    * characters.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. A free-text description of the resource. Max length 1024
    * characters.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Required. The canonical name of underlying Interconnect object that this
    * attachment's traffic will traverse through. The name is in the form of
    * `projects/{project}/locations/{location}/zones/{zone}/interconnects/{interconnect}`.
    * 
* - * string interconnect = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string interconnect = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The interconnect. */ java.lang.String getInterconnect(); /** + * + * *
    * Required. The canonical name of underlying Interconnect object that this
    * attachment's traffic will traverse through. The name is in the form of
    * `projects/{project}/locations/{location}/zones/{zone}/interconnects/{interconnect}`.
    * 
* - * string interconnect = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string interconnect = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for interconnect. */ - com.google.protobuf.ByteString - getInterconnectBytes(); + com.google.protobuf.ByteString getInterconnectBytes(); /** + * + * *
    * Optional. The canonical Network name in the form of
    * `projects/{project}/locations/{location}/zones/{zone}/networks/{network}`.
    * 
* - * string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The network. */ java.lang.String getNetwork(); /** + * + * *
    * Optional. The canonical Network name in the form of
    * `projects/{project}/locations/{location}/zones/{zone}/networks/{network}`.
    * 
* - * string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string network = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for network. */ - com.google.protobuf.ByteString - getNetworkBytes(); + com.google.protobuf.ByteString getNetworkBytes(); /** + * + * *
    * Required. VLAN id provided by user. Must be site-wise unique.
    * 
* * int32 vlan_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The vlanId. */ int getVlanId(); /** + * + * *
    * IP (L3) MTU value of the virtual edge cloud.
    * Valid values are: 1500 and 9000.
@@ -222,25 +297,36 @@ java.lang.String getLabelsOrThrow(
    * 
* * int32 mtu = 9; + * * @return The mtu. */ int getMtu(); /** + * + * *
    * Output only. Current stage of the resource to the device by config push.
    * 
* - * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. Current stage of the resource to the device by config push.
    * 
* - * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.edgenetwork.v1.ResourceState getState(); diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectDiagnostics.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectDiagnostics.java similarity index 69% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectDiagnostics.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectDiagnostics.java index 865d559d50de..cb46c7ff2a74 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectDiagnostics.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectDiagnostics.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/resources.proto @@ -5,6 +20,8 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Diagnostics information about interconnect, contains detailed and current
  * technical information about Google's side of the connection.
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.edgenetwork.v1.InterconnectDiagnostics}
  */
-public final class InterconnectDiagnostics extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class InterconnectDiagnostics extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.InterconnectDiagnostics)
     InterconnectDiagnosticsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use InterconnectDiagnostics.newBuilder() to construct.
   private InterconnectDiagnostics(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private InterconnectDiagnostics() {
     macAddress_ = "";
     linkLayerAddresses_ = java.util.Collections.emptyList();
@@ -29,167 +47,224 @@ private InterconnectDiagnostics() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new InterconnectDiagnostics();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.edgenetwork.v1.ResourcesProto
+        .internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_fieldAccessorTable
+    return com.google.cloud.edgenetwork.v1.ResourcesProto
+        .internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.class, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.Builder.class);
+            com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.class,
+            com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.Builder.class);
   }
 
-  public interface LinkStatusOrBuilder extends
+  public interface LinkStatusOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The unique ID for this link assigned during turn up by Google.
      * 
* * string circuit_id = 1; + * * @return The circuitId. */ java.lang.String getCircuitId(); /** + * + * *
      * The unique ID for this link assigned during turn up by Google.
      * 
* * string circuit_id = 1; + * * @return The bytes for circuitId. */ - com.google.protobuf.ByteString - getCircuitIdBytes(); + com.google.protobuf.ByteString getCircuitIdBytes(); /** + * + * *
      * Describing the state of a LACP link.
      * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * + * * @return Whether the lacpStatus field is set. */ boolean hasLacpStatus(); /** + * + * *
      * Describing the state of a LACP link.
      * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * + * * @return The lacpStatus. */ com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus getLacpStatus(); /** + * + * *
      * Describing the state of a LACP link.
      * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * */ - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatusOrBuilder getLacpStatusOrBuilder(); + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatusOrBuilder + getLacpStatusOrBuilder(); /** + * + * *
      * A list of LinkLLDPStatus objects, used to describe LLDP status of each
      * peer for each link on the Interconnect.
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ - java.util.List + java.util.List getLldpStatusesList(); /** + * + * *
      * A list of LinkLLDPStatus objects, used to describe LLDP status of each
      * peer for each link on the Interconnect.
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus getLldpStatuses(int index); + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus getLldpStatuses( + int index); /** + * + * *
      * A list of LinkLLDPStatus objects, used to describe LLDP status of each
      * peer for each link on the Interconnect.
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ int getLldpStatusesCount(); /** + * + * *
      * A list of LinkLLDPStatus objects, used to describe LLDP status of each
      * peer for each link on the Interconnect.
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatusOrBuilder> getLldpStatusesOrBuilderList(); /** + * + * *
      * A list of LinkLLDPStatus objects, used to describe LLDP status of each
      * peer for each link on the Interconnect.
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatusOrBuilder getLldpStatusesOrBuilder( - int index); + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatusOrBuilder + getLldpStatusesOrBuilder(int index); /** + * + * *
      * Packet counts specific statistics for this link.
      * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * + * * @return Whether the packetCounts field is set. */ boolean hasPacketCounts(); /** + * + * *
      * Packet counts specific statistics for this link.
      * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * + * * @return The packetCounts. */ com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts getPacketCounts(); /** + * + * *
      * Packet counts specific statistics for this link.
      * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * */ - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCountsOrBuilder getPacketCountsOrBuilder(); + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCountsOrBuilder + getPacketCountsOrBuilder(); } /** + * + * *
    * Describing the status for each link on the Interconnect.
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus} */ - public static final class LinkStatus extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class LinkStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus) LinkStatusOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LinkStatus.newBuilder() to construct. private LinkStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LinkStatus() { circuitId_ = ""; lldpStatuses_ = java.util.Collections.emptyList(); @@ -197,34 +272,39 @@ private LinkStatus() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LinkStatus(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkStatus_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.class, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.Builder.class); + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.class, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.Builder.class); } private int bitField0_; public static final int CIRCUIT_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object circuitId_ = ""; /** + * + * *
      * The unique ID for this link assigned during turn up by Google.
      * 
* * string circuit_id = 1; + * * @return The circuitId. */ @java.lang.Override @@ -233,29 +313,29 @@ public java.lang.String getCircuitId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); circuitId_ = s; return s; } } /** + * + * *
      * The unique ID for this link assigned during turn up by Google.
      * 
* * string circuit_id = 1; + * * @return The bytes for circuitId. */ @java.lang.Override - public com.google.protobuf.ByteString - getCircuitIdBytes() { + public com.google.protobuf.ByteString getCircuitIdBytes() { java.lang.Object ref = circuitId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); circuitId_ = b; return b; } else { @@ -266,11 +346,15 @@ public java.lang.String getCircuitId() { public static final int LACP_STATUS_FIELD_NUMBER = 2; private com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacpStatus_; /** + * + * *
      * Describing the state of a LACP link.
      * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * + * * @return Whether the lacpStatus field is set. */ @java.lang.Override @@ -278,103 +362,147 @@ public boolean hasLacpStatus() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Describing the state of a LACP link.
      * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * + * * @return The lacpStatus. */ @java.lang.Override public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus getLacpStatus() { - return lacpStatus_ == null ? com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.getDefaultInstance() : lacpStatus_; + return lacpStatus_ == null + ? com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus + .getDefaultInstance() + : lacpStatus_; } /** + * + * *
      * Describing the state of a LACP link.
      * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * */ @java.lang.Override - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatusOrBuilder getLacpStatusOrBuilder() { - return lacpStatus_ == null ? com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.getDefaultInstance() : lacpStatus_; + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatusOrBuilder + getLacpStatusOrBuilder() { + return lacpStatus_ == null + ? com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus + .getDefaultInstance() + : lacpStatus_; } public static final int LLDP_STATUSES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") - private java.util.List lldpStatuses_; + private java.util.List + lldpStatuses_; /** + * + * *
      * A list of LinkLLDPStatus objects, used to describe LLDP status of each
      * peer for each link on the Interconnect.
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ @java.lang.Override - public java.util.List getLldpStatusesList() { + public java.util.List + getLldpStatusesList() { return lldpStatuses_; } /** + * + * *
      * A list of LinkLLDPStatus objects, used to describe LLDP status of each
      * peer for each link on the Interconnect.
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatusOrBuilder> getLldpStatusesOrBuilderList() { return lldpStatuses_; } /** + * + * *
      * A list of LinkLLDPStatus objects, used to describe LLDP status of each
      * peer for each link on the Interconnect.
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ @java.lang.Override public int getLldpStatusesCount() { return lldpStatuses_.size(); } /** + * + * *
      * A list of LinkLLDPStatus objects, used to describe LLDP status of each
      * peer for each link on the Interconnect.
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ @java.lang.Override - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus getLldpStatuses(int index) { + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus getLldpStatuses( + int index) { return lldpStatuses_.get(index); } /** + * + * *
      * A list of LinkLLDPStatus objects, used to describe LLDP status of each
      * peer for each link on the Interconnect.
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ @java.lang.Override - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatusOrBuilder getLldpStatusesOrBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatusOrBuilder + getLldpStatusesOrBuilder(int index) { return lldpStatuses_.get(index); } public static final int PACKET_COUNTS_FIELD_NUMBER = 4; private com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packetCounts_; /** + * + * *
      * Packet counts specific statistics for this link.
      * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * + * * @return Whether the packetCounts field is set. */ @java.lang.Override @@ -382,30 +510,45 @@ public boolean hasPacketCounts() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Packet counts specific statistics for this link.
      * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * + * * @return The packetCounts. */ @java.lang.Override public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts getPacketCounts() { - return packetCounts_ == null ? com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts.getDefaultInstance() : packetCounts_; + return packetCounts_ == null + ? com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts + .getDefaultInstance() + : packetCounts_; } /** + * + * *
      * Packet counts specific statistics for this link.
      * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * */ @java.lang.Override - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCountsOrBuilder getPacketCountsOrBuilder() { - return packetCounts_ == null ? com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts.getDefaultInstance() : packetCounts_; + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCountsOrBuilder + getPacketCountsOrBuilder() { + return packetCounts_ == null + ? com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts + .getDefaultInstance() + : packetCounts_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -417,8 +560,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(circuitId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, circuitId_); } @@ -444,16 +586,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, circuitId_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getLacpStatus()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getLacpStatus()); } for (int i = 0; i < lldpStatuses_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, lldpStatuses_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, lldpStatuses_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getPacketCounts()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPacketCounts()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -463,26 +602,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.edgenetwork.v1.InterconnectDiagnostics.LinkStatus)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus other = (com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus) obj; + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus other = + (com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus) obj; - if (!getCircuitId() - .equals(other.getCircuitId())) return false; + if (!getCircuitId().equals(other.getCircuitId())) return false; if (hasLacpStatus() != other.hasLacpStatus()) return false; if (hasLacpStatus()) { - if (!getLacpStatus() - .equals(other.getLacpStatus())) return false; + if (!getLacpStatus().equals(other.getLacpStatus())) return false; } - if (!getLldpStatusesList() - .equals(other.getLldpStatusesList())) return false; + if (!getLldpStatusesList().equals(other.getLldpStatusesList())) return false; if (hasPacketCounts() != other.hasPacketCounts()) return false; if (hasPacketCounts()) { - if (!getPacketCounts() - .equals(other.getPacketCounts())) return false; + if (!getPacketCounts().equals(other.getPacketCounts())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -515,89 +651,95 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus prototype) { + + public static Builder newBuilder( + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -607,47 +749,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Describing the status for each link on the Interconnect.
      * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus) com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkStatus_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.class, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.Builder.class); + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.class, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.Builder.class); } - // Construct using com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.newBuilder() + // Construct using + // com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.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) { getLacpStatusFieldBuilder(); getLldpStatusesFieldBuilder(); getPacketCountsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -674,14 +822,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkStatus_descriptor; } @java.lang.Override - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus getDefaultInstanceForType() { - return com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.getDefaultInstance(); + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus + getDefaultInstanceForType() { + return com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus + .getDefaultInstance(); } @java.lang.Override @@ -695,14 +845,18 @@ public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus build( @java.lang.Override public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus buildPartial() { - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus result = new com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus(this); + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus result = + new com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus result) { + private void buildPartialRepeatedFields( + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus result) { if (lldpStatusesBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { lldpStatuses_ = java.util.Collections.unmodifiableList(lldpStatuses_); @@ -714,22 +868,21 @@ private void buildPartialRepeatedFields(com.google.cloud.edgenetwork.v1.Intercon } } - private void buildPartial0(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus result) { + private void buildPartial0( + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.circuitId_ = circuitId_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.lacpStatus_ = lacpStatusBuilder_ == null - ? lacpStatus_ - : lacpStatusBuilder_.build(); + result.lacpStatus_ = + lacpStatusBuilder_ == null ? lacpStatus_ : lacpStatusBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.packetCounts_ = packetCountsBuilder_ == null - ? packetCounts_ - : packetCountsBuilder_.build(); + result.packetCounts_ = + packetCountsBuilder_ == null ? packetCounts_ : packetCountsBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -739,46 +892,53 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.InterconnectDiagnosti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.edgenetwork.v1.InterconnectDiagnostics.LinkStatus) { - return mergeFrom((com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus)other); + return mergeFrom( + (com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus other) { - if (other == com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus other) { + if (other + == com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus + .getDefaultInstance()) return this; if (!other.getCircuitId().isEmpty()) { circuitId_ = other.circuitId_; bitField0_ |= 0x00000001; @@ -805,9 +965,10 @@ public Builder mergeFrom(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics lldpStatusesBuilder_ = null; lldpStatuses_ = other.lldpStatuses_; bitField0_ = (bitField0_ & ~0x00000004); - lldpStatusesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLldpStatusesFieldBuilder() : null; + lldpStatusesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getLldpStatusesFieldBuilder() + : null; } else { lldpStatusesBuilder_.addAllMessages(other.lldpStatuses_); } @@ -842,44 +1003,46 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - circuitId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getLacpStatusFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus m = - input.readMessage( - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.parser(), - extensionRegistry); - if (lldpStatusesBuilder_ == null) { - ensureLldpStatusesIsMutable(); - lldpStatuses_.add(m); - } else { - lldpStatusesBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: { - input.readMessage( - getPacketCountsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + circuitId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getLacpStatusFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus m = + input.readMessage( + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus + .parser(), + extensionRegistry); + if (lldpStatusesBuilder_ == null) { + ensureLldpStatusesIsMutable(); + lldpStatuses_.add(m); + } else { + lldpStatusesBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: + { + input.readMessage(getPacketCountsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -889,22 +1052,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object circuitId_ = ""; /** + * + * *
        * The unique ID for this link assigned during turn up by Google.
        * 
* * string circuit_id = 1; + * * @return The circuitId. */ public java.lang.String getCircuitId() { java.lang.Object ref = circuitId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); circuitId_ = s; return s; @@ -913,20 +1079,21 @@ public java.lang.String getCircuitId() { } } /** + * + * *
        * The unique ID for this link assigned during turn up by Google.
        * 
* * string circuit_id = 1; + * * @return The bytes for circuitId. */ - public com.google.protobuf.ByteString - getCircuitIdBytes() { + public com.google.protobuf.ByteString getCircuitIdBytes() { java.lang.Object ref = circuitId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); circuitId_ = b; return b; } else { @@ -934,28 +1101,35 @@ public java.lang.String getCircuitId() { } } /** + * + * *
        * The unique ID for this link assigned during turn up by Google.
        * 
* * string circuit_id = 1; + * * @param value The circuitId to set. * @return This builder for chaining. */ - public Builder setCircuitId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCircuitId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } circuitId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The unique ID for this link assigned during turn up by Google.
        * 
* * string circuit_id = 1; + * * @return This builder for chaining. */ public Builder clearCircuitId() { @@ -965,17 +1139,21 @@ public Builder clearCircuitId() { return this; } /** + * + * *
        * The unique ID for this link assigned during turn up by Google.
        * 
* * string circuit_id = 1; + * * @param value The bytes for circuitId to set. * @return This builder for chaining. */ - public Builder setCircuitIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCircuitIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); circuitId_ = value; bitField0_ |= 0x00000001; @@ -985,41 +1163,60 @@ public Builder setCircuitIdBytes( private com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacpStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.Builder, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatusOrBuilder> lacpStatusBuilder_; + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.Builder, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatusOrBuilder> + lacpStatusBuilder_; /** + * + * *
        * Describing the state of a LACP link.
        * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * + * * @return Whether the lacpStatus field is set. */ public boolean hasLacpStatus() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * Describing the state of a LACP link.
        * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * + * * @return The lacpStatus. */ - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus getLacpStatus() { + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus + getLacpStatus() { if (lacpStatusBuilder_ == null) { - return lacpStatus_ == null ? com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.getDefaultInstance() : lacpStatus_; + return lacpStatus_ == null + ? com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus + .getDefaultInstance() + : lacpStatus_; } else { return lacpStatusBuilder_.getMessage(); } } /** + * + * *
        * Describing the state of a LACP link.
        * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * */ - public Builder setLacpStatus(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus value) { + public Builder setLacpStatus( + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus value) { if (lacpStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1033,14 +1230,18 @@ public Builder setLacpStatus(com.google.cloud.edgenetwork.v1.InterconnectDiagnos return this; } /** + * + * *
        * Describing the state of a LACP link.
        * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * */ public Builder setLacpStatus( - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.Builder builderForValue) { + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.Builder + builderForValue) { if (lacpStatusBuilder_ == null) { lacpStatus_ = builderForValue.build(); } else { @@ -1051,17 +1252,23 @@ public Builder setLacpStatus( return this; } /** + * + * *
        * Describing the state of a LACP link.
        * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * */ - public Builder mergeLacpStatus(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus value) { + public Builder mergeLacpStatus( + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus value) { if (lacpStatusBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - lacpStatus_ != null && - lacpStatus_ != com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && lacpStatus_ != null + && lacpStatus_ + != com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus + .getDefaultInstance()) { getLacpStatusBuilder().mergeFrom(value); } else { lacpStatus_ = value; @@ -1076,11 +1283,14 @@ public Builder mergeLacpStatus(com.google.cloud.edgenetwork.v1.InterconnectDiagn return this; } /** + * + * *
        * Describing the state of a LACP link.
        * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * */ public Builder clearLacpStatus() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1093,74 +1303,102 @@ public Builder clearLacpStatus() { return this; } /** + * + * *
        * Describing the state of a LACP link.
        * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * */ - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.Builder getLacpStatusBuilder() { + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.Builder + getLacpStatusBuilder() { bitField0_ |= 0x00000002; onChanged(); return getLacpStatusFieldBuilder().getBuilder(); } /** + * + * *
        * Describing the state of a LACP link.
        * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * */ - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatusOrBuilder getLacpStatusOrBuilder() { + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatusOrBuilder + getLacpStatusOrBuilder() { if (lacpStatusBuilder_ != null) { return lacpStatusBuilder_.getMessageOrBuilder(); } else { - return lacpStatus_ == null ? - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.getDefaultInstance() : lacpStatus_; + return lacpStatus_ == null + ? com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus + .getDefaultInstance() + : lacpStatus_; } } /** + * + * *
        * Describing the state of a LACP link.
        * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus lacp_status = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.Builder, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatusOrBuilder> + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.Builder, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatusOrBuilder> getLacpStatusFieldBuilder() { if (lacpStatusBuilder_ == null) { - lacpStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.Builder, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatusOrBuilder>( - getLacpStatus(), - getParentForChildren(), - isClean()); + lacpStatusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.Builder, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatusOrBuilder>( + getLacpStatus(), getParentForChildren(), isClean()); lacpStatus_ = null; } return lacpStatusBuilder_; } - private java.util.List lldpStatuses_ = - java.util.Collections.emptyList(); + private java.util.List + lldpStatuses_ = java.util.Collections.emptyList(); + private void ensureLldpStatusesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - lldpStatuses_ = new java.util.ArrayList(lldpStatuses_); + lldpStatuses_ = + new java.util.ArrayList< + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus>( + lldpStatuses_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.Builder, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatusOrBuilder> lldpStatusesBuilder_; + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.Builder, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatusOrBuilder> + lldpStatusesBuilder_; /** + * + * *
        * A list of LinkLLDPStatus objects, used to describe LLDP status of each
        * peer for each link on the Interconnect.
        * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ - public java.util.List getLldpStatusesList() { + public java.util.List + getLldpStatusesList() { if (lldpStatusesBuilder_ == null) { return java.util.Collections.unmodifiableList(lldpStatuses_); } else { @@ -1168,12 +1406,16 @@ public java.util.List * A list of LinkLLDPStatus objects, used to describe LLDP status of each * peer for each link on the Interconnect. *
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ public int getLldpStatusesCount() { if (lldpStatusesBuilder_ == null) { @@ -1183,14 +1425,19 @@ public int getLldpStatusesCount() { } } /** + * + * *
        * A list of LinkLLDPStatus objects, used to describe LLDP status of each
        * peer for each link on the Interconnect.
        * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus getLldpStatuses(int index) { + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus getLldpStatuses( + int index) { if (lldpStatusesBuilder_ == null) { return lldpStatuses_.get(index); } else { @@ -1198,12 +1445,16 @@ public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus ge } } /** + * + * *
        * A list of LinkLLDPStatus objects, used to describe LLDP status of each
        * peer for each link on the Interconnect.
        * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ public Builder setLldpStatuses( int index, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus value) { @@ -1220,15 +1471,21 @@ public Builder setLldpStatuses( return this; } /** + * + * *
        * A list of LinkLLDPStatus objects, used to describe LLDP status of each
        * peer for each link on the Interconnect.
        * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ public Builder setLldpStatuses( - int index, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.Builder builderForValue) { + int index, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.Builder + builderForValue) { if (lldpStatusesBuilder_ == null) { ensureLldpStatusesIsMutable(); lldpStatuses_.set(index, builderForValue.build()); @@ -1239,14 +1496,19 @@ public Builder setLldpStatuses( return this; } /** + * + * *
        * A list of LinkLLDPStatus objects, used to describe LLDP status of each
        * peer for each link on the Interconnect.
        * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ - public Builder addLldpStatuses(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus value) { + public Builder addLldpStatuses( + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus value) { if (lldpStatusesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1260,12 +1522,16 @@ public Builder addLldpStatuses(com.google.cloud.edgenetwork.v1.InterconnectDiagn return this; } /** + * + * *
        * A list of LinkLLDPStatus objects, used to describe LLDP status of each
        * peer for each link on the Interconnect.
        * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ public Builder addLldpStatuses( int index, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus value) { @@ -1282,15 +1548,20 @@ public Builder addLldpStatuses( return this; } /** + * + * *
        * A list of LinkLLDPStatus objects, used to describe LLDP status of each
        * peer for each link on the Interconnect.
        * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ public Builder addLldpStatuses( - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.Builder builderForValue) { + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.Builder + builderForValue) { if (lldpStatusesBuilder_ == null) { ensureLldpStatusesIsMutable(); lldpStatuses_.add(builderForValue.build()); @@ -1301,15 +1572,21 @@ public Builder addLldpStatuses( return this; } /** + * + * *
        * A list of LinkLLDPStatus objects, used to describe LLDP status of each
        * peer for each link on the Interconnect.
        * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ public Builder addLldpStatuses( - int index, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.Builder builderForValue) { + int index, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.Builder + builderForValue) { if (lldpStatusesBuilder_ == null) { ensureLldpStatusesIsMutable(); lldpStatuses_.add(index, builderForValue.build()); @@ -1320,19 +1597,24 @@ public Builder addLldpStatuses( return this; } /** + * + * *
        * A list of LinkLLDPStatus objects, used to describe LLDP status of each
        * peer for each link on the Interconnect.
        * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ public Builder addAllLldpStatuses( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus> + values) { if (lldpStatusesBuilder_ == null) { ensureLldpStatusesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, lldpStatuses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, lldpStatuses_); onChanged(); } else { lldpStatusesBuilder_.addAllMessages(values); @@ -1340,12 +1622,16 @@ public Builder addAllLldpStatuses( return this; } /** + * + * *
        * A list of LinkLLDPStatus objects, used to describe LLDP status of each
        * peer for each link on the Interconnect.
        * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ public Builder clearLldpStatuses() { if (lldpStatusesBuilder_ == null) { @@ -1358,12 +1644,16 @@ public Builder clearLldpStatuses() { return this; } /** + * + * *
        * A list of LinkLLDPStatus objects, used to describe LLDP status of each
        * peer for each link on the Interconnect.
        * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ public Builder removeLldpStatuses(int index) { if (lldpStatusesBuilder_ == null) { @@ -1376,42 +1666,57 @@ public Builder removeLldpStatuses(int index) { return this; } /** + * + * *
        * A list of LinkLLDPStatus objects, used to describe LLDP status of each
        * peer for each link on the Interconnect.
        * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.Builder getLldpStatusesBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.Builder + getLldpStatusesBuilder(int index) { return getLldpStatusesFieldBuilder().getBuilder(index); } /** + * + * *
        * A list of LinkLLDPStatus objects, used to describe LLDP status of each
        * peer for each link on the Interconnect.
        * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatusOrBuilder getLldpStatusesOrBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatusOrBuilder + getLldpStatusesOrBuilder(int index) { if (lldpStatusesBuilder_ == null) { - return lldpStatuses_.get(index); } else { + return lldpStatuses_.get(index); + } else { return lldpStatusesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * A list of LinkLLDPStatus objects, used to describe LLDP status of each
        * peer for each link on the Interconnect.
        * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ - public java.util.List - getLldpStatusesOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatusOrBuilder> + getLldpStatusesOrBuilderList() { if (lldpStatusesBuilder_ != null) { return lldpStatusesBuilder_.getMessageOrBuilderList(); } else { @@ -1419,48 +1724,73 @@ public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatusOrB } } /** + * + * *
        * A list of LinkLLDPStatus objects, used to describe LLDP status of each
        * peer for each link on the Interconnect.
        * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.Builder addLldpStatusesBuilder() { - return getLldpStatusesFieldBuilder().addBuilder( - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.getDefaultInstance()); + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.Builder + addLldpStatusesBuilder() { + return getLldpStatusesFieldBuilder() + .addBuilder( + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus + .getDefaultInstance()); } /** + * + * *
        * A list of LinkLLDPStatus objects, used to describe LLDP status of each
        * peer for each link on the Interconnect.
        * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.Builder addLldpStatusesBuilder( - int index) { - return getLldpStatusesFieldBuilder().addBuilder( - index, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.getDefaultInstance()); + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.Builder + addLldpStatusesBuilder(int index) { + return getLldpStatusesFieldBuilder() + .addBuilder( + index, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus + .getDefaultInstance()); } /** + * + * *
        * A list of LinkLLDPStatus objects, used to describe LLDP status of each
        * peer for each link on the Interconnect.
        * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; + * */ - public java.util.List - getLldpStatusesBuilderList() { + public java.util.List< + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.Builder> + getLldpStatusesBuilderList() { return getLldpStatusesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.Builder, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatusOrBuilder> + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.Builder, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatusOrBuilder> getLldpStatusesFieldBuilder() { if (lldpStatusesBuilder_ == null) { - lldpStatusesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.Builder, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatusOrBuilder>( + lldpStatusesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.Builder, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatusOrBuilder>( lldpStatuses_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -1472,41 +1802,60 @@ public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.Bu private com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packetCounts_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts.Builder, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCountsOrBuilder> packetCountsBuilder_; + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts.Builder, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCountsOrBuilder> + packetCountsBuilder_; /** + * + * *
        * Packet counts specific statistics for this link.
        * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * + * * @return Whether the packetCounts field is set. */ public boolean hasPacketCounts() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
        * Packet counts specific statistics for this link.
        * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * + * * @return The packetCounts. */ - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts getPacketCounts() { + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts + getPacketCounts() { if (packetCountsBuilder_ == null) { - return packetCounts_ == null ? com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts.getDefaultInstance() : packetCounts_; + return packetCounts_ == null + ? com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts + .getDefaultInstance() + : packetCounts_; } else { return packetCountsBuilder_.getMessage(); } } /** + * + * *
        * Packet counts specific statistics for this link.
        * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * */ - public Builder setPacketCounts(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts value) { + public Builder setPacketCounts( + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts value) { if (packetCountsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1520,14 +1869,18 @@ public Builder setPacketCounts(com.google.cloud.edgenetwork.v1.InterconnectDiagn return this; } /** + * + * *
        * Packet counts specific statistics for this link.
        * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * */ public Builder setPacketCounts( - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts.Builder builderForValue) { + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts.Builder + builderForValue) { if (packetCountsBuilder_ == null) { packetCounts_ = builderForValue.build(); } else { @@ -1538,17 +1891,23 @@ public Builder setPacketCounts( return this; } /** + * + * *
        * Packet counts specific statistics for this link.
        * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * */ - public Builder mergePacketCounts(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts value) { + public Builder mergePacketCounts( + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts value) { if (packetCountsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - packetCounts_ != null && - packetCounts_ != com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && packetCounts_ != null + && packetCounts_ + != com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts + .getDefaultInstance()) { getPacketCountsBuilder().mergeFrom(value); } else { packetCounts_ = value; @@ -1563,11 +1922,14 @@ public Builder mergePacketCounts(com.google.cloud.edgenetwork.v1.InterconnectDia return this; } /** + * + * *
        * Packet counts specific statistics for this link.
        * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * */ public Builder clearPacketCounts() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1580,52 +1942,69 @@ public Builder clearPacketCounts() { return this; } /** + * + * *
        * Packet counts specific statistics for this link.
        * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * */ - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts.Builder getPacketCountsBuilder() { + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts.Builder + getPacketCountsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getPacketCountsFieldBuilder().getBuilder(); } /** + * + * *
        * Packet counts specific statistics for this link.
        * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * */ - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCountsOrBuilder getPacketCountsOrBuilder() { + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCountsOrBuilder + getPacketCountsOrBuilder() { if (packetCountsBuilder_ != null) { return packetCountsBuilder_.getMessageOrBuilder(); } else { - return packetCounts_ == null ? - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts.getDefaultInstance() : packetCounts_; + return packetCounts_ == null + ? com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts + .getDefaultInstance() + : packetCounts_; } } /** - *
+       *
+       *
+       * 
        * Packet counts specific statistics for this link.
        * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts packet_counts = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts.Builder, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCountsOrBuilder> + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts.Builder, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCountsOrBuilder> getPacketCountsFieldBuilder() { if (packetCountsBuilder_ == null) { - packetCountsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts.Builder, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCountsOrBuilder>( - getPacketCounts(), - getParentForChildren(), - isClean()); + packetCountsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts.Builder, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCountsOrBuilder>( + getPacketCounts(), getParentForChildren(), isClean()); packetCounts_ = null; } return packetCountsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1638,41 +2017,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus) - private static final com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus DEFAULT_INSTANCE; + private static final com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus(); } - public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus getDefaultInstance() { + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LinkStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LinkStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1684,126 +2066,151 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus getDefaultInstanceForType() { + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PacketCountsOrBuilder extends + public interface PacketCountsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The number of packets that are delivered.
      * 
* * int64 inbound_unicast = 1; + * * @return The inboundUnicast. */ long getInboundUnicast(); /** + * + * *
      * The number of inbound packets that contained errors.
      * 
* * int64 inbound_errors = 2; + * * @return The inboundErrors. */ long getInboundErrors(); /** + * + * *
      * The number of inbound packets that were chosen to be discarded even
      * though no errors had been detected to prevent their being deliverable.
      * 
* * int64 inbound_discards = 3; + * * @return The inboundDiscards. */ long getInboundDiscards(); /** + * + * *
      * The total number of packets that are requested be transmitted.
      * 
* * int64 outbound_unicast = 4; + * * @return The outboundUnicast. */ long getOutboundUnicast(); /** + * + * *
      * The number of outbound packets that could not be transmitted because of
      * errors.
      * 
* * int64 outbound_errors = 5; + * * @return The outboundErrors. */ long getOutboundErrors(); /** + * + * *
      * The number of outbound packets that were chosen to be discarded even
      * though no errors had been detected to prevent their being transmitted.
      * 
* * int64 outbound_discards = 6; + * * @return The outboundDiscards. */ long getOutboundDiscards(); } /** + * + * *
    * Containing a collection of interface-related statistics objects.
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts} */ - public static final class PacketCounts extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class PacketCounts extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts) PacketCountsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PacketCounts.newBuilder() to construct. private PacketCounts(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PacketCounts() { - } + + private PacketCounts() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PacketCounts(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_PacketCounts_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_PacketCounts_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_PacketCounts_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_PacketCounts_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts.class, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts.Builder.class); + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts.class, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts.Builder.class); } public static final int INBOUND_UNICAST_FIELD_NUMBER = 1; private long inboundUnicast_ = 0L; /** + * + * *
      * The number of packets that are delivered.
      * 
* * int64 inbound_unicast = 1; + * * @return The inboundUnicast. */ @java.lang.Override @@ -1814,11 +2221,14 @@ public long getInboundUnicast() { public static final int INBOUND_ERRORS_FIELD_NUMBER = 2; private long inboundErrors_ = 0L; /** + * + * *
      * The number of inbound packets that contained errors.
      * 
* * int64 inbound_errors = 2; + * * @return The inboundErrors. */ @java.lang.Override @@ -1829,12 +2239,15 @@ public long getInboundErrors() { public static final int INBOUND_DISCARDS_FIELD_NUMBER = 3; private long inboundDiscards_ = 0L; /** + * + * *
      * The number of inbound packets that were chosen to be discarded even
      * though no errors had been detected to prevent their being deliverable.
      * 
* * int64 inbound_discards = 3; + * * @return The inboundDiscards. */ @java.lang.Override @@ -1845,11 +2258,14 @@ public long getInboundDiscards() { public static final int OUTBOUND_UNICAST_FIELD_NUMBER = 4; private long outboundUnicast_ = 0L; /** + * + * *
      * The total number of packets that are requested be transmitted.
      * 
* * int64 outbound_unicast = 4; + * * @return The outboundUnicast. */ @java.lang.Override @@ -1860,12 +2276,15 @@ public long getOutboundUnicast() { public static final int OUTBOUND_ERRORS_FIELD_NUMBER = 5; private long outboundErrors_ = 0L; /** + * + * *
      * The number of outbound packets that could not be transmitted because of
      * errors.
      * 
* * int64 outbound_errors = 5; + * * @return The outboundErrors. */ @java.lang.Override @@ -1876,12 +2295,15 @@ public long getOutboundErrors() { public static final int OUTBOUND_DISCARDS_FIELD_NUMBER = 6; private long outboundDiscards_ = 0L; /** + * + * *
      * The number of outbound packets that were chosen to be discarded even
      * though no errors had been detected to prevent their being transmitted.
      * 
* * int64 outbound_discards = 6; + * * @return The outboundDiscards. */ @java.lang.Override @@ -1890,6 +2312,7 @@ public long getOutboundDiscards() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1901,8 +2324,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 (inboundUnicast_ != 0L) { output.writeInt64(1, inboundUnicast_); } @@ -1931,28 +2353,22 @@ public int getSerializedSize() { size = 0; if (inboundUnicast_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, inboundUnicast_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, inboundUnicast_); } if (inboundErrors_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, inboundErrors_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, inboundErrors_); } if (inboundDiscards_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, inboundDiscards_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, inboundDiscards_); } if (outboundUnicast_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, outboundUnicast_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, outboundUnicast_); } if (outboundErrors_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(5, outboundErrors_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, outboundErrors_); } if (outboundDiscards_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(6, outboundDiscards_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, outboundDiscards_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1962,25 +2378,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.edgenetwork.v1.InterconnectDiagnostics.PacketCounts)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts other = (com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts) obj; - - if (getInboundUnicast() - != other.getInboundUnicast()) return false; - if (getInboundErrors() - != other.getInboundErrors()) return false; - if (getInboundDiscards() - != other.getInboundDiscards()) return false; - if (getOutboundUnicast() - != other.getOutboundUnicast()) return false; - if (getOutboundErrors() - != other.getOutboundErrors()) return false; - if (getOutboundDiscards() - != other.getOutboundDiscards()) return false; + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts other = + (com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts) obj; + + if (getInboundUnicast() != other.getInboundUnicast()) return false; + if (getInboundErrors() != other.getInboundErrors()) return false; + if (getInboundDiscards() != other.getInboundDiscards()) return false; + if (getOutboundUnicast() != other.getOutboundUnicast()) return false; + if (getOutboundErrors() != other.getOutboundErrors()) return false; + if (getOutboundDiscards() != other.getOutboundDiscards()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1993,112 +2404,112 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + INBOUND_UNICAST_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getInboundUnicast()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInboundUnicast()); hash = (37 * hash) + INBOUND_ERRORS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getInboundErrors()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInboundErrors()); hash = (37 * hash) + INBOUND_DISCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getInboundDiscards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInboundDiscards()); hash = (37 * hash) + OUTBOUND_UNICAST_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getOutboundUnicast()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOutboundUnicast()); hash = (37 * hash) + OUTBOUND_ERRORS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getOutboundErrors()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOutboundErrors()); hash = (37 * hash) + OUTBOUND_DISCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getOutboundDiscards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOutboundDiscards()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts prototype) { + + public static Builder newBuilder( + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2108,39 +2519,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Containing a collection of interface-related statistics objects.
      * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts) com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCountsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_PacketCounts_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_PacketCounts_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_PacketCounts_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_PacketCounts_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts.class, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts.Builder.class); + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts.class, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts.Builder.class); } - // Construct using com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2155,19 +2569,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_PacketCounts_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_PacketCounts_descriptor; } @java.lang.Override - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts getDefaultInstanceForType() { - return com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts.getDefaultInstance(); + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts + getDefaultInstanceForType() { + return com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts build() { - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts result = buildPartial(); + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2176,13 +2593,17 @@ public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts buil @java.lang.Override public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts buildPartial() { - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts result = new com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts result = + new com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts result) { + private void buildPartial0( + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.inboundUnicast_ = inboundUnicast_; @@ -2208,46 +2629,53 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.InterconnectDiagnosti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.edgenetwork.v1.InterconnectDiagnostics.PacketCounts) { - return mergeFrom((com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts)other); + return mergeFrom( + (com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts other) { - if (other == com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts other) { + if (other + == com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts + .getDefaultInstance()) return this; if (other.getInboundUnicast() != 0L) { setInboundUnicast(other.getInboundUnicast()); } @@ -2292,42 +2720,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - inboundUnicast_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - inboundErrors_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - inboundDiscards_ = input.readInt64(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: { - outboundUnicast_ = input.readInt64(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - outboundErrors_ = input.readInt64(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: { - outboundDiscards_ = input.readInt64(); - bitField0_ |= 0x00000020; - break; - } // case 48 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + inboundUnicast_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + inboundErrors_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + inboundDiscards_ = input.readInt64(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + outboundUnicast_ = input.readInt64(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + outboundErrors_ = input.readInt64(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: + { + outboundDiscards_ = input.readInt64(); + bitField0_ |= 0x00000020; + break; + } // case 48 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2337,15 +2772,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long inboundUnicast_ ; + private long inboundUnicast_; /** + * + * *
        * The number of packets that are delivered.
        * 
* * int64 inbound_unicast = 1; + * * @return The inboundUnicast. */ @java.lang.Override @@ -2353,11 +2792,14 @@ public long getInboundUnicast() { return inboundUnicast_; } /** + * + * *
        * The number of packets that are delivered.
        * 
* * int64 inbound_unicast = 1; + * * @param value The inboundUnicast to set. * @return This builder for chaining. */ @@ -2369,11 +2811,14 @@ public Builder setInboundUnicast(long value) { return this; } /** + * + * *
        * The number of packets that are delivered.
        * 
* * int64 inbound_unicast = 1; + * * @return This builder for chaining. */ public Builder clearInboundUnicast() { @@ -2383,13 +2828,16 @@ public Builder clearInboundUnicast() { return this; } - private long inboundErrors_ ; + private long inboundErrors_; /** + * + * *
        * The number of inbound packets that contained errors.
        * 
* * int64 inbound_errors = 2; + * * @return The inboundErrors. */ @java.lang.Override @@ -2397,11 +2845,14 @@ public long getInboundErrors() { return inboundErrors_; } /** + * + * *
        * The number of inbound packets that contained errors.
        * 
* * int64 inbound_errors = 2; + * * @param value The inboundErrors to set. * @return This builder for chaining. */ @@ -2413,11 +2864,14 @@ public Builder setInboundErrors(long value) { return this; } /** + * + * *
        * The number of inbound packets that contained errors.
        * 
* * int64 inbound_errors = 2; + * * @return This builder for chaining. */ public Builder clearInboundErrors() { @@ -2427,14 +2881,17 @@ public Builder clearInboundErrors() { return this; } - private long inboundDiscards_ ; + private long inboundDiscards_; /** + * + * *
        * The number of inbound packets that were chosen to be discarded even
        * though no errors had been detected to prevent their being deliverable.
        * 
* * int64 inbound_discards = 3; + * * @return The inboundDiscards. */ @java.lang.Override @@ -2442,12 +2899,15 @@ public long getInboundDiscards() { return inboundDiscards_; } /** + * + * *
        * The number of inbound packets that were chosen to be discarded even
        * though no errors had been detected to prevent their being deliverable.
        * 
* * int64 inbound_discards = 3; + * * @param value The inboundDiscards to set. * @return This builder for chaining. */ @@ -2459,12 +2919,15 @@ public Builder setInboundDiscards(long value) { return this; } /** + * + * *
        * The number of inbound packets that were chosen to be discarded even
        * though no errors had been detected to prevent their being deliverable.
        * 
* * int64 inbound_discards = 3; + * * @return This builder for chaining. */ public Builder clearInboundDiscards() { @@ -2474,13 +2937,16 @@ public Builder clearInboundDiscards() { return this; } - private long outboundUnicast_ ; + private long outboundUnicast_; /** + * + * *
        * The total number of packets that are requested be transmitted.
        * 
* * int64 outbound_unicast = 4; + * * @return The outboundUnicast. */ @java.lang.Override @@ -2488,11 +2954,14 @@ public long getOutboundUnicast() { return outboundUnicast_; } /** + * + * *
        * The total number of packets that are requested be transmitted.
        * 
* * int64 outbound_unicast = 4; + * * @param value The outboundUnicast to set. * @return This builder for chaining. */ @@ -2504,11 +2973,14 @@ public Builder setOutboundUnicast(long value) { return this; } /** + * + * *
        * The total number of packets that are requested be transmitted.
        * 
* * int64 outbound_unicast = 4; + * * @return This builder for chaining. */ public Builder clearOutboundUnicast() { @@ -2518,14 +2990,17 @@ public Builder clearOutboundUnicast() { return this; } - private long outboundErrors_ ; + private long outboundErrors_; /** + * + * *
        * The number of outbound packets that could not be transmitted because of
        * errors.
        * 
* * int64 outbound_errors = 5; + * * @return The outboundErrors. */ @java.lang.Override @@ -2533,12 +3008,15 @@ public long getOutboundErrors() { return outboundErrors_; } /** + * + * *
        * The number of outbound packets that could not be transmitted because of
        * errors.
        * 
* * int64 outbound_errors = 5; + * * @param value The outboundErrors to set. * @return This builder for chaining. */ @@ -2550,12 +3028,15 @@ public Builder setOutboundErrors(long value) { return this; } /** + * + * *
        * The number of outbound packets that could not be transmitted because of
        * errors.
        * 
* * int64 outbound_errors = 5; + * * @return This builder for chaining. */ public Builder clearOutboundErrors() { @@ -2565,14 +3046,17 @@ public Builder clearOutboundErrors() { return this; } - private long outboundDiscards_ ; + private long outboundDiscards_; /** + * + * *
        * The number of outbound packets that were chosen to be discarded even
        * though no errors had been detected to prevent their being transmitted.
        * 
* * int64 outbound_discards = 6; + * * @return The outboundDiscards. */ @java.lang.Override @@ -2580,12 +3064,15 @@ public long getOutboundDiscards() { return outboundDiscards_; } /** + * + * *
        * The number of outbound packets that were chosen to be discarded even
        * though no errors had been detected to prevent their being transmitted.
        * 
* * int64 outbound_discards = 6; + * * @param value The outboundDiscards to set. * @return This builder for chaining. */ @@ -2597,12 +3084,15 @@ public Builder setOutboundDiscards(long value) { return this; } /** + * + * *
        * The number of outbound packets that were chosen to be discarded even
        * though no errors had been detected to prevent their being transmitted.
        * 
* * int64 outbound_discards = 6; + * * @return This builder for chaining. */ public Builder clearOutboundDiscards() { @@ -2611,6 +3101,7 @@ public Builder clearOutboundDiscards() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2623,41 +3114,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts) - private static final com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts DEFAULT_INSTANCE; + private static final com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts(); } - public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts getDefaultInstance() { + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PacketCounts parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PacketCounts parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2669,76 +3163,97 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts getDefaultInstanceForType() { + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface LinkLACPStatusOrBuilder extends + public interface LinkLACPStatusOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The state of a LACP link.
      * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State state = 1; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State state = 1; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
      * The state of a LACP link.
      * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State state = 1; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State state = 1; + * + * * @return The state. */ com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State getState(); /** + * + * *
      * System ID of the port on Google's side of the LACP exchange.
      * 
* * string google_system_id = 2; + * * @return The googleSystemId. */ java.lang.String getGoogleSystemId(); /** + * + * *
      * System ID of the port on Google's side of the LACP exchange.
      * 
* * string google_system_id = 2; + * * @return The bytes for googleSystemId. */ - com.google.protobuf.ByteString - getGoogleSystemIdBytes(); + com.google.protobuf.ByteString getGoogleSystemIdBytes(); /** + * + * *
      * System ID of the port on the neighbor's side of the LACP exchange.
      * 
* * string neighbor_system_id = 3; + * * @return The neighborSystemId. */ java.lang.String getNeighborSystemId(); /** + * + * *
      * System ID of the port on the neighbor's side of the LACP exchange.
      * 
* * string neighbor_system_id = 3; + * * @return The bytes for neighborSystemId. */ - com.google.protobuf.ByteString - getNeighborSystemIdBytes(); + com.google.protobuf.ByteString getNeighborSystemIdBytes(); /** + * + * *
      * A true value indicates that the participant will allow the link to be
      * used as part of the aggregate.
@@ -2746,48 +3261,58 @@ public interface LinkLACPStatusOrBuilder extends
      * 
* * bool aggregatable = 4; + * * @return The aggregatable. */ boolean getAggregatable(); /** + * + * *
      * If true, the participant is collecting incoming frames on the link,
      * otherwise false
      * 
* * bool collecting = 5; + * * @return The collecting. */ boolean getCollecting(); /** + * + * *
      * When true, the participant is distributing outgoing frames; when false,
      * distribution is disabled
      * 
* * bool distributing = 6; + * * @return The distributing. */ boolean getDistributing(); } /** + * + * *
    * Describing the status of a LACP link.
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus} */ - public static final class LinkLACPStatus extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class LinkLACPStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus) LinkLACPStatusOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LinkLACPStatus.newBuilder() to construct. private LinkLACPStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LinkLACPStatus() { state_ = 0; googleSystemId_ = ""; @@ -2796,34 +3321,39 @@ private LinkLACPStatus() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LinkLACPStatus(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLACPStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLACPStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLACPStatus_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLACPStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.class, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.Builder.class); + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.class, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.Builder.class); } /** + * + * *
      * State enum for LACP link.
      * 
* - * Protobuf enum {@code google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State} + * Protobuf enum {@code + * google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * The default state indicating state is in unknown state.
        * 
@@ -2832,6 +3362,8 @@ public enum State */ UNKNOWN(0), /** + * + * *
        * The link is configured and active within the bundle.
        * 
@@ -2840,6 +3372,8 @@ public enum State */ ACTIVE(1), /** + * + * *
        * The link is not configured within the bundle, this means the rest of
        * the object should be empty.
@@ -2852,6 +3386,8 @@ public enum State
       ;
 
       /**
+       *
+       *
        * 
        * The default state indicating state is in unknown state.
        * 
@@ -2860,6 +3396,8 @@ public enum State */ public static final int UNKNOWN_VALUE = 0; /** + * + * *
        * The link is configured and active within the bundle.
        * 
@@ -2868,6 +3406,8 @@ public enum State */ public static final int ACTIVE_VALUE = 1; /** + * + * *
        * The link is not configured within the bundle, this means the rest of
        * the object should be empty.
@@ -2877,7 +3417,6 @@ public enum State
        */
       public static final int DETACHED_VALUE = 2;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -2902,49 +3441,52 @@ public static State valueOf(int value) {
        */
       public static State forNumber(int value) {
         switch (value) {
-          case 0: return UNKNOWN;
-          case 1: return ACTIVE;
-          case 2: return DETACHED;
-          default: return null;
+          case 0:
+            return UNKNOWN;
+          case 1:
+            return ACTIVE;
+          case 2:
+            return DETACHED;
+          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.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus
+            .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;
@@ -2964,38 +3506,57 @@ private State(int value) {
     public static final int STATE_FIELD_NUMBER = 1;
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * The state of a LACP link.
      * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State state = 1; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.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_; } /** + * + * *
      * The state of a LACP link.
      * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State state = 1; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State state = 1; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State getState() { - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State result = com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State.forNumber(state_); - return result == null ? com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State getState() { + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State result = + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State.forNumber( + state_); + return result == null + ? com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State + .UNRECOGNIZED + : result; } public static final int GOOGLE_SYSTEM_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object googleSystemId_ = ""; /** + * + * *
      * System ID of the port on Google's side of the LACP exchange.
      * 
* * string google_system_id = 2; + * * @return The googleSystemId. */ @java.lang.Override @@ -3004,29 +3565,29 @@ public java.lang.String getGoogleSystemId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); googleSystemId_ = s; return s; } } /** + * + * *
      * System ID of the port on Google's side of the LACP exchange.
      * 
* * string google_system_id = 2; + * * @return The bytes for googleSystemId. */ @java.lang.Override - public com.google.protobuf.ByteString - getGoogleSystemIdBytes() { + public com.google.protobuf.ByteString getGoogleSystemIdBytes() { java.lang.Object ref = googleSystemId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); googleSystemId_ = b; return b; } else { @@ -3035,14 +3596,18 @@ public java.lang.String getGoogleSystemId() { } public static final int NEIGHBOR_SYSTEM_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object neighborSystemId_ = ""; /** + * + * *
      * System ID of the port on the neighbor's side of the LACP exchange.
      * 
* * string neighbor_system_id = 3; + * * @return The neighborSystemId. */ @java.lang.Override @@ -3051,29 +3616,29 @@ public java.lang.String getNeighborSystemId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); neighborSystemId_ = s; return s; } } /** + * + * *
      * System ID of the port on the neighbor's side of the LACP exchange.
      * 
* * string neighbor_system_id = 3; + * * @return The bytes for neighborSystemId. */ @java.lang.Override - public com.google.protobuf.ByteString - getNeighborSystemIdBytes() { + public com.google.protobuf.ByteString getNeighborSystemIdBytes() { java.lang.Object ref = neighborSystemId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); neighborSystemId_ = b; return b; } else { @@ -3084,6 +3649,8 @@ public java.lang.String getNeighborSystemId() { public static final int AGGREGATABLE_FIELD_NUMBER = 4; private boolean aggregatable_ = false; /** + * + * *
      * A true value indicates that the participant will allow the link to be
      * used as part of the aggregate.
@@ -3091,6 +3658,7 @@ public java.lang.String getNeighborSystemId() {
      * 
* * bool aggregatable = 4; + * * @return The aggregatable. */ @java.lang.Override @@ -3101,12 +3669,15 @@ public boolean getAggregatable() { public static final int COLLECTING_FIELD_NUMBER = 5; private boolean collecting_ = false; /** + * + * *
      * If true, the participant is collecting incoming frames on the link,
      * otherwise false
      * 
* * bool collecting = 5; + * * @return The collecting. */ @java.lang.Override @@ -3117,12 +3688,15 @@ public boolean getCollecting() { public static final int DISTRIBUTING_FIELD_NUMBER = 6; private boolean distributing_ = false; /** + * + * *
      * When true, the participant is distributing outgoing frames; when false,
      * distribution is disabled
      * 
* * bool distributing = 6; + * * @return The distributing. */ @java.lang.Override @@ -3131,6 +3705,7 @@ public boolean getDistributing() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3142,9 +3717,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (state_ != com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State.UNKNOWN.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (state_ + != com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State.UNKNOWN + .getNumber()) { output.writeEnum(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(googleSystemId_)) { @@ -3171,9 +3747,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (state_ != com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, state_); + if (state_ + != com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State.UNKNOWN + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(googleSystemId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, googleSystemId_); @@ -3182,16 +3759,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, neighborSystemId_); } if (aggregatable_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, aggregatable_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, aggregatable_); } if (collecting_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, collecting_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, collecting_); } if (distributing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, distributing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, distributing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3201,24 +3775,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.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus)) { + if (!(obj + instanceof com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus other = (com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus) obj; + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus other = + (com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus) obj; if (state_ != other.state_) return false; - if (!getGoogleSystemId() - .equals(other.getGoogleSystemId())) return false; - if (!getNeighborSystemId() - .equals(other.getNeighborSystemId())) return false; - if (getAggregatable() - != other.getAggregatable()) return false; - if (getCollecting() - != other.getCollecting()) return false; - if (getDistributing() - != other.getDistributing()) return false; + if (!getGoogleSystemId().equals(other.getGoogleSystemId())) return false; + if (!getNeighborSystemId().equals(other.getNeighborSystemId())) return false; + if (getAggregatable() != other.getAggregatable()) return false; + if (getCollecting() != other.getCollecting()) return false; + if (getDistributing() != other.getDistributing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3237,103 +3808,106 @@ public int hashCode() { hash = (37 * hash) + NEIGHBOR_SYSTEM_ID_FIELD_NUMBER; hash = (53 * hash) + getNeighborSystemId().hashCode(); hash = (37 * hash) + AGGREGATABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAggregatable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAggregatable()); hash = (37 * hash) + COLLECTING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCollecting()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCollecting()); hash = (37 * hash) + DISTRIBUTING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDistributing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDistributing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus prototype) { + + public static Builder newBuilder( + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3343,39 +3917,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Describing the status of a LACP link.
      * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus) com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLACPStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLACPStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLACPStatus_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLACPStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.class, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.Builder.class); + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.class, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.Builder + .class); } - // Construct using com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3390,19 +3968,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLACPStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLACPStatus_descriptor; } @java.lang.Override - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus getDefaultInstanceForType() { - return com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.getDefaultInstance(); + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus + getDefaultInstanceForType() { + return com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus build() { - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus result = buildPartial(); + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3411,13 +3992,17 @@ public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus bu @java.lang.Override public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus buildPartial() { - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus result = new com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus result = + new com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus result) { + private void buildPartial0( + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.state_ = state_; @@ -3443,46 +4028,54 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.InterconnectDiagnosti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus) { - return mergeFrom((com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus)other); + if (other + instanceof com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus) { + return mergeFrom( + (com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus other) { - if (other == com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus other) { + if (other + == com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus + .getDefaultInstance()) return this; if (other.state_ != 0) { setStateValue(other.getStateValue()); } @@ -3531,42 +4124,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - state_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - googleSystemId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - neighborSystemId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - aggregatable_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - collecting_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: { - distributing_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + googleSystemId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + neighborSystemId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + aggregatable_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + collecting_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: + { + distributing_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3576,26 +4176,36 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int state_ = 0; /** + * + * *
        * The state of a LACP link.
        * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State state = 1; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.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_; } /** + * + * *
        * The state of a LACP link.
        * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State state = 1; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State state = 1; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3606,28 +4216,43 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
        * The state of a LACP link.
        * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State state = 1; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State state = 1; + * + * * @return The state. */ @java.lang.Override - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State getState() { - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State result = com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State.forNumber(state_); - return result == null ? com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State.UNRECOGNIZED : result; + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State + getState() { + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State result = + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State.forNumber( + state_); + return result == null + ? com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State + .UNRECOGNIZED + : result; } /** + * + * *
        * The state of a LACP link.
        * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State state = 1; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State state = 1; + * + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State value) { + public Builder setState( + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State value) { if (value == null) { throw new NullPointerException(); } @@ -3637,11 +4262,15 @@ public Builder setState(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics. return this; } /** + * + * *
        * The state of a LACP link.
        * 
* - * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State state = 1; + * .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State state = 1; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -3653,18 +4282,20 @@ public Builder clearState() { private java.lang.Object googleSystemId_ = ""; /** + * + * *
        * System ID of the port on Google's side of the LACP exchange.
        * 
* * string google_system_id = 2; + * * @return The googleSystemId. */ public java.lang.String getGoogleSystemId() { java.lang.Object ref = googleSystemId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); googleSystemId_ = s; return s; @@ -3673,20 +4304,21 @@ public java.lang.String getGoogleSystemId() { } } /** + * + * *
        * System ID of the port on Google's side of the LACP exchange.
        * 
* * string google_system_id = 2; + * * @return The bytes for googleSystemId. */ - public com.google.protobuf.ByteString - getGoogleSystemIdBytes() { + public com.google.protobuf.ByteString getGoogleSystemIdBytes() { java.lang.Object ref = googleSystemId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); googleSystemId_ = b; return b; } else { @@ -3694,28 +4326,35 @@ public java.lang.String getGoogleSystemId() { } } /** + * + * *
        * System ID of the port on Google's side of the LACP exchange.
        * 
* * string google_system_id = 2; + * * @param value The googleSystemId to set. * @return This builder for chaining. */ - public Builder setGoogleSystemId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGoogleSystemId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } googleSystemId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * System ID of the port on Google's side of the LACP exchange.
        * 
* * string google_system_id = 2; + * * @return This builder for chaining. */ public Builder clearGoogleSystemId() { @@ -3725,17 +4364,21 @@ public Builder clearGoogleSystemId() { return this; } /** + * + * *
        * System ID of the port on Google's side of the LACP exchange.
        * 
* * string google_system_id = 2; + * * @param value The bytes for googleSystemId to set. * @return This builder for chaining. */ - public Builder setGoogleSystemIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGoogleSystemIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); googleSystemId_ = value; bitField0_ |= 0x00000002; @@ -3745,18 +4388,20 @@ public Builder setGoogleSystemIdBytes( private java.lang.Object neighborSystemId_ = ""; /** + * + * *
        * System ID of the port on the neighbor's side of the LACP exchange.
        * 
* * string neighbor_system_id = 3; + * * @return The neighborSystemId. */ public java.lang.String getNeighborSystemId() { java.lang.Object ref = neighborSystemId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); neighborSystemId_ = s; return s; @@ -3765,20 +4410,21 @@ public java.lang.String getNeighborSystemId() { } } /** + * + * *
        * System ID of the port on the neighbor's side of the LACP exchange.
        * 
* * string neighbor_system_id = 3; + * * @return The bytes for neighborSystemId. */ - public com.google.protobuf.ByteString - getNeighborSystemIdBytes() { + public com.google.protobuf.ByteString getNeighborSystemIdBytes() { java.lang.Object ref = neighborSystemId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); neighborSystemId_ = b; return b; } else { @@ -3786,28 +4432,35 @@ public java.lang.String getNeighborSystemId() { } } /** + * + * *
        * System ID of the port on the neighbor's side of the LACP exchange.
        * 
* * string neighbor_system_id = 3; + * * @param value The neighborSystemId to set. * @return This builder for chaining. */ - public Builder setNeighborSystemId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNeighborSystemId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } neighborSystemId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * System ID of the port on the neighbor's side of the LACP exchange.
        * 
* * string neighbor_system_id = 3; + * * @return This builder for chaining. */ public Builder clearNeighborSystemId() { @@ -3817,17 +4470,21 @@ public Builder clearNeighborSystemId() { return this; } /** + * + * *
        * System ID of the port on the neighbor's side of the LACP exchange.
        * 
* * string neighbor_system_id = 3; + * * @param value The bytes for neighborSystemId to set. * @return This builder for chaining. */ - public Builder setNeighborSystemIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNeighborSystemIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); neighborSystemId_ = value; bitField0_ |= 0x00000004; @@ -3835,8 +4492,10 @@ public Builder setNeighborSystemIdBytes( return this; } - private boolean aggregatable_ ; + private boolean aggregatable_; /** + * + * *
        * A true value indicates that the participant will allow the link to be
        * used as part of the aggregate.
@@ -3844,6 +4503,7 @@ public Builder setNeighborSystemIdBytes(
        * 
* * bool aggregatable = 4; + * * @return The aggregatable. */ @java.lang.Override @@ -3851,6 +4511,8 @@ public boolean getAggregatable() { return aggregatable_; } /** + * + * *
        * A true value indicates that the participant will allow the link to be
        * used as part of the aggregate.
@@ -3858,6 +4520,7 @@ public boolean getAggregatable() {
        * 
* * bool aggregatable = 4; + * * @param value The aggregatable to set. * @return This builder for chaining. */ @@ -3869,6 +4532,8 @@ public Builder setAggregatable(boolean value) { return this; } /** + * + * *
        * A true value indicates that the participant will allow the link to be
        * used as part of the aggregate.
@@ -3876,6 +4541,7 @@ public Builder setAggregatable(boolean value) {
        * 
* * bool aggregatable = 4; + * * @return This builder for chaining. */ public Builder clearAggregatable() { @@ -3885,14 +4551,17 @@ public Builder clearAggregatable() { return this; } - private boolean collecting_ ; + private boolean collecting_; /** + * + * *
        * If true, the participant is collecting incoming frames on the link,
        * otherwise false
        * 
* * bool collecting = 5; + * * @return The collecting. */ @java.lang.Override @@ -3900,12 +4569,15 @@ public boolean getCollecting() { return collecting_; } /** + * + * *
        * If true, the participant is collecting incoming frames on the link,
        * otherwise false
        * 
* * bool collecting = 5; + * * @param value The collecting to set. * @return This builder for chaining. */ @@ -3917,12 +4589,15 @@ public Builder setCollecting(boolean value) { return this; } /** + * + * *
        * If true, the participant is collecting incoming frames on the link,
        * otherwise false
        * 
* * bool collecting = 5; + * * @return This builder for chaining. */ public Builder clearCollecting() { @@ -3932,14 +4607,17 @@ public Builder clearCollecting() { return this; } - private boolean distributing_ ; + private boolean distributing_; /** + * + * *
        * When true, the participant is distributing outgoing frames; when false,
        * distribution is disabled
        * 
* * bool distributing = 6; + * * @return The distributing. */ @java.lang.Override @@ -3947,12 +4625,15 @@ public boolean getDistributing() { return distributing_; } /** + * + * *
        * When true, the participant is distributing outgoing frames; when false,
        * distribution is disabled
        * 
* * bool distributing = 6; + * * @param value The distributing to set. * @return This builder for chaining. */ @@ -3964,12 +4645,15 @@ public Builder setDistributing(boolean value) { return this; } /** + * + * *
        * When true, the participant is distributing outgoing frames; when false,
        * distribution is disabled
        * 
* * bool distributing = 6; + * * @return This builder for chaining. */ public Builder clearDistributing() { @@ -3978,6 +4662,7 @@ public Builder clearDistributing() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3990,41 +4675,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus) - private static final com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus DEFAULT_INSTANCE; + private static final com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus(); + DEFAULT_INSTANCE = + new com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus(); } - public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus getDefaultInstance() { + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LinkLACPStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LinkLACPStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4036,99 +4725,122 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus getDefaultInstanceForType() { + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface LinkLLDPStatusOrBuilder extends + public interface LinkLLDPStatusOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The peer system's administratively assigned name.
      * 
* * string peer_system_name = 1; + * * @return The peerSystemName. */ java.lang.String getPeerSystemName(); /** + * + * *
      * The peer system's administratively assigned name.
      * 
* * string peer_system_name = 1; + * * @return The bytes for peerSystemName. */ - com.google.protobuf.ByteString - getPeerSystemNameBytes(); + com.google.protobuf.ByteString getPeerSystemNameBytes(); /** + * + * *
      * The textual description of the network entity of LLDP peer.
      * 
* * string peer_system_description = 2; + * * @return The peerSystemDescription. */ java.lang.String getPeerSystemDescription(); /** + * + * *
      * The textual description of the network entity of LLDP peer.
      * 
* * string peer_system_description = 2; + * * @return The bytes for peerSystemDescription. */ - com.google.protobuf.ByteString - getPeerSystemDescriptionBytes(); + com.google.protobuf.ByteString getPeerSystemDescriptionBytes(); /** + * + * *
      * The peer chassis component of the endpoint identifier associated with the
      * transmitting LLDP agent.
      * 
* * string peer_chassis_id = 3; + * * @return The peerChassisId. */ java.lang.String getPeerChassisId(); /** + * + * *
      * The peer chassis component of the endpoint identifier associated with the
      * transmitting LLDP agent.
      * 
* * string peer_chassis_id = 3; + * * @return The bytes for peerChassisId. */ - com.google.protobuf.ByteString - getPeerChassisIdBytes(); + com.google.protobuf.ByteString getPeerChassisIdBytes(); /** + * + * *
      * The format and source of the peer chassis identifier string.
      * 
* * string peer_chassis_id_type = 4; + * * @return The peerChassisIdType. */ java.lang.String getPeerChassisIdType(); /** + * + * *
      * The format and source of the peer chassis identifier string.
      * 
* * string peer_chassis_id_type = 4; + * * @return The bytes for peerChassisIdType. */ - com.google.protobuf.ByteString - getPeerChassisIdTypeBytes(); + com.google.protobuf.ByteString getPeerChassisIdTypeBytes(); /** + * + * *
      * The port component of the endpoint identifier associated with the
      * transmitting LLDP agent. If the specified port is an IEEE 802.3 Repeater
@@ -4136,10 +4848,13 @@ public interface LinkLLDPStatusOrBuilder extends
      * 
* * string peer_port_id = 5; + * * @return The peerPortId. */ java.lang.String getPeerPortId(); /** + * + * *
      * The port component of the endpoint identifier associated with the
      * transmitting LLDP agent. If the specified port is an IEEE 802.3 Repeater
@@ -4147,47 +4862,55 @@ public interface LinkLLDPStatusOrBuilder extends
      * 
* * string peer_port_id = 5; + * * @return The bytes for peerPortId. */ - com.google.protobuf.ByteString - getPeerPortIdBytes(); + com.google.protobuf.ByteString getPeerPortIdBytes(); /** + * + * *
      * The format and source of the peer port identifier string.
      * 
* * string peer_port_id_type = 6; + * * @return The peerPortIdType. */ java.lang.String getPeerPortIdType(); /** + * + * *
      * The format and source of the peer port identifier string.
      * 
* * string peer_port_id_type = 6; + * * @return The bytes for peerPortIdType. */ - com.google.protobuf.ByteString - getPeerPortIdTypeBytes(); + com.google.protobuf.ByteString getPeerPortIdTypeBytes(); } /** + * + * *
    * Describing a LLDP link.
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus} */ - public static final class LinkLLDPStatus extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class LinkLLDPStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus) LinkLLDPStatusOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LinkLLDPStatus.newBuilder() to construct. private LinkLLDPStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LinkLLDPStatus() { peerSystemName_ = ""; peerSystemDescription_ = ""; @@ -4199,33 +4922,38 @@ private LinkLLDPStatus() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LinkLLDPStatus(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLLDPStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLLDPStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLLDPStatus_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLLDPStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.class, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.Builder.class); + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.class, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.Builder.class); } public static final int PEER_SYSTEM_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object peerSystemName_ = ""; /** + * + * *
      * The peer system's administratively assigned name.
      * 
* * string peer_system_name = 1; + * * @return The peerSystemName. */ @java.lang.Override @@ -4234,29 +4962,29 @@ public java.lang.String getPeerSystemName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peerSystemName_ = s; return s; } } /** + * + * *
      * The peer system's administratively assigned name.
      * 
* * string peer_system_name = 1; + * * @return The bytes for peerSystemName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPeerSystemNameBytes() { + public com.google.protobuf.ByteString getPeerSystemNameBytes() { java.lang.Object ref = peerSystemName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); peerSystemName_ = b; return b; } else { @@ -4265,14 +4993,18 @@ public java.lang.String getPeerSystemName() { } public static final int PEER_SYSTEM_DESCRIPTION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object peerSystemDescription_ = ""; /** + * + * *
      * The textual description of the network entity of LLDP peer.
      * 
* * string peer_system_description = 2; + * * @return The peerSystemDescription. */ @java.lang.Override @@ -4281,29 +5013,29 @@ public java.lang.String getPeerSystemDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peerSystemDescription_ = s; return s; } } /** + * + * *
      * The textual description of the network entity of LLDP peer.
      * 
* * string peer_system_description = 2; + * * @return The bytes for peerSystemDescription. */ @java.lang.Override - public com.google.protobuf.ByteString - getPeerSystemDescriptionBytes() { + public com.google.protobuf.ByteString getPeerSystemDescriptionBytes() { java.lang.Object ref = peerSystemDescription_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); peerSystemDescription_ = b; return b; } else { @@ -4312,15 +5044,19 @@ public java.lang.String getPeerSystemDescription() { } public static final int PEER_CHASSIS_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object peerChassisId_ = ""; /** + * + * *
      * The peer chassis component of the endpoint identifier associated with the
      * transmitting LLDP agent.
      * 
* * string peer_chassis_id = 3; + * * @return The peerChassisId. */ @java.lang.Override @@ -4329,30 +5065,30 @@ public java.lang.String getPeerChassisId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peerChassisId_ = s; return s; } } /** + * + * *
      * The peer chassis component of the endpoint identifier associated with the
      * transmitting LLDP agent.
      * 
* * string peer_chassis_id = 3; + * * @return The bytes for peerChassisId. */ @java.lang.Override - public com.google.protobuf.ByteString - getPeerChassisIdBytes() { + public com.google.protobuf.ByteString getPeerChassisIdBytes() { java.lang.Object ref = peerChassisId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); peerChassisId_ = b; return b; } else { @@ -4361,14 +5097,18 @@ public java.lang.String getPeerChassisId() { } public static final int PEER_CHASSIS_ID_TYPE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object peerChassisIdType_ = ""; /** + * + * *
      * The format and source of the peer chassis identifier string.
      * 
* * string peer_chassis_id_type = 4; + * * @return The peerChassisIdType. */ @java.lang.Override @@ -4377,29 +5117,29 @@ public java.lang.String getPeerChassisIdType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peerChassisIdType_ = s; return s; } } /** + * + * *
      * The format and source of the peer chassis identifier string.
      * 
* * string peer_chassis_id_type = 4; + * * @return The bytes for peerChassisIdType. */ @java.lang.Override - public com.google.protobuf.ByteString - getPeerChassisIdTypeBytes() { + public com.google.protobuf.ByteString getPeerChassisIdTypeBytes() { java.lang.Object ref = peerChassisIdType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); peerChassisIdType_ = b; return b; } else { @@ -4408,9 +5148,12 @@ public java.lang.String getPeerChassisIdType() { } public static final int PEER_PORT_ID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object peerPortId_ = ""; /** + * + * *
      * The port component of the endpoint identifier associated with the
      * transmitting LLDP agent. If the specified port is an IEEE 802.3 Repeater
@@ -4418,6 +5161,7 @@ public java.lang.String getPeerChassisIdType() {
      * 
* * string peer_port_id = 5; + * * @return The peerPortId. */ @java.lang.Override @@ -4426,14 +5170,15 @@ public java.lang.String getPeerPortId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peerPortId_ = s; return s; } } /** + * + * *
      * The port component of the endpoint identifier associated with the
      * transmitting LLDP agent. If the specified port is an IEEE 802.3 Repeater
@@ -4441,16 +5186,15 @@ public java.lang.String getPeerPortId() {
      * 
* * string peer_port_id = 5; + * * @return The bytes for peerPortId. */ @java.lang.Override - public com.google.protobuf.ByteString - getPeerPortIdBytes() { + public com.google.protobuf.ByteString getPeerPortIdBytes() { java.lang.Object ref = peerPortId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); peerPortId_ = b; return b; } else { @@ -4459,14 +5203,18 @@ public java.lang.String getPeerPortId() { } public static final int PEER_PORT_ID_TYPE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object peerPortIdType_ = ""; /** + * + * *
      * The format and source of the peer port identifier string.
      * 
* * string peer_port_id_type = 6; + * * @return The peerPortIdType. */ @java.lang.Override @@ -4475,29 +5223,29 @@ public java.lang.String getPeerPortIdType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peerPortIdType_ = s; return s; } } /** + * + * *
      * The format and source of the peer port identifier string.
      * 
* * string peer_port_id_type = 6; + * * @return The bytes for peerPortIdType. */ @java.lang.Override - public com.google.protobuf.ByteString - getPeerPortIdTypeBytes() { + public com.google.protobuf.ByteString getPeerPortIdTypeBytes() { java.lang.Object ref = peerPortIdType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); peerPortIdType_ = b; return b; } else { @@ -4506,6 +5254,7 @@ public java.lang.String getPeerPortIdType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4517,8 +5266,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(peerSystemName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, peerSystemName_); } @@ -4572,25 +5320,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.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus)) { + if (!(obj + instanceof com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus other = (com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus) obj; - - if (!getPeerSystemName() - .equals(other.getPeerSystemName())) return false; - if (!getPeerSystemDescription() - .equals(other.getPeerSystemDescription())) return false; - if (!getPeerChassisId() - .equals(other.getPeerChassisId())) return false; - if (!getPeerChassisIdType() - .equals(other.getPeerChassisIdType())) return false; - if (!getPeerPortId() - .equals(other.getPeerPortId())) return false; - if (!getPeerPortIdType() - .equals(other.getPeerPortIdType())) return false; + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus other = + (com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus) obj; + + if (!getPeerSystemName().equals(other.getPeerSystemName())) return false; + if (!getPeerSystemDescription().equals(other.getPeerSystemDescription())) return false; + if (!getPeerChassisId().equals(other.getPeerChassisId())) return false; + if (!getPeerChassisIdType().equals(other.getPeerChassisIdType())) return false; + if (!getPeerPortId().equals(other.getPeerPortId())) return false; + if (!getPeerPortIdType().equals(other.getPeerPortIdType())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -4620,89 +5364,95 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus prototype) { + + public static Builder newBuilder( + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4712,39 +5462,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Describing a LLDP link.
      * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus) com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLLDPStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLLDPStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLLDPStatus_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLLDPStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.class, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.Builder.class); + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.class, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.Builder + .class); } - // Construct using com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -4759,19 +5513,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLLDPStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLLDPStatus_descriptor; } @java.lang.Override - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus getDefaultInstanceForType() { - return com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.getDefaultInstance(); + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus + getDefaultInstanceForType() { + return com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus build() { - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus result = buildPartial(); + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -4780,13 +5537,17 @@ public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus bu @java.lang.Override public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus buildPartial() { - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus result = new com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus result = + new com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus result) { + private void buildPartial0( + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.peerSystemName_ = peerSystemName_; @@ -4812,46 +5573,54 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.InterconnectDiagnosti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus) { - return mergeFrom((com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus)other); + if (other + instanceof com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus) { + return mergeFrom( + (com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus other) { - if (other == com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus other) { + if (other + == com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus + .getDefaultInstance()) return this; if (!other.getPeerSystemName().isEmpty()) { peerSystemName_ = other.peerSystemName_; bitField0_ |= 0x00000001; @@ -4908,42 +5677,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - peerSystemName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - peerSystemDescription_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - peerChassisId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - peerChassisIdType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - peerPortId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - peerPortIdType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + peerSystemName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + peerSystemDescription_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + peerChassisId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + peerChassisIdType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + peerPortId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + peerPortIdType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4953,22 +5729,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object peerSystemName_ = ""; /** + * + * *
        * The peer system's administratively assigned name.
        * 
* * string peer_system_name = 1; + * * @return The peerSystemName. */ public java.lang.String getPeerSystemName() { java.lang.Object ref = peerSystemName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peerSystemName_ = s; return s; @@ -4977,20 +5756,21 @@ public java.lang.String getPeerSystemName() { } } /** + * + * *
        * The peer system's administratively assigned name.
        * 
* * string peer_system_name = 1; + * * @return The bytes for peerSystemName. */ - public com.google.protobuf.ByteString - getPeerSystemNameBytes() { + public com.google.protobuf.ByteString getPeerSystemNameBytes() { java.lang.Object ref = peerSystemName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); peerSystemName_ = b; return b; } else { @@ -4998,28 +5778,35 @@ public java.lang.String getPeerSystemName() { } } /** + * + * *
        * The peer system's administratively assigned name.
        * 
* * string peer_system_name = 1; + * * @param value The peerSystemName to set. * @return This builder for chaining. */ - public Builder setPeerSystemName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPeerSystemName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } peerSystemName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The peer system's administratively assigned name.
        * 
* * string peer_system_name = 1; + * * @return This builder for chaining. */ public Builder clearPeerSystemName() { @@ -5029,17 +5816,21 @@ public Builder clearPeerSystemName() { return this; } /** + * + * *
        * The peer system's administratively assigned name.
        * 
* * string peer_system_name = 1; + * * @param value The bytes for peerSystemName to set. * @return This builder for chaining. */ - public Builder setPeerSystemNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPeerSystemNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); peerSystemName_ = value; bitField0_ |= 0x00000001; @@ -5049,18 +5840,20 @@ public Builder setPeerSystemNameBytes( private java.lang.Object peerSystemDescription_ = ""; /** + * + * *
        * The textual description of the network entity of LLDP peer.
        * 
* * string peer_system_description = 2; + * * @return The peerSystemDescription. */ public java.lang.String getPeerSystemDescription() { java.lang.Object ref = peerSystemDescription_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peerSystemDescription_ = s; return s; @@ -5069,20 +5862,21 @@ public java.lang.String getPeerSystemDescription() { } } /** + * + * *
        * The textual description of the network entity of LLDP peer.
        * 
* * string peer_system_description = 2; + * * @return The bytes for peerSystemDescription. */ - public com.google.protobuf.ByteString - getPeerSystemDescriptionBytes() { + public com.google.protobuf.ByteString getPeerSystemDescriptionBytes() { java.lang.Object ref = peerSystemDescription_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); peerSystemDescription_ = b; return b; } else { @@ -5090,28 +5884,35 @@ public java.lang.String getPeerSystemDescription() { } } /** + * + * *
        * The textual description of the network entity of LLDP peer.
        * 
* * string peer_system_description = 2; + * * @param value The peerSystemDescription to set. * @return This builder for chaining. */ - public Builder setPeerSystemDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPeerSystemDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } peerSystemDescription_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * The textual description of the network entity of LLDP peer.
        * 
* * string peer_system_description = 2; + * * @return This builder for chaining. */ public Builder clearPeerSystemDescription() { @@ -5121,17 +5922,21 @@ public Builder clearPeerSystemDescription() { return this; } /** + * + * *
        * The textual description of the network entity of LLDP peer.
        * 
* * string peer_system_description = 2; + * * @param value The bytes for peerSystemDescription to set. * @return This builder for chaining. */ - public Builder setPeerSystemDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPeerSystemDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); peerSystemDescription_ = value; bitField0_ |= 0x00000002; @@ -5141,19 +5946,21 @@ public Builder setPeerSystemDescriptionBytes( private java.lang.Object peerChassisId_ = ""; /** + * + * *
        * The peer chassis component of the endpoint identifier associated with the
        * transmitting LLDP agent.
        * 
* * string peer_chassis_id = 3; + * * @return The peerChassisId. */ public java.lang.String getPeerChassisId() { java.lang.Object ref = peerChassisId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peerChassisId_ = s; return s; @@ -5162,21 +5969,22 @@ public java.lang.String getPeerChassisId() { } } /** + * + * *
        * The peer chassis component of the endpoint identifier associated with the
        * transmitting LLDP agent.
        * 
* * string peer_chassis_id = 3; + * * @return The bytes for peerChassisId. */ - public com.google.protobuf.ByteString - getPeerChassisIdBytes() { + public com.google.protobuf.ByteString getPeerChassisIdBytes() { java.lang.Object ref = peerChassisId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); peerChassisId_ = b; return b; } else { @@ -5184,30 +5992,37 @@ public java.lang.String getPeerChassisId() { } } /** + * + * *
        * The peer chassis component of the endpoint identifier associated with the
        * transmitting LLDP agent.
        * 
* * string peer_chassis_id = 3; + * * @param value The peerChassisId to set. * @return This builder for chaining. */ - public Builder setPeerChassisId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPeerChassisId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } peerChassisId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * The peer chassis component of the endpoint identifier associated with the
        * transmitting LLDP agent.
        * 
* * string peer_chassis_id = 3; + * * @return This builder for chaining. */ public Builder clearPeerChassisId() { @@ -5217,18 +6032,22 @@ public Builder clearPeerChassisId() { return this; } /** + * + * *
        * The peer chassis component of the endpoint identifier associated with the
        * transmitting LLDP agent.
        * 
* * string peer_chassis_id = 3; + * * @param value The bytes for peerChassisId to set. * @return This builder for chaining. */ - public Builder setPeerChassisIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPeerChassisIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); peerChassisId_ = value; bitField0_ |= 0x00000004; @@ -5238,18 +6057,20 @@ public Builder setPeerChassisIdBytes( private java.lang.Object peerChassisIdType_ = ""; /** + * + * *
        * The format and source of the peer chassis identifier string.
        * 
* * string peer_chassis_id_type = 4; + * * @return The peerChassisIdType. */ public java.lang.String getPeerChassisIdType() { java.lang.Object ref = peerChassisIdType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peerChassisIdType_ = s; return s; @@ -5258,20 +6079,21 @@ public java.lang.String getPeerChassisIdType() { } } /** + * + * *
        * The format and source of the peer chassis identifier string.
        * 
* * string peer_chassis_id_type = 4; + * * @return The bytes for peerChassisIdType. */ - public com.google.protobuf.ByteString - getPeerChassisIdTypeBytes() { + public com.google.protobuf.ByteString getPeerChassisIdTypeBytes() { java.lang.Object ref = peerChassisIdType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); peerChassisIdType_ = b; return b; } else { @@ -5279,28 +6101,35 @@ public java.lang.String getPeerChassisIdType() { } } /** + * + * *
        * The format and source of the peer chassis identifier string.
        * 
* * string peer_chassis_id_type = 4; + * * @param value The peerChassisIdType to set. * @return This builder for chaining. */ - public Builder setPeerChassisIdType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPeerChassisIdType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } peerChassisIdType_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
        * The format and source of the peer chassis identifier string.
        * 
* * string peer_chassis_id_type = 4; + * * @return This builder for chaining. */ public Builder clearPeerChassisIdType() { @@ -5310,17 +6139,21 @@ public Builder clearPeerChassisIdType() { return this; } /** + * + * *
        * The format and source of the peer chassis identifier string.
        * 
* * string peer_chassis_id_type = 4; + * * @param value The bytes for peerChassisIdType to set. * @return This builder for chaining. */ - public Builder setPeerChassisIdTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPeerChassisIdTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); peerChassisIdType_ = value; bitField0_ |= 0x00000008; @@ -5330,6 +6163,8 @@ public Builder setPeerChassisIdTypeBytes( private java.lang.Object peerPortId_ = ""; /** + * + * *
        * The port component of the endpoint identifier associated with the
        * transmitting LLDP agent. If the specified port is an IEEE 802.3 Repeater
@@ -5337,13 +6172,13 @@ public Builder setPeerChassisIdTypeBytes(
        * 
* * string peer_port_id = 5; + * * @return The peerPortId. */ public java.lang.String getPeerPortId() { java.lang.Object ref = peerPortId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peerPortId_ = s; return s; @@ -5352,6 +6187,8 @@ public java.lang.String getPeerPortId() { } } /** + * + * *
        * The port component of the endpoint identifier associated with the
        * transmitting LLDP agent. If the specified port is an IEEE 802.3 Repeater
@@ -5359,15 +6196,14 @@ public java.lang.String getPeerPortId() {
        * 
* * string peer_port_id = 5; + * * @return The bytes for peerPortId. */ - public com.google.protobuf.ByteString - getPeerPortIdBytes() { + public com.google.protobuf.ByteString getPeerPortIdBytes() { java.lang.Object ref = peerPortId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); peerPortId_ = b; return b; } else { @@ -5375,6 +6211,8 @@ public java.lang.String getPeerPortId() { } } /** + * + * *
        * The port component of the endpoint identifier associated with the
        * transmitting LLDP agent. If the specified port is an IEEE 802.3 Repeater
@@ -5382,18 +6220,22 @@ public java.lang.String getPeerPortId() {
        * 
* * string peer_port_id = 5; + * * @param value The peerPortId to set. * @return This builder for chaining. */ - public Builder setPeerPortId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPeerPortId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } peerPortId_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
        * The port component of the endpoint identifier associated with the
        * transmitting LLDP agent. If the specified port is an IEEE 802.3 Repeater
@@ -5401,6 +6243,7 @@ public Builder setPeerPortId(
        * 
* * string peer_port_id = 5; + * * @return This builder for chaining. */ public Builder clearPeerPortId() { @@ -5410,6 +6253,8 @@ public Builder clearPeerPortId() { return this; } /** + * + * *
        * The port component of the endpoint identifier associated with the
        * transmitting LLDP agent. If the specified port is an IEEE 802.3 Repeater
@@ -5417,12 +6262,14 @@ public Builder clearPeerPortId() {
        * 
* * string peer_port_id = 5; + * * @param value The bytes for peerPortId to set. * @return This builder for chaining. */ - public Builder setPeerPortIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPeerPortIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); peerPortId_ = value; bitField0_ |= 0x00000010; @@ -5432,18 +6279,20 @@ public Builder setPeerPortIdBytes( private java.lang.Object peerPortIdType_ = ""; /** + * + * *
        * The format and source of the peer port identifier string.
        * 
* * string peer_port_id_type = 6; + * * @return The peerPortIdType. */ public java.lang.String getPeerPortIdType() { java.lang.Object ref = peerPortIdType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peerPortIdType_ = s; return s; @@ -5452,20 +6301,21 @@ public java.lang.String getPeerPortIdType() { } } /** + * + * *
        * The format and source of the peer port identifier string.
        * 
* * string peer_port_id_type = 6; + * * @return The bytes for peerPortIdType. */ - public com.google.protobuf.ByteString - getPeerPortIdTypeBytes() { + public com.google.protobuf.ByteString getPeerPortIdTypeBytes() { java.lang.Object ref = peerPortIdType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); peerPortIdType_ = b; return b; } else { @@ -5473,28 +6323,35 @@ public java.lang.String getPeerPortIdType() { } } /** + * + * *
        * The format and source of the peer port identifier string.
        * 
* * string peer_port_id_type = 6; + * * @param value The peerPortIdType to set. * @return This builder for chaining. */ - public Builder setPeerPortIdType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPeerPortIdType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } peerPortIdType_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
        * The format and source of the peer port identifier string.
        * 
* * string peer_port_id_type = 6; + * * @return This builder for chaining. */ public Builder clearPeerPortIdType() { @@ -5504,23 +6361,28 @@ public Builder clearPeerPortIdType() { return this; } /** + * + * *
        * The format and source of the peer port identifier string.
        * 
* * string peer_port_id_type = 6; + * * @param value The bytes for peerPortIdType to set. * @return This builder for chaining. */ - public Builder setPeerPortIdTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPeerPortIdTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); peerPortIdType_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5533,41 +6395,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus) - private static final com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus DEFAULT_INSTANCE; + private static final com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus(); + DEFAULT_INSTANCE = + new com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus(); } - public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus getDefaultInstance() { + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LinkLLDPStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LinkLLDPStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5579,21 +6445,25 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus getDefaultInstanceForType() { + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int MAC_ADDRESS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object macAddress_ = ""; /** + * + * *
    * The MAC address of the Interconnect's bundle interface.
    * 
* * string mac_address = 1; + * * @return The macAddress. */ @java.lang.Override @@ -5602,29 +6472,29 @@ public java.lang.String getMacAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); macAddress_ = s; return s; } } /** + * + * *
    * The MAC address of the Interconnect's bundle interface.
    * 
* * string mac_address = 1; + * * @return The bytes for macAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getMacAddressBytes() { + public com.google.protobuf.ByteString getMacAddressBytes() { java.lang.Object ref = macAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); macAddress_ = b; return b; } else { @@ -5633,9 +6503,12 @@ public java.lang.String getMacAddress() { } public static final int LINK_LAYER_ADDRESSES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List linkLayerAddresses_; /** + * + * *
    * A list of LinkLayerAddress, describing the ip address and corresponding
    * link-layer address of the neighbors for this interconnect.
@@ -5644,10 +6517,13 @@ public java.lang.String getMacAddress() {
    * repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2;
    */
   @java.lang.Override
-  public java.util.List getLinkLayerAddressesList() {
+  public java.util.List
+      getLinkLayerAddressesList() {
     return linkLayerAddresses_;
   }
   /**
+   *
+   *
    * 
    * A list of LinkLayerAddress, describing the ip address and corresponding
    * link-layer address of the neighbors for this interconnect.
@@ -5656,11 +6532,13 @@ public java.util.List getLinkL
    * repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getLinkLayerAddressesOrBuilderList() {
     return linkLayerAddresses_;
   }
   /**
+   *
+   *
    * 
    * A list of LinkLayerAddress, describing the ip address and corresponding
    * link-layer address of the neighbors for this interconnect.
@@ -5673,6 +6551,8 @@ public int getLinkLayerAddressesCount() {
     return linkLayerAddresses_.size();
   }
   /**
+   *
+   *
    * 
    * A list of LinkLayerAddress, describing the ip address and corresponding
    * link-layer address of the neighbors for this interconnect.
@@ -5685,6 +6565,8 @@ public com.google.cloud.edgenetwork.v1.LinkLayerAddress getLinkLayerAddresses(in
     return linkLayerAddresses_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of LinkLayerAddress, describing the ip address and corresponding
    * link-layer address of the neighbors for this interconnect.
@@ -5699,72 +6581,91 @@ public com.google.cloud.edgenetwork.v1.LinkLayerAddressOrBuilder getLinkLayerAdd
   }
 
   public static final int LINKS_FIELD_NUMBER = 3;
+
   @SuppressWarnings("serial")
   private java.util.List links_;
   /**
+   *
+   *
    * 
    * A list of LinkStatus objects, used to describe the status for each link on
    * the Interconnect.
    * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ @java.lang.Override - public java.util.List getLinksList() { + public java.util.List + getLinksList() { return links_; } /** + * + * *
    * A list of LinkStatus objects, used to describe the status for each link on
    * the Interconnect.
    * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatusOrBuilder> getLinksOrBuilderList() { return links_; } /** + * + * *
    * A list of LinkStatus objects, used to describe the status for each link on
    * the Interconnect.
    * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ @java.lang.Override public int getLinksCount() { return links_.size(); } /** + * + * *
    * A list of LinkStatus objects, used to describe the status for each link on
    * the Interconnect.
    * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ @java.lang.Override public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus getLinks(int index) { return links_.get(index); } /** + * + * *
    * A list of LinkStatus objects, used to describe the status for each link on
    * the Interconnect.
    * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ @java.lang.Override - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatusOrBuilder getLinksOrBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatusOrBuilder + getLinksOrBuilder(int index) { return links_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5776,8 +6677,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(macAddress_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, macAddress_); } @@ -5800,12 +6700,11 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, macAddress_); } for (int i = 0; i < linkLayerAddresses_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, linkLayerAddresses_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, linkLayerAddresses_.get(i)); } for (int i = 0; i < links_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, links_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, links_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5815,19 +6714,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.edgenetwork.v1.InterconnectDiagnostics)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics other = (com.google.cloud.edgenetwork.v1.InterconnectDiagnostics) obj; + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics other = + (com.google.cloud.edgenetwork.v1.InterconnectDiagnostics) obj; - if (!getMacAddress() - .equals(other.getMacAddress())) return false; - if (!getLinkLayerAddressesList() - .equals(other.getLinkLayerAddressesList())) return false; - if (!getLinksList() - .equals(other.getLinksList())) return false; + if (!getMacAddress().equals(other.getMacAddress())) return false; + if (!getLinkLayerAddressesList().equals(other.getLinkLayerAddressesList())) return false; + if (!getLinksList().equals(other.getLinksList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -5855,98 +6752,104 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics prototype) { + + public static Builder newBuilder( + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Diagnostics information about interconnect, contains detailed and current
    * technical information about Google's side of the connection.
@@ -5954,33 +6857,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.edgenetwork.v1.InterconnectDiagnostics}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.InterconnectDiagnostics)
       com.google.cloud.edgenetwork.v1.InterconnectDiagnosticsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.edgenetwork.v1.ResourcesProto
+          .internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_fieldAccessorTable
+      return com.google.cloud.edgenetwork.v1.ResourcesProto
+          .internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.class, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.Builder.class);
+              com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.class,
+              com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.Builder.class);
     }
 
     // Construct using com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -6004,9 +6906,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.edgenetwork.v1.ResourcesProto
+          .internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_descriptor;
     }
 
     @java.lang.Override
@@ -6025,14 +6927,18 @@ public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics build() {
 
     @java.lang.Override
     public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics buildPartial() {
-      com.google.cloud.edgenetwork.v1.InterconnectDiagnostics result = new com.google.cloud.edgenetwork.v1.InterconnectDiagnostics(this);
+      com.google.cloud.edgenetwork.v1.InterconnectDiagnostics result =
+          new com.google.cloud.edgenetwork.v1.InterconnectDiagnostics(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.edgenetwork.v1.InterconnectDiagnostics result) {
       if (linkLayerAddressesBuilder_ == null) {
         if (((bitField0_ & 0x00000002) != 0)) {
           linkLayerAddresses_ = java.util.Collections.unmodifiableList(linkLayerAddresses_);
@@ -6064,38 +6970,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.InterconnectDiagnosti
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.edgenetwork.v1.InterconnectDiagnostics) {
-        return mergeFrom((com.google.cloud.edgenetwork.v1.InterconnectDiagnostics)other);
+        return mergeFrom((com.google.cloud.edgenetwork.v1.InterconnectDiagnostics) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -6103,7 +7010,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics other) {
-      if (other == com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.getDefaultInstance()) return this;
+      if (other == com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.getDefaultInstance())
+        return this;
       if (!other.getMacAddress().isEmpty()) {
         macAddress_ = other.macAddress_;
         bitField0_ |= 0x00000001;
@@ -6127,9 +7035,10 @@ public Builder mergeFrom(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics
             linkLayerAddressesBuilder_ = null;
             linkLayerAddresses_ = other.linkLayerAddresses_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            linkLayerAddressesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getLinkLayerAddressesFieldBuilder() : null;
+            linkLayerAddressesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getLinkLayerAddressesFieldBuilder()
+                    : null;
           } else {
             linkLayerAddressesBuilder_.addAllMessages(other.linkLayerAddresses_);
           }
@@ -6153,9 +7062,10 @@ public Builder mergeFrom(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics
             linksBuilder_ = null;
             links_ = other.links_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            linksBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getLinksFieldBuilder() : null;
+            linksBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getLinksFieldBuilder()
+                    : null;
           } else {
             linksBuilder_.addAllMessages(other.links_);
           }
@@ -6187,43 +7097,47 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              macAddress_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              com.google.cloud.edgenetwork.v1.LinkLayerAddress m =
-                  input.readMessage(
-                      com.google.cloud.edgenetwork.v1.LinkLayerAddress.parser(),
-                      extensionRegistry);
-              if (linkLayerAddressesBuilder_ == null) {
-                ensureLinkLayerAddressesIsMutable();
-                linkLayerAddresses_.add(m);
-              } else {
-                linkLayerAddressesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            case 26: {
-              com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus m =
-                  input.readMessage(
-                      com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.parser(),
-                      extensionRegistry);
-              if (linksBuilder_ == null) {
-                ensureLinksIsMutable();
-                links_.add(m);
-              } else {
-                linksBuilder_.addMessage(m);
-              }
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                macAddress_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.cloud.edgenetwork.v1.LinkLayerAddress m =
+                    input.readMessage(
+                        com.google.cloud.edgenetwork.v1.LinkLayerAddress.parser(),
+                        extensionRegistry);
+                if (linkLayerAddressesBuilder_ == null) {
+                  ensureLinkLayerAddressesIsMutable();
+                  linkLayerAddresses_.add(m);
+                } else {
+                  linkLayerAddressesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus m =
+                    input.readMessage(
+                        com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.parser(),
+                        extensionRegistry);
+                if (linksBuilder_ == null) {
+                  ensureLinksIsMutable();
+                  links_.add(m);
+                } else {
+                  linksBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6233,22 +7147,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object macAddress_ = "";
     /**
+     *
+     *
      * 
      * The MAC address of the Interconnect's bundle interface.
      * 
* * string mac_address = 1; + * * @return The macAddress. */ public java.lang.String getMacAddress() { java.lang.Object ref = macAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); macAddress_ = s; return s; @@ -6257,20 +7174,21 @@ public java.lang.String getMacAddress() { } } /** + * + * *
      * The MAC address of the Interconnect's bundle interface.
      * 
* * string mac_address = 1; + * * @return The bytes for macAddress. */ - public com.google.protobuf.ByteString - getMacAddressBytes() { + public com.google.protobuf.ByteString getMacAddressBytes() { java.lang.Object ref = macAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); macAddress_ = b; return b; } else { @@ -6278,28 +7196,35 @@ public java.lang.String getMacAddress() { } } /** + * + * *
      * The MAC address of the Interconnect's bundle interface.
      * 
* * string mac_address = 1; + * * @param value The macAddress to set. * @return This builder for chaining. */ - public Builder setMacAddress( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMacAddress(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } macAddress_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The MAC address of the Interconnect's bundle interface.
      * 
* * string mac_address = 1; + * * @return This builder for chaining. */ public Builder clearMacAddress() { @@ -6309,17 +7234,21 @@ public Builder clearMacAddress() { return this; } /** + * + * *
      * The MAC address of the Interconnect's bundle interface.
      * 
* * string mac_address = 1; + * * @param value The bytes for macAddress to set. * @return This builder for chaining. */ - public Builder setMacAddressBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMacAddressBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); macAddress_ = value; bitField0_ |= 0x00000001; @@ -6328,18 +7257,26 @@ public Builder setMacAddressBytes( } private java.util.List linkLayerAddresses_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureLinkLayerAddressesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - linkLayerAddresses_ = new java.util.ArrayList(linkLayerAddresses_); + linkLayerAddresses_ = + new java.util.ArrayList( + linkLayerAddresses_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.LinkLayerAddress, com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder, com.google.cloud.edgenetwork.v1.LinkLayerAddressOrBuilder> linkLayerAddressesBuilder_; + com.google.cloud.edgenetwork.v1.LinkLayerAddress, + com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder, + com.google.cloud.edgenetwork.v1.LinkLayerAddressOrBuilder> + linkLayerAddressesBuilder_; /** + * + * *
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this interconnect.
@@ -6347,7 +7284,8 @@ private void ensureLinkLayerAddressesIsMutable() {
      *
      * repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2;
      */
-    public java.util.List getLinkLayerAddressesList() {
+    public java.util.List
+        getLinkLayerAddressesList() {
       if (linkLayerAddressesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(linkLayerAddresses_);
       } else {
@@ -6355,6 +7293,8 @@ public java.util.List getLinkL
       }
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this interconnect.
@@ -6370,6 +7310,8 @@ public int getLinkLayerAddressesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this interconnect.
@@ -6385,6 +7327,8 @@ public com.google.cloud.edgenetwork.v1.LinkLayerAddress getLinkLayerAddresses(in
       }
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this interconnect.
@@ -6407,6 +7351,8 @@ public Builder setLinkLayerAddresses(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this interconnect.
@@ -6426,6 +7372,8 @@ public Builder setLinkLayerAddresses(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this interconnect.
@@ -6447,6 +7395,8 @@ public Builder addLinkLayerAddresses(com.google.cloud.edgenetwork.v1.LinkLayerAd
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this interconnect.
@@ -6469,6 +7419,8 @@ public Builder addLinkLayerAddresses(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this interconnect.
@@ -6488,6 +7440,8 @@ public Builder addLinkLayerAddresses(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this interconnect.
@@ -6507,6 +7461,8 @@ public Builder addLinkLayerAddresses(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this interconnect.
@@ -6518,8 +7474,7 @@ public Builder addAllLinkLayerAddresses(
         java.lang.Iterable values) {
       if (linkLayerAddressesBuilder_ == null) {
         ensureLinkLayerAddressesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, linkLayerAddresses_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, linkLayerAddresses_);
         onChanged();
       } else {
         linkLayerAddressesBuilder_.addAllMessages(values);
@@ -6527,6 +7482,8 @@ public Builder addAllLinkLayerAddresses(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this interconnect.
@@ -6545,6 +7502,8 @@ public Builder clearLinkLayerAddresses() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this interconnect.
@@ -6563,6 +7522,8 @@ public Builder removeLinkLayerAddresses(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this interconnect.
@@ -6575,6 +7536,8 @@ public com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder getLinkLayerAddr
       return getLinkLayerAddressesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this interconnect.
@@ -6585,11 +7548,14 @@ public com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder getLinkLayerAddr
     public com.google.cloud.edgenetwork.v1.LinkLayerAddressOrBuilder getLinkLayerAddressesOrBuilder(
         int index) {
       if (linkLayerAddressesBuilder_ == null) {
-        return linkLayerAddresses_.get(index);  } else {
+        return linkLayerAddresses_.get(index);
+      } else {
         return linkLayerAddressesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this interconnect.
@@ -6597,8 +7563,8 @@ public com.google.cloud.edgenetwork.v1.LinkLayerAddressOrBuilder getLinkLayerAdd
      *
      * repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2;
      */
-    public java.util.List 
-         getLinkLayerAddressesOrBuilderList() {
+    public java.util.List
+        getLinkLayerAddressesOrBuilderList() {
       if (linkLayerAddressesBuilder_ != null) {
         return linkLayerAddressesBuilder_.getMessageOrBuilderList();
       } else {
@@ -6606,6 +7572,8 @@ public com.google.cloud.edgenetwork.v1.LinkLayerAddressOrBuilder getLinkLayerAdd
       }
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this interconnect.
@@ -6614,10 +7582,12 @@ public com.google.cloud.edgenetwork.v1.LinkLayerAddressOrBuilder getLinkLayerAdd
      * repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2;
      */
     public com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder addLinkLayerAddressesBuilder() {
-      return getLinkLayerAddressesFieldBuilder().addBuilder(
-          com.google.cloud.edgenetwork.v1.LinkLayerAddress.getDefaultInstance());
+      return getLinkLayerAddressesFieldBuilder()
+          .addBuilder(com.google.cloud.edgenetwork.v1.LinkLayerAddress.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this interconnect.
@@ -6627,10 +7597,12 @@ public com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder addLinkLayerAddr
      */
     public com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder addLinkLayerAddressesBuilder(
         int index) {
-      return getLinkLayerAddressesFieldBuilder().addBuilder(
-          index, com.google.cloud.edgenetwork.v1.LinkLayerAddress.getDefaultInstance());
+      return getLinkLayerAddressesFieldBuilder()
+          .addBuilder(index, com.google.cloud.edgenetwork.v1.LinkLayerAddress.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this interconnect.
@@ -6638,16 +7610,22 @@ public com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder addLinkLayerAddr
      *
      * repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2;
      */
-    public java.util.List 
-         getLinkLayerAddressesBuilderList() {
+    public java.util.List
+        getLinkLayerAddressesBuilderList() {
       return getLinkLayerAddressesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.edgenetwork.v1.LinkLayerAddress, com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder, com.google.cloud.edgenetwork.v1.LinkLayerAddressOrBuilder> 
+            com.google.cloud.edgenetwork.v1.LinkLayerAddress,
+            com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder,
+            com.google.cloud.edgenetwork.v1.LinkLayerAddressOrBuilder>
         getLinkLayerAddressesFieldBuilder() {
       if (linkLayerAddressesBuilder_ == null) {
-        linkLayerAddressesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.edgenetwork.v1.LinkLayerAddress, com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder, com.google.cloud.edgenetwork.v1.LinkLayerAddressOrBuilder>(
+        linkLayerAddressesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.edgenetwork.v1.LinkLayerAddress,
+                com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder,
+                com.google.cloud.edgenetwork.v1.LinkLayerAddressOrBuilder>(
                 linkLayerAddresses_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -6657,27 +7635,37 @@ public com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder addLinkLayerAddr
       return linkLayerAddressesBuilder_;
     }
 
-    private java.util.List links_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        links_ = java.util.Collections.emptyList();
+
     private void ensureLinksIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
-        links_ = new java.util.ArrayList(links_);
+        links_ =
+            new java.util.ArrayList<
+                com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus>(links_);
         bitField0_ |= 0x00000004;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.Builder, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatusOrBuilder> linksBuilder_;
+            com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus,
+            com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.Builder,
+            com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatusOrBuilder>
+        linksBuilder_;
 
     /**
+     *
+     *
      * 
      * A list of LinkStatus objects, used to describe the status for each link on
      * the Interconnect.
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ - public java.util.List getLinksList() { + public java.util.List + getLinksList() { if (linksBuilder_ == null) { return java.util.Collections.unmodifiableList(links_); } else { @@ -6685,12 +7673,15 @@ public java.util.List * A list of LinkStatus objects, used to describe the status for each link on * the Interconnect. *
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ public int getLinksCount() { if (linksBuilder_ == null) { @@ -6700,12 +7691,15 @@ public int getLinksCount() { } } /** + * + * *
      * A list of LinkStatus objects, used to describe the status for each link on
      * the Interconnect.
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus getLinks(int index) { if (linksBuilder_ == null) { @@ -6715,12 +7709,15 @@ public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus getLin } } /** + * + * *
      * A list of LinkStatus objects, used to describe the status for each link on
      * the Interconnect.
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ public Builder setLinks( int index, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus value) { @@ -6737,15 +7734,20 @@ public Builder setLinks( return this; } /** + * + * *
      * A list of LinkStatus objects, used to describe the status for each link on
      * the Interconnect.
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ public Builder setLinks( - int index, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.Builder builderForValue) { + int index, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.Builder + builderForValue) { if (linksBuilder_ == null) { ensureLinksIsMutable(); links_.set(index, builderForValue.build()); @@ -6756,14 +7758,18 @@ public Builder setLinks( return this; } /** + * + * *
      * A list of LinkStatus objects, used to describe the status for each link on
      * the Interconnect.
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ - public Builder addLinks(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus value) { + public Builder addLinks( + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus value) { if (linksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6777,12 +7783,15 @@ public Builder addLinks(com.google.cloud.edgenetwork.v1.InterconnectDiagnostics. return this; } /** + * + * *
      * A list of LinkStatus objects, used to describe the status for each link on
      * the Interconnect.
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ public Builder addLinks( int index, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus value) { @@ -6799,15 +7808,19 @@ public Builder addLinks( return this; } /** + * + * *
      * A list of LinkStatus objects, used to describe the status for each link on
      * the Interconnect.
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ public Builder addLinks( - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.Builder builderForValue) { + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.Builder + builderForValue) { if (linksBuilder_ == null) { ensureLinksIsMutable(); links_.add(builderForValue.build()); @@ -6818,15 +7831,20 @@ public Builder addLinks( return this; } /** + * + * *
      * A list of LinkStatus objects, used to describe the status for each link on
      * the Interconnect.
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ public Builder addLinks( - int index, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.Builder builderForValue) { + int index, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.Builder + builderForValue) { if (linksBuilder_ == null) { ensureLinksIsMutable(); links_.add(index, builderForValue.build()); @@ -6837,19 +7855,23 @@ public Builder addLinks( return this; } /** + * + * *
      * A list of LinkStatus objects, used to describe the status for each link on
      * the Interconnect.
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ public Builder addAllLinks( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus> + values) { if (linksBuilder_ == null) { ensureLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, links_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, links_); onChanged(); } else { linksBuilder_.addAllMessages(values); @@ -6857,12 +7879,15 @@ public Builder addAllLinks( return this; } /** + * + * *
      * A list of LinkStatus objects, used to describe the status for each link on
      * the Interconnect.
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ public Builder clearLinks() { if (linksBuilder_ == null) { @@ -6875,12 +7900,15 @@ public Builder clearLinks() { return this; } /** + * + * *
      * A list of LinkStatus objects, used to describe the status for each link on
      * the Interconnect.
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ public Builder removeLinks(int index) { if (linksBuilder_ == null) { @@ -6893,42 +7921,53 @@ public Builder removeLinks(int index) { return this; } /** + * + * *
      * A list of LinkStatus objects, used to describe the status for each link on
      * the Interconnect.
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.Builder getLinksBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.Builder + getLinksBuilder(int index) { return getLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of LinkStatus objects, used to describe the status for each link on
      * the Interconnect.
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatusOrBuilder getLinksOrBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatusOrBuilder + getLinksOrBuilder(int index) { if (linksBuilder_ == null) { - return links_.get(index); } else { + return links_.get(index); + } else { return linksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of LinkStatus objects, used to describe the status for each link on
      * the Interconnect.
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ - public java.util.List - getLinksOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatusOrBuilder> + getLinksOrBuilderList() { if (linksBuilder_ != null) { return linksBuilder_.getMessageOrBuilderList(); } else { @@ -6936,59 +7975,78 @@ public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatusOrBuild } } /** + * + * *
      * A list of LinkStatus objects, used to describe the status for each link on
      * the Interconnect.
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.Builder addLinksBuilder() { - return getLinksFieldBuilder().addBuilder( - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.getDefaultInstance()); + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.Builder + addLinksBuilder() { + return getLinksFieldBuilder() + .addBuilder( + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus + .getDefaultInstance()); } /** + * + * *
      * A list of LinkStatus objects, used to describe the status for each link on
      * the Interconnect.
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ - public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.Builder addLinksBuilder( - int index) { - return getLinksFieldBuilder().addBuilder( - index, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.getDefaultInstance()); + public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.Builder + addLinksBuilder(int index) { + return getLinksFieldBuilder() + .addBuilder( + index, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus + .getDefaultInstance()); } /** + * + * *
      * A list of LinkStatus objects, used to describe the status for each link on
      * the Interconnect.
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ - public java.util.List - getLinksBuilderList() { + public java.util.List< + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.Builder> + getLinksBuilderList() { return getLinksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.Builder, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatusOrBuilder> + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.Builder, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatusOrBuilder> getLinksFieldBuilder() { if (linksBuilder_ == null) { - linksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.Builder, com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatusOrBuilder>( - links_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + linksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus.Builder, + com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatusOrBuilder>( + links_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); links_ = null; } return linksBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6998,12 +8056,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.InterconnectDiagnostics) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.InterconnectDiagnostics) private static final com.google.cloud.edgenetwork.v1.InterconnectDiagnostics DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.InterconnectDiagnostics(); } @@ -7012,27 +8070,27 @@ public static com.google.cloud.edgenetwork.v1.InterconnectDiagnostics getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InterconnectDiagnostics parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InterconnectDiagnostics parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7047,6 +8105,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.InterconnectDiagnostics getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectDiagnosticsOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectDiagnosticsOrBuilder.java similarity index 75% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectDiagnosticsOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectDiagnosticsOrBuilder.java index 7eeb763c79a9..6150778f5812 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectDiagnosticsOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectDiagnosticsOrBuilder.java @@ -1,34 +1,57 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/resources.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface InterconnectDiagnosticsOrBuilder extends +public interface InterconnectDiagnosticsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.InterconnectDiagnostics) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The MAC address of the Interconnect's bundle interface.
    * 
* * string mac_address = 1; + * * @return The macAddress. */ java.lang.String getMacAddress(); /** + * + * *
    * The MAC address of the Interconnect's bundle interface.
    * 
* * string mac_address = 1; + * * @return The bytes for macAddress. */ - com.google.protobuf.ByteString - getMacAddressBytes(); + com.google.protobuf.ByteString getMacAddressBytes(); /** + * + * *
    * A list of LinkLayerAddress, describing the ip address and corresponding
    * link-layer address of the neighbors for this interconnect.
@@ -36,9 +59,10 @@ public interface InterconnectDiagnosticsOrBuilder extends
    *
    * repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2;
    */
-  java.util.List 
-      getLinkLayerAddressesList();
+  java.util.List getLinkLayerAddressesList();
   /**
+   *
+   *
    * 
    * A list of LinkLayerAddress, describing the ip address and corresponding
    * link-layer address of the neighbors for this interconnect.
@@ -48,6 +72,8 @@ public interface InterconnectDiagnosticsOrBuilder extends
    */
   com.google.cloud.edgenetwork.v1.LinkLayerAddress getLinkLayerAddresses(int index);
   /**
+   *
+   *
    * 
    * A list of LinkLayerAddress, describing the ip address and corresponding
    * link-layer address of the neighbors for this interconnect.
@@ -57,6 +83,8 @@ public interface InterconnectDiagnosticsOrBuilder extends
    */
   int getLinkLayerAddressesCount();
   /**
+   *
+   *
    * 
    * A list of LinkLayerAddress, describing the ip address and corresponding
    * link-layer address of the neighbors for this interconnect.
@@ -64,9 +92,11 @@ public interface InterconnectDiagnosticsOrBuilder extends
    *
    * repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2;
    */
-  java.util.List 
+  java.util.List
       getLinkLayerAddressesOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of LinkLayerAddress, describing the ip address and corresponding
    * link-layer address of the neighbors for this interconnect.
@@ -78,50 +108,65 @@ com.google.cloud.edgenetwork.v1.LinkLayerAddressOrBuilder getLinkLayerAddressesO
       int index);
 
   /**
+   *
+   *
    * 
    * A list of LinkStatus objects, used to describe the status for each link on
    * the Interconnect.
    * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ - java.util.List - getLinksList(); + java.util.List getLinksList(); /** + * + * *
    * A list of LinkStatus objects, used to describe the status for each link on
    * the Interconnect.
    * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus getLinks(int index); /** + * + * *
    * A list of LinkStatus objects, used to describe the status for each link on
    * the Interconnect.
    * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ int getLinksCount(); /** + * + * *
    * A list of LinkStatus objects, used to describe the status for each link on
    * the Interconnect.
    * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatusOrBuilder> getLinksOrBuilderList(); /** + * + * *
    * A list of LinkStatus objects, used to describe the status for each link on
    * the Interconnect.
    * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; + * */ com.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatusOrBuilder getLinksOrBuilder( int index); diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectName.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectName.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectName.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectName.java diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectOrBuilder.java similarity index 72% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectOrBuilder.java index 333b16d62d9a..bd4b057da0a3 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InterconnectOrBuilder.java @@ -1,88 +1,133 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/resources.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface InterconnectOrBuilder extends +public interface InterconnectOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.Interconnect) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The canonical resource name of the interconnect.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The canonical resource name of the interconnect.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. The time when the subnet was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time when the subnet was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time when the subnet was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time when the subnet was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The time when the subnet was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The time when the subnet was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Labels associated with this resource.
    * 
@@ -91,30 +136,31 @@ public interface InterconnectOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Labels associated with this resource.
    * 
* * map<string, string> labels = 4; */ - 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(); /** + * + * *
    * Labels associated with this resource.
    * 
* * map<string, string> labels = 4; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Labels associated with this resource.
    * 
@@ -122,145 +168,183 @@ boolean containsLabels( * map<string, string> labels = 4; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Labels associated with this resource.
    * 
* * map<string, string> labels = 4; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Optional. A free-text description of the resource. Max length 1024
    * characters.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. A free-text description of the resource. Max length 1024
    * characters.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Optional. Type of interconnect, which takes only the value 'DEDICATED' for
    * now.
    * 
* - * .google.cloud.edgenetwork.v1.Interconnect.InterconnectType interconnect_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.edgenetwork.v1.Interconnect.InterconnectType interconnect_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for interconnectType. */ int getInterconnectTypeValue(); /** + * + * *
    * Optional. Type of interconnect, which takes only the value 'DEDICATED' for
    * now.
    * 
* - * .google.cloud.edgenetwork.v1.Interconnect.InterconnectType interconnect_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.edgenetwork.v1.Interconnect.InterconnectType interconnect_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The interconnectType. */ com.google.cloud.edgenetwork.v1.Interconnect.InterconnectType getInterconnectType(); /** + * + * *
    * Output only. Unique identifier for the link.
    * 
* * string uuid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uuid. */ java.lang.String getUuid(); /** + * + * *
    * Output only. Unique identifier for the link.
    * 
* * string uuid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uuid. */ - com.google.protobuf.ByteString - getUuidBytes(); + com.google.protobuf.ByteString getUuidBytes(); /** + * + * *
    * Output only. Cloud resource name of the switch device.
    * 
* - * string device_cloud_resource_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string device_cloud_resource_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deviceCloudResourceName. */ java.lang.String getDeviceCloudResourceName(); /** + * + * *
    * Output only. Cloud resource name of the switch device.
    * 
* - * string device_cloud_resource_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string device_cloud_resource_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for deviceCloudResourceName. */ - com.google.protobuf.ByteString - getDeviceCloudResourceNameBytes(); + com.google.protobuf.ByteString getDeviceCloudResourceNameBytes(); /** + * + * *
    * Output only. Physical ports (e.g., TenGigE0/0/0/1) that form the
    * interconnect.
    * 
* * repeated string physical_ports = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the physicalPorts. */ - java.util.List - getPhysicalPortsList(); + java.util.List getPhysicalPortsList(); /** + * + * *
    * Output only. Physical ports (e.g., TenGigE0/0/0/1) that form the
    * interconnect.
    * 
* * repeated string physical_ports = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of physicalPorts. */ int getPhysicalPortsCount(); /** + * + * *
    * Output only. Physical ports (e.g., TenGigE0/0/0/1) that form the
    * interconnect.
    * 
* * repeated string physical_ports = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The physicalPorts at the given index. */ java.lang.String getPhysicalPorts(int index); /** + * + * *
    * Output only. Physical ports (e.g., TenGigE0/0/0/1) that form the
    * interconnect.
    * 
* * repeated string physical_ports = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the physicalPorts at the given index. */ - com.google.protobuf.ByteString - getPhysicalPortsBytes(int index); + com.google.protobuf.ByteString getPhysicalPortsBytes(int index); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/LinkLayerAddress.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/LinkLayerAddress.java similarity index 67% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/LinkLayerAddress.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/LinkLayerAddress.java index 1c292e147db6..59280815cf5c 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/LinkLayerAddress.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/LinkLayerAddress.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/resources.proto @@ -5,21 +20,24 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * LinkLayerAddress contains an IP address and corresponding link-layer address.
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.LinkLayerAddress} */ -public final class LinkLayerAddress extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LinkLayerAddress extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.LinkLayerAddress) LinkLayerAddressOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LinkLayerAddress.newBuilder() to construct. private LinkLayerAddress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LinkLayerAddress() { macAddress_ = ""; ipAddress_ = ""; @@ -27,33 +45,38 @@ private LinkLayerAddress() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LinkLayerAddress(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_LinkLayerAddress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_LinkLayerAddress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_LinkLayerAddress_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_LinkLayerAddress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.LinkLayerAddress.class, com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder.class); + com.google.cloud.edgenetwork.v1.LinkLayerAddress.class, + com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder.class); } public static final int MAC_ADDRESS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object macAddress_ = ""; /** + * + * *
    * The MAC address of this neighbor.
    * 
* * string mac_address = 1; + * * @return The macAddress. */ @java.lang.Override @@ -62,29 +85,29 @@ public java.lang.String getMacAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); macAddress_ = s; return s; } } /** + * + * *
    * The MAC address of this neighbor.
    * 
* * string mac_address = 1; + * * @return The bytes for macAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getMacAddressBytes() { + public com.google.protobuf.ByteString getMacAddressBytes() { java.lang.Object ref = macAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); macAddress_ = b; return b; } else { @@ -93,14 +116,18 @@ public java.lang.String getMacAddress() { } public static final int IP_ADDRESS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object ipAddress_ = ""; /** + * + * *
    * The IP address of this neighbor.
    * 
* * string ip_address = 2; + * * @return The ipAddress. */ @java.lang.Override @@ -109,29 +136,29 @@ public java.lang.String getIpAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; } } /** + * + * *
    * The IP address of this neighbor.
    * 
* * string ip_address = 2; + * * @return The bytes for ipAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getIpAddressBytes() { + public com.google.protobuf.ByteString getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getIpAddress() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(macAddress_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, macAddress_); } @@ -182,17 +209,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.edgenetwork.v1.LinkLayerAddress)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.LinkLayerAddress other = (com.google.cloud.edgenetwork.v1.LinkLayerAddress) obj; + com.google.cloud.edgenetwork.v1.LinkLayerAddress other = + (com.google.cloud.edgenetwork.v1.LinkLayerAddress) obj; - if (!getMacAddress() - .equals(other.getMacAddress())) return false; - if (!getIpAddress() - .equals(other.getIpAddress())) return false; + if (!getMacAddress().equals(other.getMacAddress())) return false; + if (!getIpAddress().equals(other.getIpAddress())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -213,132 +239,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.edgenetwork.v1.LinkLayerAddress parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.edgenetwork.v1.LinkLayerAddress parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.LinkLayerAddress parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.LinkLayerAddress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.LinkLayerAddress parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.LinkLayerAddress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.LinkLayerAddress parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.LinkLayerAddress parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.LinkLayerAddress parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.LinkLayerAddress parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.LinkLayerAddress parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.LinkLayerAddress parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.LinkLayerAddress parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.LinkLayerAddress parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.LinkLayerAddress parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.LinkLayerAddress prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * LinkLayerAddress contains an IP address and corresponding link-layer address.
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.LinkLayerAddress} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.LinkLayerAddress) com.google.cloud.edgenetwork.v1.LinkLayerAddressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_LinkLayerAddress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_LinkLayerAddress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_LinkLayerAddress_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_LinkLayerAddress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.LinkLayerAddress.class, com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder.class); + com.google.cloud.edgenetwork.v1.LinkLayerAddress.class, + com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.LinkLayerAddress.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -349,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_LinkLayerAddress_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_LinkLayerAddress_descriptor; } @java.lang.Override @@ -370,8 +400,11 @@ public com.google.cloud.edgenetwork.v1.LinkLayerAddress build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.LinkLayerAddress buildPartial() { - com.google.cloud.edgenetwork.v1.LinkLayerAddress result = new com.google.cloud.edgenetwork.v1.LinkLayerAddress(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.LinkLayerAddress result = + new com.google.cloud.edgenetwork.v1.LinkLayerAddress(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -390,38 +423,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.LinkLayerAddress resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.LinkLayerAddress) { - return mergeFrom((com.google.cloud.edgenetwork.v1.LinkLayerAddress)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.LinkLayerAddress) other); } else { super.mergeFrom(other); return this; @@ -429,7 +463,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.LinkLayerAddress other) { - if (other == com.google.cloud.edgenetwork.v1.LinkLayerAddress.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.LinkLayerAddress.getDefaultInstance()) + return this; if (!other.getMacAddress().isEmpty()) { macAddress_ = other.macAddress_; bitField0_ |= 0x00000001; @@ -466,22 +501,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - macAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - ipAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + macAddress_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + ipAddress_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -491,22 +529,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object macAddress_ = ""; /** + * + * *
      * The MAC address of this neighbor.
      * 
* * string mac_address = 1; + * * @return The macAddress. */ public java.lang.String getMacAddress() { java.lang.Object ref = macAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); macAddress_ = s; return s; @@ -515,20 +556,21 @@ public java.lang.String getMacAddress() { } } /** + * + * *
      * The MAC address of this neighbor.
      * 
* * string mac_address = 1; + * * @return The bytes for macAddress. */ - public com.google.protobuf.ByteString - getMacAddressBytes() { + public com.google.protobuf.ByteString getMacAddressBytes() { java.lang.Object ref = macAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); macAddress_ = b; return b; } else { @@ -536,28 +578,35 @@ public java.lang.String getMacAddress() { } } /** + * + * *
      * The MAC address of this neighbor.
      * 
* * string mac_address = 1; + * * @param value The macAddress to set. * @return This builder for chaining. */ - public Builder setMacAddress( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMacAddress(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } macAddress_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The MAC address of this neighbor.
      * 
* * string mac_address = 1; + * * @return This builder for chaining. */ public Builder clearMacAddress() { @@ -567,17 +616,21 @@ public Builder clearMacAddress() { return this; } /** + * + * *
      * The MAC address of this neighbor.
      * 
* * string mac_address = 1; + * * @param value The bytes for macAddress to set. * @return This builder for chaining. */ - public Builder setMacAddressBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMacAddressBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); macAddress_ = value; bitField0_ |= 0x00000001; @@ -587,18 +640,20 @@ public Builder setMacAddressBytes( private java.lang.Object ipAddress_ = ""; /** + * + * *
      * The IP address of this neighbor.
      * 
* * string ip_address = 2; + * * @return The ipAddress. */ public java.lang.String getIpAddress() { java.lang.Object ref = ipAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; @@ -607,20 +662,21 @@ public java.lang.String getIpAddress() { } } /** + * + * *
      * The IP address of this neighbor.
      * 
* * string ip_address = 2; + * * @return The bytes for ipAddress. */ - public com.google.protobuf.ByteString - getIpAddressBytes() { + public com.google.protobuf.ByteString getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -628,28 +684,35 @@ public java.lang.String getIpAddress() { } } /** + * + * *
      * The IP address of this neighbor.
      * 
* * string ip_address = 2; + * * @param value The ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddress( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIpAddress(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ipAddress_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The IP address of this neighbor.
      * 
* * string ip_address = 2; + * * @return This builder for chaining. */ public Builder clearIpAddress() { @@ -659,26 +722,30 @@ public Builder clearIpAddress() { return this; } /** + * + * *
      * The IP address of this neighbor.
      * 
* * string ip_address = 2; + * * @param value The bytes for ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddressBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ipAddress_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -688,12 +755,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.LinkLayerAddress) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.LinkLayerAddress) private static final com.google.cloud.edgenetwork.v1.LinkLayerAddress DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.LinkLayerAddress(); } @@ -702,27 +769,27 @@ public static com.google.cloud.edgenetwork.v1.LinkLayerAddress getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LinkLayerAddress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LinkLayerAddress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -737,6 +804,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.LinkLayerAddress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/LinkLayerAddressOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/LinkLayerAddressOrBuilder.java similarity index 55% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/LinkLayerAddressOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/LinkLayerAddressOrBuilder.java index d038e8db1d44..22e4f937fd83 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/LinkLayerAddressOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/LinkLayerAddressOrBuilder.java @@ -1,50 +1,76 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/resources.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface LinkLayerAddressOrBuilder extends +public interface LinkLayerAddressOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.LinkLayerAddress) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The MAC address of this neighbor.
    * 
* * string mac_address = 1; + * * @return The macAddress. */ java.lang.String getMacAddress(); /** + * + * *
    * The MAC address of this neighbor.
    * 
* * string mac_address = 1; + * * @return The bytes for macAddress. */ - com.google.protobuf.ByteString - getMacAddressBytes(); + com.google.protobuf.ByteString getMacAddressBytes(); /** + * + * *
    * The IP address of this neighbor.
    * 
* * string ip_address = 2; + * * @return The ipAddress. */ java.lang.String getIpAddress(); /** + * + * *
    * The IP address of this neighbor.
    * 
* * string ip_address = 2; + * * @return The bytes for ipAddress. */ - com.google.protobuf.ByteString - getIpAddressBytes(); + com.google.protobuf.ByteString getIpAddressBytes(); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsRequest.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsRequest.java similarity index 65% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsRequest.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsRequest.java index ac83c453dad9..2a487f7ee2b7 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsRequest.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,21 +20,25 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for requesting list of InterconnectAttachments
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest} */ -public final class ListInterconnectAttachmentsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListInterconnectAttachmentsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest) ListInterconnectAttachmentsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListInterconnectAttachmentsRequest.newBuilder() to construct. - private ListInterconnectAttachmentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListInterconnectAttachmentsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListInterconnectAttachmentsRequest() { parent_ = ""; pageToken_ = ""; @@ -29,33 +48,40 @@ private ListInterconnectAttachmentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListInterconnectAttachmentsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest.class, com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest.Builder.class); + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest.class, + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Parent value for ListInterconnectAttachmentsRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,29 +90,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Parent value for ListInterconnectAttachmentsRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -97,12 +125,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -111,14 +142,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -127,29 +162,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; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -158,14 +193,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -174,29 +213,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -205,14 +244,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -221,29 +264,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -252,6 +295,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,8 +307,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -293,8 +336,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -313,23 +355,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.edgenetwork.v1.ListInterconnectAttachmentsRequest)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest other = (com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest other = + (com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -357,131 +395,138 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for requesting list of InterconnectAttachments
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest) com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest.class, com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest.Builder.class); + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest.class, + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest.Builder.class); } - // Construct using com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -495,14 +540,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsRequest_descriptor; } @java.lang.Override - public com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest getDefaultInstanceForType() { - return com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest.getDefaultInstance(); + public com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest + getDefaultInstanceForType() { + return com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest + .getDefaultInstance(); } @java.lang.Override @@ -516,13 +563,17 @@ public com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest build( @java.lang.Override public com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest buildPartial() { - com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest result = new com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest result = + new com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest result) { + private void buildPartial0( + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -545,46 +596,51 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.ListInterconnectAttac public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest) { - return mergeFrom((com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest)other); + return mergeFrom( + (com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest other) { - if (other == com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest other) { + if (other + == com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -634,37 +690,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -674,22 +736,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Parent value for ListInterconnectAttachmentsRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -698,20 +765,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListInterconnectAttachmentsRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -719,28 +789,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListInterconnectAttachmentsRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Parent value for ListInterconnectAttachmentsRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -750,17 +831,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Parent value for ListInterconnectAttachmentsRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -768,14 +855,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -783,12 +873,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -800,12 +893,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -817,18 +913,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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,20 +935,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -858,28 +957,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -889,17 +995,21 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -909,18 +1019,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -929,20 +1041,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -950,28 +1063,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -981,17 +1101,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1001,18 +1125,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1021,20 +1147,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1042,28 +1169,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1073,26 +1207,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1102,41 +1240,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest) - private static final com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest(); } - public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest getDefaultInstance() { + public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInterconnectAttachmentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInterconnectAttachmentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1148,9 +1288,8 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest getDefaultInstanceForType() { + public com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsRequestOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsRequestOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsRequestOrBuilder.java index 4569adde890f..06c91f45c993 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsRequestOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsRequestOrBuilder.java @@ -1,101 +1,144 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface ListInterconnectAttachmentsRequestOrBuilder extends +public interface ListInterconnectAttachmentsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent value for ListInterconnectAttachmentsRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Parent value for ListInterconnectAttachmentsRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsResponse.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsResponse.java similarity index 63% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsResponse.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsResponse.java index e9c090278bd2..12f2e4cf470c 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsResponse.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,118 +20,151 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for response to listing InterconnectAttachments
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse} */ -public final class ListInterconnectAttachmentsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListInterconnectAttachmentsResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse) ListInterconnectAttachmentsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListInterconnectAttachmentsResponse.newBuilder() to construct. - private ListInterconnectAttachmentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListInterconnectAttachmentsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListInterconnectAttachmentsResponse() { interconnectAttachments_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListInterconnectAttachmentsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsResponse_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse.class, com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse.Builder.class); + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse.class, + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse.Builder.class); } public static final int INTERCONNECT_ATTACHMENTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List interconnectAttachments_; + private java.util.List + interconnectAttachments_; /** + * + * *
    * The list of InterconnectAttachment
    * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ @java.lang.Override - public java.util.List getInterconnectAttachmentsList() { + public java.util.List + getInterconnectAttachmentsList() { return interconnectAttachments_; } /** + * + * *
    * The list of InterconnectAttachment
    * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getInterconnectAttachmentsOrBuilderList() { return interconnectAttachments_; } /** + * + * *
    * The list of InterconnectAttachment
    * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ @java.lang.Override public int getInterconnectAttachmentsCount() { return interconnectAttachments_.size(); } /** + * + * *
    * The list of InterconnectAttachment
    * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ @java.lang.Override - public com.google.cloud.edgenetwork.v1.InterconnectAttachment getInterconnectAttachments(int index) { + public com.google.cloud.edgenetwork.v1.InterconnectAttachment getInterconnectAttachments( + int index) { return interconnectAttachments_.get(index); } /** + * + * *
    * The list of InterconnectAttachment
    * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ @java.lang.Override - public com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder getInterconnectAttachmentsOrBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder + getInterconnectAttachmentsOrBuilder(int index) { return interconnectAttachments_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,29 +173,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; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -156,38 +204,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -195,20 +252,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -220,8 +280,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < interconnectAttachments_.size(); i++) { output.writeMessage(1, interconnectAttachments_.get(i)); } @@ -241,8 +300,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < interconnectAttachments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, interconnectAttachments_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, interconnectAttachments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -263,19 +323,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.edgenetwork.v1.ListInterconnectAttachmentsResponse)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse other = (com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse) obj; + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse other = + (com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse) obj; - if (!getInterconnectAttachmentsList() - .equals(other.getInterconnectAttachmentsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getInterconnectAttachmentsList().equals(other.getInterconnectAttachmentsList())) + return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -303,131 +362,138 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for response to listing InterconnectAttachments
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse) com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsResponse_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse.class, com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse.Builder.class); + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse.class, + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse.Builder.class); } - // Construct using com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -440,20 +506,21 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsResponse_descriptor; } @java.lang.Override - public com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse getDefaultInstanceForType() { - return com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse.getDefaultInstance(); + public com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse + getDefaultInstanceForType() { + return com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse + .getDefaultInstance(); } @java.lang.Override @@ -467,17 +534,22 @@ public com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse build @java.lang.Override public com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse buildPartial() { - com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse result = new com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse(this); + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse result = + new com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse result) { if (interconnectAttachmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - interconnectAttachments_ = java.util.Collections.unmodifiableList(interconnectAttachments_); + interconnectAttachments_ = + java.util.Collections.unmodifiableList(interconnectAttachments_); bitField0_ = (bitField0_ & ~0x00000001); } result.interconnectAttachments_ = interconnectAttachments_; @@ -486,7 +558,8 @@ private void buildPartialRepeatedFields(com.google.cloud.edgenetwork.v1.ListInte } } - private void buildPartial0(com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse result) { + private void buildPartial0( + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -501,46 +574,51 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.ListInterconnectAttac public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse) { - return mergeFrom((com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse)other); + return mergeFrom( + (com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse other) { - if (other == com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse other) { + if (other + == com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse + .getDefaultInstance()) return this; if (interconnectAttachmentsBuilder_ == null) { if (!other.interconnectAttachments_.isEmpty()) { if (interconnectAttachments_.isEmpty()) { @@ -559,9 +637,10 @@ public Builder mergeFrom(com.google.cloud.edgenetwork.v1.ListInterconnectAttachm interconnectAttachmentsBuilder_ = null; interconnectAttachments_ = other.interconnectAttachments_; bitField0_ = (bitField0_ & ~0x00000001); - interconnectAttachmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getInterconnectAttachmentsFieldBuilder() : null; + interconnectAttachmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getInterconnectAttachmentsFieldBuilder() + : null; } else { interconnectAttachmentsBuilder_.addAllMessages(other.interconnectAttachments_); } @@ -608,36 +687,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.edgenetwork.v1.InterconnectAttachment m = - input.readMessage( - com.google.cloud.edgenetwork.v1.InterconnectAttachment.parser(), - extensionRegistry); - if (interconnectAttachmentsBuilder_ == null) { - ensureInterconnectAttachmentsIsMutable(); - interconnectAttachments_.add(m); - } else { - interconnectAttachmentsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.edgenetwork.v1.InterconnectAttachment m = + input.readMessage( + com.google.cloud.edgenetwork.v1.InterconnectAttachment.parser(), + extensionRegistry); + if (interconnectAttachmentsBuilder_ == null) { + ensureInterconnectAttachmentsIsMutable(); + interconnectAttachments_.add(m); + } else { + interconnectAttachmentsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -647,28 +730,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List interconnectAttachments_ = - java.util.Collections.emptyList(); + private java.util.List + interconnectAttachments_ = java.util.Collections.emptyList(); + private void ensureInterconnectAttachmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - interconnectAttachments_ = new java.util.ArrayList(interconnectAttachments_); + interconnectAttachments_ = + new java.util.ArrayList( + interconnectAttachments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.InterconnectAttachment, com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder, com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder> interconnectAttachmentsBuilder_; + com.google.cloud.edgenetwork.v1.InterconnectAttachment, + com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder, + com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder> + interconnectAttachmentsBuilder_; /** + * + * *
      * The list of InterconnectAttachment
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ - public java.util.List getInterconnectAttachmentsList() { + public java.util.List + getInterconnectAttachmentsList() { if (interconnectAttachmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(interconnectAttachments_); } else { @@ -676,11 +771,15 @@ public java.util.List ge } } /** + * + * *
      * The list of InterconnectAttachment
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ public int getInterconnectAttachmentsCount() { if (interconnectAttachmentsBuilder_ == null) { @@ -690,13 +789,18 @@ public int getInterconnectAttachmentsCount() { } } /** + * + * *
      * The list of InterconnectAttachment
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ - public com.google.cloud.edgenetwork.v1.InterconnectAttachment getInterconnectAttachments(int index) { + public com.google.cloud.edgenetwork.v1.InterconnectAttachment getInterconnectAttachments( + int index) { if (interconnectAttachmentsBuilder_ == null) { return interconnectAttachments_.get(index); } else { @@ -704,11 +808,15 @@ public com.google.cloud.edgenetwork.v1.InterconnectAttachment getInterconnectAtt } } /** + * + * *
      * The list of InterconnectAttachment
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ public Builder setInterconnectAttachments( int index, com.google.cloud.edgenetwork.v1.InterconnectAttachment value) { @@ -725,11 +833,15 @@ public Builder setInterconnectAttachments( return this; } /** + * + * *
      * The list of InterconnectAttachment
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ public Builder setInterconnectAttachments( int index, com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder builderForValue) { @@ -743,13 +855,18 @@ public Builder setInterconnectAttachments( return this; } /** + * + * *
      * The list of InterconnectAttachment
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ - public Builder addInterconnectAttachments(com.google.cloud.edgenetwork.v1.InterconnectAttachment value) { + public Builder addInterconnectAttachments( + com.google.cloud.edgenetwork.v1.InterconnectAttachment value) { if (interconnectAttachmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -763,11 +880,15 @@ public Builder addInterconnectAttachments(com.google.cloud.edgenetwork.v1.Interc return this; } /** + * + * *
      * The list of InterconnectAttachment
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ public Builder addInterconnectAttachments( int index, com.google.cloud.edgenetwork.v1.InterconnectAttachment value) { @@ -784,11 +905,15 @@ public Builder addInterconnectAttachments( return this; } /** + * + * *
      * The list of InterconnectAttachment
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ public Builder addInterconnectAttachments( com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder builderForValue) { @@ -802,11 +927,15 @@ public Builder addInterconnectAttachments( return this; } /** + * + * *
      * The list of InterconnectAttachment
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ public Builder addInterconnectAttachments( int index, com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder builderForValue) { @@ -820,18 +949,22 @@ public Builder addInterconnectAttachments( return this; } /** + * + * *
      * The list of InterconnectAttachment
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ public Builder addAllInterconnectAttachments( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (interconnectAttachmentsBuilder_ == null) { ensureInterconnectAttachmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, interconnectAttachments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, interconnectAttachments_); onChanged(); } else { interconnectAttachmentsBuilder_.addAllMessages(values); @@ -839,11 +972,15 @@ public Builder addAllInterconnectAttachments( return this; } /** + * + * *
      * The list of InterconnectAttachment
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ public Builder clearInterconnectAttachments() { if (interconnectAttachmentsBuilder_ == null) { @@ -856,11 +993,15 @@ public Builder clearInterconnectAttachments() { return this; } /** + * + * *
      * The list of InterconnectAttachment
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ public Builder removeInterconnectAttachments(int index) { if (interconnectAttachmentsBuilder_ == null) { @@ -873,39 +1014,52 @@ public Builder removeInterconnectAttachments(int index) { return this; } /** + * + * *
      * The list of InterconnectAttachment
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ - public com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder getInterconnectAttachmentsBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder + getInterconnectAttachmentsBuilder(int index) { return getInterconnectAttachmentsFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of InterconnectAttachment
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ - public com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder getInterconnectAttachmentsOrBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder + getInterconnectAttachmentsOrBuilder(int index) { if (interconnectAttachmentsBuilder_ == null) { - return interconnectAttachments_.get(index); } else { + return interconnectAttachments_.get(index); + } else { return interconnectAttachmentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of InterconnectAttachment
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ - public java.util.List - getInterconnectAttachmentsOrBuilderList() { + public java.util.List + getInterconnectAttachmentsOrBuilderList() { if (interconnectAttachmentsBuilder_ != null) { return interconnectAttachmentsBuilder_.getMessageOrBuilderList(); } else { @@ -913,45 +1067,65 @@ public com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder getInterc } } /** + * + * *
      * The list of InterconnectAttachment
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ - public com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder addInterconnectAttachmentsBuilder() { - return getInterconnectAttachmentsFieldBuilder().addBuilder( - com.google.cloud.edgenetwork.v1.InterconnectAttachment.getDefaultInstance()); + public com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder + addInterconnectAttachmentsBuilder() { + return getInterconnectAttachmentsFieldBuilder() + .addBuilder(com.google.cloud.edgenetwork.v1.InterconnectAttachment.getDefaultInstance()); } /** + * + * *
      * The list of InterconnectAttachment
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ - public com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder addInterconnectAttachmentsBuilder( - int index) { - return getInterconnectAttachmentsFieldBuilder().addBuilder( - index, com.google.cloud.edgenetwork.v1.InterconnectAttachment.getDefaultInstance()); + public com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder + addInterconnectAttachmentsBuilder(int index) { + return getInterconnectAttachmentsFieldBuilder() + .addBuilder( + index, com.google.cloud.edgenetwork.v1.InterconnectAttachment.getDefaultInstance()); } /** + * + * *
      * The list of InterconnectAttachment
      * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ - public java.util.List - getInterconnectAttachmentsBuilderList() { + public java.util.List + getInterconnectAttachmentsBuilderList() { return getInterconnectAttachmentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.InterconnectAttachment, com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder, com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder> + com.google.cloud.edgenetwork.v1.InterconnectAttachment, + com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder, + com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder> getInterconnectAttachmentsFieldBuilder() { if (interconnectAttachmentsBuilder_ == null) { - interconnectAttachmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.InterconnectAttachment, com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder, com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder>( + interconnectAttachmentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.edgenetwork.v1.InterconnectAttachment, + com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder, + com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder>( interconnectAttachments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -963,18 +1137,20 @@ public com.google.cloud.edgenetwork.v1.InterconnectAttachment.Builder addInterco private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -983,20 +1159,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -1004,28 +1181,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1035,17 +1219,21 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1055,6 +1243,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1062,35 +1251,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1098,31 +1295,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1130,17 +1333,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1148,50 +1355,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1199,9 +1414,9 @@ public Builder addUnreachableBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1211,41 +1426,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse) - private static final com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse(); } - public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse getDefaultInstance() { + public static com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInterconnectAttachmentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInterconnectAttachmentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1257,9 +1474,8 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse getDefaultInstanceForType() { + public com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsResponseOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsResponseOrBuilder.java similarity index 59% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsResponseOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsResponseOrBuilder.java index 4187c532ebcd..677e45c66a6b 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsResponseOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectAttachmentsResponseOrBuilder.java @@ -1,115 +1,166 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface ListInterconnectAttachmentsResponseOrBuilder extends +public interface ListInterconnectAttachmentsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of InterconnectAttachment
    * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ - java.util.List + java.util.List getInterconnectAttachmentsList(); /** + * + * *
    * The list of InterconnectAttachment
    * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ com.google.cloud.edgenetwork.v1.InterconnectAttachment getInterconnectAttachments(int index); /** + * + * *
    * The list of InterconnectAttachment
    * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ int getInterconnectAttachmentsCount(); /** + * + * *
    * The list of InterconnectAttachment
    * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ - java.util.List + java.util.List getInterconnectAttachmentsOrBuilderList(); /** + * + * *
    * The list of InterconnectAttachment
    * 
* - * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * + * repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; + * */ - com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder getInterconnectAttachmentsOrBuilder( - int index); + com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder + getInterconnectAttachmentsOrBuilder(int index); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsRequest.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsRequest.java similarity index 68% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsRequest.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsRequest.java index 4b0c07ee5529..ca9cdc5a5a71 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsRequest.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,21 +20,24 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for requesting list of Interconnects
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.ListInterconnectsRequest} */ -public final class ListInterconnectsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListInterconnectsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.ListInterconnectsRequest) ListInterconnectsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListInterconnectsRequest.newBuilder() to construct. private ListInterconnectsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListInterconnectsRequest() { parent_ = ""; pageToken_ = ""; @@ -29,33 +47,40 @@ private ListInterconnectsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListInterconnectsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListInterconnectsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListInterconnectsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListInterconnectsRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListInterconnectsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.ListInterconnectsRequest.class, com.google.cloud.edgenetwork.v1.ListInterconnectsRequest.Builder.class); + com.google.cloud.edgenetwork.v1.ListInterconnectsRequest.class, + com.google.cloud.edgenetwork.v1.ListInterconnectsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Parent value for ListInterconnectsRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,29 +89,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Parent value for ListInterconnectsRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -97,12 +124,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -111,14 +141,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -127,29 +161,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; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -158,14 +192,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -174,29 +212,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -205,14 +243,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -221,29 +263,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -252,6 +294,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,8 +306,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -293,8 +335,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -313,23 +354,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.edgenetwork.v1.ListInterconnectsRequest)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.ListInterconnectsRequest other = (com.google.cloud.edgenetwork.v1.ListInterconnectsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.edgenetwork.v1.ListInterconnectsRequest other = + (com.google.cloud.edgenetwork.v1.ListInterconnectsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -357,131 +394,136 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.ListInterconnectsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.ListInterconnectsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.ListInterconnectsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.ListInterconnectsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.ListInterconnectsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.ListInterconnectsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.edgenetwork.v1.ListInterconnectsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.edgenetwork.v1.ListInterconnectsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for requesting list of Interconnects
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.ListInterconnectsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.ListInterconnectsRequest) com.google.cloud.edgenetwork.v1.ListInterconnectsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListInterconnectsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListInterconnectsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListInterconnectsRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListInterconnectsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.ListInterconnectsRequest.class, com.google.cloud.edgenetwork.v1.ListInterconnectsRequest.Builder.class); + com.google.cloud.edgenetwork.v1.ListInterconnectsRequest.class, + com.google.cloud.edgenetwork.v1.ListInterconnectsRequest.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.ListInterconnectsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -495,9 +537,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListInterconnectsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListInterconnectsRequest_descriptor; } @java.lang.Override @@ -516,8 +558,11 @@ public com.google.cloud.edgenetwork.v1.ListInterconnectsRequest build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.ListInterconnectsRequest buildPartial() { - com.google.cloud.edgenetwork.v1.ListInterconnectsRequest result = new com.google.cloud.edgenetwork.v1.ListInterconnectsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.ListInterconnectsRequest result = + new com.google.cloud.edgenetwork.v1.ListInterconnectsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -545,38 +590,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.ListInterconnectsRequ public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.ListInterconnectsRequest) { - return mergeFrom((com.google.cloud.edgenetwork.v1.ListInterconnectsRequest)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.ListInterconnectsRequest) other); } else { super.mergeFrom(other); return this; @@ -584,7 +630,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.ListInterconnectsRequest other) { - if (other == com.google.cloud.edgenetwork.v1.ListInterconnectsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.ListInterconnectsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -634,37 +681,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -674,22 +727,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Parent value for ListInterconnectsRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -698,20 +756,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListInterconnectsRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -719,28 +780,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListInterconnectsRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Parent value for ListInterconnectsRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -750,17 +822,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Parent value for ListInterconnectsRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -768,14 +846,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -783,12 +864,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -800,12 +884,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -817,18 +904,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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,20 +926,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -858,28 +948,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -889,17 +986,21 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -909,18 +1010,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -929,20 +1032,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -950,28 +1054,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -981,17 +1092,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1001,18 +1116,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1021,20 +1138,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1042,28 +1160,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1073,26 +1198,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1102,12 +1231,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.ListInterconnectsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.ListInterconnectsRequest) private static final com.google.cloud.edgenetwork.v1.ListInterconnectsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.ListInterconnectsRequest(); } @@ -1116,27 +1245,27 @@ public static com.google.cloud.edgenetwork.v1.ListInterconnectsRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInterconnectsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInterconnectsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1151,6 +1280,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.ListInterconnectsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsRequestOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsRequestOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsRequestOrBuilder.java index 6c595b2a917c..9c4068868c9d 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsRequestOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsRequestOrBuilder.java @@ -1,101 +1,144 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface ListInterconnectsRequestOrBuilder extends +public interface ListInterconnectsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.ListInterconnectsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent value for ListInterconnectsRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Parent value for ListInterconnectsRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsResponse.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsResponse.java similarity index 72% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsResponse.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsResponse.java index 1751178e001f..29a57154bb94 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsResponse.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,52 +20,58 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for response to listing Interconnects
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.ListInterconnectsResponse} */ -public final class ListInterconnectsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListInterconnectsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.ListInterconnectsResponse) ListInterconnectsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListInterconnectsResponse.newBuilder() to construct. private ListInterconnectsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListInterconnectsResponse() { interconnects_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListInterconnectsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListInterconnectsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListInterconnectsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListInterconnectsResponse_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListInterconnectsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.ListInterconnectsResponse.class, com.google.cloud.edgenetwork.v1.ListInterconnectsResponse.Builder.class); + com.google.cloud.edgenetwork.v1.ListInterconnectsResponse.class, + com.google.cloud.edgenetwork.v1.ListInterconnectsResponse.Builder.class); } public static final int INTERCONNECTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List interconnects_; /** + * + * *
    * The list of Interconnect
    * 
@@ -62,6 +83,8 @@ public java.util.List getInterconn return interconnects_; } /** + * + * *
    * The list of Interconnect
    * 
@@ -69,11 +92,13 @@ public java.util.List getInterconn * repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInterconnectsOrBuilderList() { return interconnects_; } /** + * + * *
    * The list of Interconnect
    * 
@@ -85,6 +110,8 @@ public int getInterconnectsCount() { return interconnects_.size(); } /** + * + * *
    * The list of Interconnect
    * 
@@ -96,6 +123,8 @@ public com.google.cloud.edgenetwork.v1.Interconnect getInterconnects(int index) return interconnects_.get(index); } /** + * + * *
    * The list of Interconnect
    * 
@@ -109,14 +138,18 @@ public com.google.cloud.edgenetwork.v1.InterconnectOrBuilder getInterconnectsOrB } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,29 +158,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; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -156,38 +189,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -195,20 +237,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -220,8 +265,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 < interconnects_.size(); i++) { output.writeMessage(1, interconnects_.get(i)); } @@ -241,8 +285,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < interconnects_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, interconnects_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, interconnects_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -263,19 +306,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.edgenetwork.v1.ListInterconnectsResponse)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.ListInterconnectsResponse other = (com.google.cloud.edgenetwork.v1.ListInterconnectsResponse) obj; + com.google.cloud.edgenetwork.v1.ListInterconnectsResponse other = + (com.google.cloud.edgenetwork.v1.ListInterconnectsResponse) obj; - if (!getInterconnectsList() - .equals(other.getInterconnectsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getInterconnectsList().equals(other.getInterconnectsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -303,131 +344,136 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.ListInterconnectsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.ListInterconnectsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.ListInterconnectsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.ListInterconnectsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.ListInterconnectsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.ListInterconnectsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.ListInterconnectsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.edgenetwork.v1.ListInterconnectsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.edgenetwork.v1.ListInterconnectsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for response to listing Interconnects
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.ListInterconnectsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.ListInterconnectsResponse) com.google.cloud.edgenetwork.v1.ListInterconnectsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListInterconnectsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListInterconnectsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListInterconnectsResponse_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListInterconnectsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.ListInterconnectsResponse.class, com.google.cloud.edgenetwork.v1.ListInterconnectsResponse.Builder.class); + com.google.cloud.edgenetwork.v1.ListInterconnectsResponse.class, + com.google.cloud.edgenetwork.v1.ListInterconnectsResponse.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.ListInterconnectsResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -440,15 +486,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListInterconnectsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListInterconnectsResponse_descriptor; } @java.lang.Override @@ -467,14 +512,18 @@ public com.google.cloud.edgenetwork.v1.ListInterconnectsResponse build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.ListInterconnectsResponse buildPartial() { - com.google.cloud.edgenetwork.v1.ListInterconnectsResponse result = new com.google.cloud.edgenetwork.v1.ListInterconnectsResponse(this); + com.google.cloud.edgenetwork.v1.ListInterconnectsResponse result = + new com.google.cloud.edgenetwork.v1.ListInterconnectsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.edgenetwork.v1.ListInterconnectsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.edgenetwork.v1.ListInterconnectsResponse result) { if (interconnectsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { interconnects_ = java.util.Collections.unmodifiableList(interconnects_); @@ -501,38 +550,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.ListInterconnectsResp public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.ListInterconnectsResponse) { - return mergeFrom((com.google.cloud.edgenetwork.v1.ListInterconnectsResponse)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.ListInterconnectsResponse) other); } else { super.mergeFrom(other); return this; @@ -540,7 +590,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.ListInterconnectsResponse other) { - if (other == com.google.cloud.edgenetwork.v1.ListInterconnectsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.ListInterconnectsResponse.getDefaultInstance()) + return this; if (interconnectsBuilder_ == null) { if (!other.interconnects_.isEmpty()) { if (interconnects_.isEmpty()) { @@ -559,9 +610,10 @@ public Builder mergeFrom(com.google.cloud.edgenetwork.v1.ListInterconnectsRespon interconnectsBuilder_ = null; interconnects_ = other.interconnects_; bitField0_ = (bitField0_ & ~0x00000001); - interconnectsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getInterconnectsFieldBuilder() : null; + interconnectsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getInterconnectsFieldBuilder() + : null; } else { interconnectsBuilder_.addAllMessages(other.interconnects_); } @@ -608,36 +660,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.edgenetwork.v1.Interconnect m = - input.readMessage( - com.google.cloud.edgenetwork.v1.Interconnect.parser(), - extensionRegistry); - if (interconnectsBuilder_ == null) { - ensureInterconnectsIsMutable(); - interconnects_.add(m); - } else { - interconnectsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.edgenetwork.v1.Interconnect m = + input.readMessage( + com.google.cloud.edgenetwork.v1.Interconnect.parser(), extensionRegistry); + if (interconnectsBuilder_ == null) { + ensureInterconnectsIsMutable(); + interconnects_.add(m); + } else { + interconnectsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -647,21 +702,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List interconnects_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureInterconnectsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - interconnects_ = new java.util.ArrayList(interconnects_); + interconnects_ = + new java.util.ArrayList(interconnects_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Interconnect, com.google.cloud.edgenetwork.v1.Interconnect.Builder, com.google.cloud.edgenetwork.v1.InterconnectOrBuilder> interconnectsBuilder_; + com.google.cloud.edgenetwork.v1.Interconnect, + com.google.cloud.edgenetwork.v1.Interconnect.Builder, + com.google.cloud.edgenetwork.v1.InterconnectOrBuilder> + interconnectsBuilder_; /** + * + * *
      * The list of Interconnect
      * 
@@ -676,6 +739,8 @@ public java.util.List getInterconn } } /** + * + * *
      * The list of Interconnect
      * 
@@ -690,6 +755,8 @@ public int getInterconnectsCount() { } } /** + * + * *
      * The list of Interconnect
      * 
@@ -704,14 +771,15 @@ public com.google.cloud.edgenetwork.v1.Interconnect getInterconnects(int index) } } /** + * + * *
      * The list of Interconnect
      * 
* * repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1; */ - public Builder setInterconnects( - int index, com.google.cloud.edgenetwork.v1.Interconnect value) { + public Builder setInterconnects(int index, com.google.cloud.edgenetwork.v1.Interconnect value) { if (interconnectsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -725,6 +793,8 @@ public Builder setInterconnects( return this; } /** + * + * *
      * The list of Interconnect
      * 
@@ -743,6 +813,8 @@ public Builder setInterconnects( return this; } /** + * + * *
      * The list of Interconnect
      * 
@@ -763,14 +835,15 @@ public Builder addInterconnects(com.google.cloud.edgenetwork.v1.Interconnect val return this; } /** + * + * *
      * The list of Interconnect
      * 
* * repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1; */ - public Builder addInterconnects( - int index, com.google.cloud.edgenetwork.v1.Interconnect value) { + public Builder addInterconnects(int index, com.google.cloud.edgenetwork.v1.Interconnect value) { if (interconnectsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -784,6 +857,8 @@ public Builder addInterconnects( return this; } /** + * + * *
      * The list of Interconnect
      * 
@@ -802,6 +877,8 @@ public Builder addInterconnects( return this; } /** + * + * *
      * The list of Interconnect
      * 
@@ -820,6 +897,8 @@ public Builder addInterconnects( return this; } /** + * + * *
      * The list of Interconnect
      * 
@@ -830,8 +909,7 @@ public Builder addAllInterconnects( java.lang.Iterable values) { if (interconnectsBuilder_ == null) { ensureInterconnectsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, interconnects_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, interconnects_); onChanged(); } else { interconnectsBuilder_.addAllMessages(values); @@ -839,6 +917,8 @@ public Builder addAllInterconnects( return this; } /** + * + * *
      * The list of Interconnect
      * 
@@ -856,6 +936,8 @@ public Builder clearInterconnects() { return this; } /** + * + * *
      * The list of Interconnect
      * 
@@ -873,17 +955,20 @@ public Builder removeInterconnects(int index) { return this; } /** + * + * *
      * The list of Interconnect
      * 
* * repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1; */ - public com.google.cloud.edgenetwork.v1.Interconnect.Builder getInterconnectsBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.Interconnect.Builder getInterconnectsBuilder(int index) { return getInterconnectsFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of Interconnect
      * 
@@ -893,19 +978,22 @@ public com.google.cloud.edgenetwork.v1.Interconnect.Builder getInterconnectsBuil public com.google.cloud.edgenetwork.v1.InterconnectOrBuilder getInterconnectsOrBuilder( int index) { if (interconnectsBuilder_ == null) { - return interconnects_.get(index); } else { + return interconnects_.get(index); + } else { return interconnectsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of Interconnect
      * 
* * repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1; */ - public java.util.List - getInterconnectsOrBuilderList() { + public java.util.List + getInterconnectsOrBuilderList() { if (interconnectsBuilder_ != null) { return interconnectsBuilder_.getMessageOrBuilderList(); } else { @@ -913,6 +1001,8 @@ public com.google.cloud.edgenetwork.v1.InterconnectOrBuilder getInterconnectsOrB } } /** + * + * *
      * The list of Interconnect
      * 
@@ -920,38 +1010,47 @@ public com.google.cloud.edgenetwork.v1.InterconnectOrBuilder getInterconnectsOrB * repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1; */ public com.google.cloud.edgenetwork.v1.Interconnect.Builder addInterconnectsBuilder() { - return getInterconnectsFieldBuilder().addBuilder( - com.google.cloud.edgenetwork.v1.Interconnect.getDefaultInstance()); + return getInterconnectsFieldBuilder() + .addBuilder(com.google.cloud.edgenetwork.v1.Interconnect.getDefaultInstance()); } /** + * + * *
      * The list of Interconnect
      * 
* * repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1; */ - public com.google.cloud.edgenetwork.v1.Interconnect.Builder addInterconnectsBuilder( - int index) { - return getInterconnectsFieldBuilder().addBuilder( - index, com.google.cloud.edgenetwork.v1.Interconnect.getDefaultInstance()); + public com.google.cloud.edgenetwork.v1.Interconnect.Builder addInterconnectsBuilder(int index) { + return getInterconnectsFieldBuilder() + .addBuilder(index, com.google.cloud.edgenetwork.v1.Interconnect.getDefaultInstance()); } /** + * + * *
      * The list of Interconnect
      * 
* * repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1; */ - public java.util.List - getInterconnectsBuilderList() { + public java.util.List + getInterconnectsBuilderList() { return getInterconnectsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Interconnect, com.google.cloud.edgenetwork.v1.Interconnect.Builder, com.google.cloud.edgenetwork.v1.InterconnectOrBuilder> + com.google.cloud.edgenetwork.v1.Interconnect, + com.google.cloud.edgenetwork.v1.Interconnect.Builder, + com.google.cloud.edgenetwork.v1.InterconnectOrBuilder> getInterconnectsFieldBuilder() { if (interconnectsBuilder_ == null) { - interconnectsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Interconnect, com.google.cloud.edgenetwork.v1.Interconnect.Builder, com.google.cloud.edgenetwork.v1.InterconnectOrBuilder>( + interconnectsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.edgenetwork.v1.Interconnect, + com.google.cloud.edgenetwork.v1.Interconnect.Builder, + com.google.cloud.edgenetwork.v1.InterconnectOrBuilder>( interconnects_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -963,18 +1062,20 @@ public com.google.cloud.edgenetwork.v1.Interconnect.Builder addInterconnectsBuil private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -983,20 +1084,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -1004,28 +1106,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1035,17 +1144,21 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1055,6 +1168,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1062,35 +1176,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1098,31 +1220,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1130,17 +1258,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1148,50 +1280,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1199,9 +1339,9 @@ public Builder addUnreachableBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1211,12 +1351,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.ListInterconnectsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.ListInterconnectsResponse) private static final com.google.cloud.edgenetwork.v1.ListInterconnectsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.ListInterconnectsResponse(); } @@ -1225,27 +1365,27 @@ public static com.google.cloud.edgenetwork.v1.ListInterconnectsResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInterconnectsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInterconnectsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1260,6 +1400,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.edgenetwork.v1.ListInterconnectsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsResponseOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsResponseOrBuilder.java similarity index 71% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsResponseOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsResponseOrBuilder.java index d3d90d9b46e0..210bf16f5f93 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsResponseOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListInterconnectsResponseOrBuilder.java @@ -1,23 +1,42 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface ListInterconnectsResponseOrBuilder extends +public interface ListInterconnectsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.ListInterconnectsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of Interconnect
    * 
* * repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1; */ - java.util.List - getInterconnectsList(); + java.util.List getInterconnectsList(); /** + * + * *
    * The list of Interconnect
    * 
@@ -26,6 +45,8 @@ public interface ListInterconnectsResponseOrBuilder extends */ com.google.cloud.edgenetwork.v1.Interconnect getInterconnects(int index); /** + * + * *
    * The list of Interconnect
    * 
@@ -34,82 +55,100 @@ public interface ListInterconnectsResponseOrBuilder extends */ int getInterconnectsCount(); /** + * + * *
    * The list of Interconnect
    * 
* * repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1; */ - java.util.List + java.util.List getInterconnectsOrBuilderList(); /** + * + * *
    * The list of Interconnect
    * 
* * repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1; */ - com.google.cloud.edgenetwork.v1.InterconnectOrBuilder getInterconnectsOrBuilder( - int index); + com.google.cloud.edgenetwork.v1.InterconnectOrBuilder getInterconnectsOrBuilder(int index); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksRequest.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksRequest.java similarity index 68% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksRequest.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksRequest.java index 5c508cdc6e87..92176136394d 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksRequest.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,21 +20,24 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for requesting list of Networks
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.ListNetworksRequest} */ -public final class ListNetworksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListNetworksRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.ListNetworksRequest) ListNetworksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListNetworksRequest.newBuilder() to construct. private ListNetworksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListNetworksRequest() { parent_ = ""; pageToken_ = ""; @@ -29,33 +47,40 @@ private ListNetworksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListNetworksRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListNetworksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListNetworksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListNetworksRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListNetworksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.ListNetworksRequest.class, com.google.cloud.edgenetwork.v1.ListNetworksRequest.Builder.class); + com.google.cloud.edgenetwork.v1.ListNetworksRequest.class, + com.google.cloud.edgenetwork.v1.ListNetworksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Parent value for ListNetworksRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,29 +89,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Parent value for ListNetworksRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -97,12 +124,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -111,14 +141,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -127,29 +161,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; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -158,14 +192,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -174,29 +212,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -205,14 +243,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -221,29 +263,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -252,6 +294,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,8 +306,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -293,8 +335,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -313,23 +354,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.edgenetwork.v1.ListNetworksRequest)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.ListNetworksRequest other = (com.google.cloud.edgenetwork.v1.ListNetworksRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.edgenetwork.v1.ListNetworksRequest other = + (com.google.cloud.edgenetwork.v1.ListNetworksRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -357,131 +394,135 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.ListNetworksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListNetworksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListNetworksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListNetworksRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListNetworksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListNetworksRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.ListNetworksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.ListNetworksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.ListNetworksRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.ListNetworksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.ListNetworksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.ListNetworksRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListNetworksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.ListNetworksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.ListNetworksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for requesting list of Networks
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.ListNetworksRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.ListNetworksRequest) com.google.cloud.edgenetwork.v1.ListNetworksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListNetworksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListNetworksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListNetworksRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListNetworksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.ListNetworksRequest.class, com.google.cloud.edgenetwork.v1.ListNetworksRequest.Builder.class); + com.google.cloud.edgenetwork.v1.ListNetworksRequest.class, + com.google.cloud.edgenetwork.v1.ListNetworksRequest.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.ListNetworksRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -495,9 +536,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListNetworksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListNetworksRequest_descriptor; } @java.lang.Override @@ -516,8 +557,11 @@ public com.google.cloud.edgenetwork.v1.ListNetworksRequest build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.ListNetworksRequest buildPartial() { - com.google.cloud.edgenetwork.v1.ListNetworksRequest result = new com.google.cloud.edgenetwork.v1.ListNetworksRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.ListNetworksRequest result = + new com.google.cloud.edgenetwork.v1.ListNetworksRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -545,38 +589,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.ListNetworksRequest r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.ListNetworksRequest) { - return mergeFrom((com.google.cloud.edgenetwork.v1.ListNetworksRequest)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.ListNetworksRequest) other); } else { super.mergeFrom(other); return this; @@ -584,7 +629,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.ListNetworksRequest other) { - if (other == com.google.cloud.edgenetwork.v1.ListNetworksRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.ListNetworksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -634,37 +680,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -674,22 +726,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Parent value for ListNetworksRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -698,20 +755,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListNetworksRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -719,28 +779,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListNetworksRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Parent value for ListNetworksRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -750,17 +821,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Parent value for ListNetworksRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -768,14 +845,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -783,12 +863,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -800,12 +883,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -817,18 +903,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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,20 +925,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -858,28 +947,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -889,17 +985,21 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -909,18 +1009,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -929,20 +1031,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -950,28 +1053,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -981,17 +1091,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1001,18 +1115,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1021,20 +1137,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1042,28 +1159,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1073,26 +1197,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1102,12 +1230,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.ListNetworksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.ListNetworksRequest) private static final com.google.cloud.edgenetwork.v1.ListNetworksRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.ListNetworksRequest(); } @@ -1116,27 +1244,27 @@ public static com.google.cloud.edgenetwork.v1.ListNetworksRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListNetworksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNetworksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1151,6 +1279,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.ListNetworksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksRequestOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksRequestOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksRequestOrBuilder.java index 9f249cb76e08..98d4660f5d49 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksRequestOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksRequestOrBuilder.java @@ -1,101 +1,144 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface ListNetworksRequestOrBuilder extends +public interface ListNetworksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.ListNetworksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent value for ListNetworksRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Parent value for ListNetworksRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksResponse.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksResponse.java similarity index 72% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksResponse.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksResponse.java index ad52f98fd1e5..cc79834a43ed 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksResponse.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,52 +20,58 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for response to listing Networks
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.ListNetworksResponse} */ -public final class ListNetworksResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListNetworksResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.ListNetworksResponse) ListNetworksResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListNetworksResponse.newBuilder() to construct. private ListNetworksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListNetworksResponse() { networks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListNetworksResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListNetworksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListNetworksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListNetworksResponse_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListNetworksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.ListNetworksResponse.class, com.google.cloud.edgenetwork.v1.ListNetworksResponse.Builder.class); + com.google.cloud.edgenetwork.v1.ListNetworksResponse.class, + com.google.cloud.edgenetwork.v1.ListNetworksResponse.Builder.class); } public static final int NETWORKS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List networks_; /** + * + * *
    * The list of Network
    * 
@@ -62,6 +83,8 @@ public java.util.List getNetworksList() return networks_; } /** + * + * *
    * The list of Network
    * 
@@ -69,11 +92,13 @@ public java.util.List getNetworksList() * repeated .google.cloud.edgenetwork.v1.Network networks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getNetworksOrBuilderList() { return networks_; } /** + * + * *
    * The list of Network
    * 
@@ -85,6 +110,8 @@ public int getNetworksCount() { return networks_.size(); } /** + * + * *
    * The list of Network
    * 
@@ -96,6 +123,8 @@ public com.google.cloud.edgenetwork.v1.Network getNetworks(int index) { return networks_.get(index); } /** + * + * *
    * The list of Network
    * 
@@ -103,20 +132,23 @@ public com.google.cloud.edgenetwork.v1.Network getNetworks(int index) { * repeated .google.cloud.edgenetwork.v1.Network networks = 1; */ @java.lang.Override - public com.google.cloud.edgenetwork.v1.NetworkOrBuilder getNetworksOrBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.NetworkOrBuilder getNetworksOrBuilder(int index) { return networks_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,29 +157,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; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -156,38 +188,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -195,20 +236,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -220,8 +264,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < networks_.size(); i++) { output.writeMessage(1, networks_.get(i)); } @@ -241,8 +284,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < networks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, networks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, networks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -263,19 +305,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.edgenetwork.v1.ListNetworksResponse)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.ListNetworksResponse other = (com.google.cloud.edgenetwork.v1.ListNetworksResponse) obj; + com.google.cloud.edgenetwork.v1.ListNetworksResponse other = + (com.google.cloud.edgenetwork.v1.ListNetworksResponse) obj; - if (!getNetworksList() - .equals(other.getNetworksList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getNetworksList().equals(other.getNetworksList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -303,131 +343,135 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.ListNetworksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListNetworksResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListNetworksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListNetworksResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListNetworksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListNetworksResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.ListNetworksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.ListNetworksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.ListNetworksResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.ListNetworksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.ListNetworksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.ListNetworksResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListNetworksResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.ListNetworksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.ListNetworksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for response to listing Networks
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.ListNetworksResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.ListNetworksResponse) com.google.cloud.edgenetwork.v1.ListNetworksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListNetworksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListNetworksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListNetworksResponse_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListNetworksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.ListNetworksResponse.class, com.google.cloud.edgenetwork.v1.ListNetworksResponse.Builder.class); + com.google.cloud.edgenetwork.v1.ListNetworksResponse.class, + com.google.cloud.edgenetwork.v1.ListNetworksResponse.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.ListNetworksResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -440,15 +484,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListNetworksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListNetworksResponse_descriptor; } @java.lang.Override @@ -467,14 +510,18 @@ public com.google.cloud.edgenetwork.v1.ListNetworksResponse build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.ListNetworksResponse buildPartial() { - com.google.cloud.edgenetwork.v1.ListNetworksResponse result = new com.google.cloud.edgenetwork.v1.ListNetworksResponse(this); + com.google.cloud.edgenetwork.v1.ListNetworksResponse result = + new com.google.cloud.edgenetwork.v1.ListNetworksResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.edgenetwork.v1.ListNetworksResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.edgenetwork.v1.ListNetworksResponse result) { if (networksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { networks_ = java.util.Collections.unmodifiableList(networks_); @@ -501,38 +548,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.ListNetworksResponse public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.ListNetworksResponse) { - return mergeFrom((com.google.cloud.edgenetwork.v1.ListNetworksResponse)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.ListNetworksResponse) other); } else { super.mergeFrom(other); return this; @@ -540,7 +588,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.ListNetworksResponse other) { - if (other == com.google.cloud.edgenetwork.v1.ListNetworksResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.ListNetworksResponse.getDefaultInstance()) + return this; if (networksBuilder_ == null) { if (!other.networks_.isEmpty()) { if (networks_.isEmpty()) { @@ -559,9 +608,10 @@ public Builder mergeFrom(com.google.cloud.edgenetwork.v1.ListNetworksResponse ot networksBuilder_ = null; networks_ = other.networks_; bitField0_ = (bitField0_ & ~0x00000001); - networksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getNetworksFieldBuilder() : null; + networksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getNetworksFieldBuilder() + : null; } else { networksBuilder_.addAllMessages(other.networks_); } @@ -608,36 +658,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.edgenetwork.v1.Network m = - input.readMessage( - com.google.cloud.edgenetwork.v1.Network.parser(), - extensionRegistry); - if (networksBuilder_ == null) { - ensureNetworksIsMutable(); - networks_.add(m); - } else { - networksBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.edgenetwork.v1.Network m = + input.readMessage( + com.google.cloud.edgenetwork.v1.Network.parser(), extensionRegistry); + if (networksBuilder_ == null) { + ensureNetworksIsMutable(); + networks_.add(m); + } else { + networksBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -647,21 +700,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List networks_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureNetworksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { networks_ = new java.util.ArrayList(networks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Network, com.google.cloud.edgenetwork.v1.Network.Builder, com.google.cloud.edgenetwork.v1.NetworkOrBuilder> networksBuilder_; + com.google.cloud.edgenetwork.v1.Network, + com.google.cloud.edgenetwork.v1.Network.Builder, + com.google.cloud.edgenetwork.v1.NetworkOrBuilder> + networksBuilder_; /** + * + * *
      * The list of Network
      * 
@@ -676,6 +736,8 @@ public java.util.List getNetworksList() } } /** + * + * *
      * The list of Network
      * 
@@ -690,6 +752,8 @@ public int getNetworksCount() { } } /** + * + * *
      * The list of Network
      * 
@@ -704,14 +768,15 @@ public com.google.cloud.edgenetwork.v1.Network getNetworks(int index) { } } /** + * + * *
      * The list of Network
      * 
* * repeated .google.cloud.edgenetwork.v1.Network networks = 1; */ - public Builder setNetworks( - int index, com.google.cloud.edgenetwork.v1.Network value) { + public Builder setNetworks(int index, com.google.cloud.edgenetwork.v1.Network value) { if (networksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -725,6 +790,8 @@ public Builder setNetworks( return this; } /** + * + * *
      * The list of Network
      * 
@@ -743,6 +810,8 @@ public Builder setNetworks( return this; } /** + * + * *
      * The list of Network
      * 
@@ -763,14 +832,15 @@ public Builder addNetworks(com.google.cloud.edgenetwork.v1.Network value) { return this; } /** + * + * *
      * The list of Network
      * 
* * repeated .google.cloud.edgenetwork.v1.Network networks = 1; */ - public Builder addNetworks( - int index, com.google.cloud.edgenetwork.v1.Network value) { + public Builder addNetworks(int index, com.google.cloud.edgenetwork.v1.Network value) { if (networksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -784,14 +854,15 @@ public Builder addNetworks( return this; } /** + * + * *
      * The list of Network
      * 
* * repeated .google.cloud.edgenetwork.v1.Network networks = 1; */ - public Builder addNetworks( - com.google.cloud.edgenetwork.v1.Network.Builder builderForValue) { + public Builder addNetworks(com.google.cloud.edgenetwork.v1.Network.Builder builderForValue) { if (networksBuilder_ == null) { ensureNetworksIsMutable(); networks_.add(builderForValue.build()); @@ -802,6 +873,8 @@ public Builder addNetworks( return this; } /** + * + * *
      * The list of Network
      * 
@@ -820,6 +893,8 @@ public Builder addNetworks( return this; } /** + * + * *
      * The list of Network
      * 
@@ -830,8 +905,7 @@ public Builder addAllNetworks( java.lang.Iterable values) { if (networksBuilder_ == null) { ensureNetworksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, networks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, networks_); onChanged(); } else { networksBuilder_.addAllMessages(values); @@ -839,6 +913,8 @@ public Builder addAllNetworks( return this; } /** + * + * *
      * The list of Network
      * 
@@ -856,6 +932,8 @@ public Builder clearNetworks() { return this; } /** + * + * *
      * The list of Network
      * 
@@ -873,39 +951,44 @@ public Builder removeNetworks(int index) { return this; } /** + * + * *
      * The list of Network
      * 
* * repeated .google.cloud.edgenetwork.v1.Network networks = 1; */ - public com.google.cloud.edgenetwork.v1.Network.Builder getNetworksBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.Network.Builder getNetworksBuilder(int index) { return getNetworksFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of Network
      * 
* * repeated .google.cloud.edgenetwork.v1.Network networks = 1; */ - public com.google.cloud.edgenetwork.v1.NetworkOrBuilder getNetworksOrBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.NetworkOrBuilder getNetworksOrBuilder(int index) { if (networksBuilder_ == null) { - return networks_.get(index); } else { + return networks_.get(index); + } else { return networksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of Network
      * 
* * repeated .google.cloud.edgenetwork.v1.Network networks = 1; */ - public java.util.List - getNetworksOrBuilderList() { + public java.util.List + getNetworksOrBuilderList() { if (networksBuilder_ != null) { return networksBuilder_.getMessageOrBuilderList(); } else { @@ -913,6 +996,8 @@ public com.google.cloud.edgenetwork.v1.NetworkOrBuilder getNetworksOrBuilder( } } /** + * + * *
      * The list of Network
      * 
@@ -920,42 +1005,48 @@ public com.google.cloud.edgenetwork.v1.NetworkOrBuilder getNetworksOrBuilder( * repeated .google.cloud.edgenetwork.v1.Network networks = 1; */ public com.google.cloud.edgenetwork.v1.Network.Builder addNetworksBuilder() { - return getNetworksFieldBuilder().addBuilder( - com.google.cloud.edgenetwork.v1.Network.getDefaultInstance()); + return getNetworksFieldBuilder() + .addBuilder(com.google.cloud.edgenetwork.v1.Network.getDefaultInstance()); } /** + * + * *
      * The list of Network
      * 
* * repeated .google.cloud.edgenetwork.v1.Network networks = 1; */ - public com.google.cloud.edgenetwork.v1.Network.Builder addNetworksBuilder( - int index) { - return getNetworksFieldBuilder().addBuilder( - index, com.google.cloud.edgenetwork.v1.Network.getDefaultInstance()); + public com.google.cloud.edgenetwork.v1.Network.Builder addNetworksBuilder(int index) { + return getNetworksFieldBuilder() + .addBuilder(index, com.google.cloud.edgenetwork.v1.Network.getDefaultInstance()); } /** + * + * *
      * The list of Network
      * 
* * repeated .google.cloud.edgenetwork.v1.Network networks = 1; */ - public java.util.List - getNetworksBuilderList() { + public java.util.List + getNetworksBuilderList() { return getNetworksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Network, com.google.cloud.edgenetwork.v1.Network.Builder, com.google.cloud.edgenetwork.v1.NetworkOrBuilder> + com.google.cloud.edgenetwork.v1.Network, + com.google.cloud.edgenetwork.v1.Network.Builder, + com.google.cloud.edgenetwork.v1.NetworkOrBuilder> getNetworksFieldBuilder() { if (networksBuilder_ == null) { - networksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Network, com.google.cloud.edgenetwork.v1.Network.Builder, com.google.cloud.edgenetwork.v1.NetworkOrBuilder>( - networks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + networksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.edgenetwork.v1.Network, + com.google.cloud.edgenetwork.v1.Network.Builder, + com.google.cloud.edgenetwork.v1.NetworkOrBuilder>( + networks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); networks_ = null; } return networksBuilder_; @@ -963,18 +1054,20 @@ public com.google.cloud.edgenetwork.v1.Network.Builder addNetworksBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -983,20 +1076,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -1004,28 +1098,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1035,17 +1136,21 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1055,6 +1160,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1062,35 +1168,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1098,31 +1212,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1130,17 +1250,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1148,50 +1272,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1199,9 +1331,9 @@ public Builder addUnreachableBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1211,12 +1343,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.ListNetworksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.ListNetworksResponse) private static final com.google.cloud.edgenetwork.v1.ListNetworksResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.ListNetworksResponse(); } @@ -1225,27 +1357,27 @@ public static com.google.cloud.edgenetwork.v1.ListNetworksResponse getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListNetworksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNetworksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1260,6 +1392,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.ListNetworksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksResponseOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksResponseOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksResponseOrBuilder.java index 1084ba8cb5ce..1853371ab71c 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksResponseOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListNetworksResponseOrBuilder.java @@ -1,23 +1,42 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface ListNetworksResponseOrBuilder extends +public interface ListNetworksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.ListNetworksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of Network
    * 
* * repeated .google.cloud.edgenetwork.v1.Network networks = 1; */ - java.util.List - getNetworksList(); + java.util.List getNetworksList(); /** + * + * *
    * The list of Network
    * 
@@ -26,6 +45,8 @@ public interface ListNetworksResponseOrBuilder extends */ com.google.cloud.edgenetwork.v1.Network getNetworks(int index); /** + * + * *
    * The list of Network
    * 
@@ -34,82 +55,100 @@ public interface ListNetworksResponseOrBuilder extends */ int getNetworksCount(); /** + * + * *
    * The list of Network
    * 
* * repeated .google.cloud.edgenetwork.v1.Network networks = 1; */ - java.util.List + java.util.List getNetworksOrBuilderList(); /** + * + * *
    * The list of Network
    * 
* * repeated .google.cloud.edgenetwork.v1.Network networks = 1; */ - com.google.cloud.edgenetwork.v1.NetworkOrBuilder getNetworksOrBuilder( - int index); + com.google.cloud.edgenetwork.v1.NetworkOrBuilder getNetworksOrBuilder(int index); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersRequest.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersRequest.java similarity index 68% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersRequest.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersRequest.java index 057e1cf768ef..119aa6deadc5 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersRequest.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,21 +20,24 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for requesting list of Routers
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.ListRoutersRequest} */ -public final class ListRoutersRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRoutersRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.ListRoutersRequest) ListRoutersRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRoutersRequest.newBuilder() to construct. private ListRoutersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRoutersRequest() { parent_ = ""; pageToken_ = ""; @@ -29,33 +47,40 @@ private ListRoutersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRoutersRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListRoutersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListRoutersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListRoutersRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListRoutersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.ListRoutersRequest.class, com.google.cloud.edgenetwork.v1.ListRoutersRequest.Builder.class); + com.google.cloud.edgenetwork.v1.ListRoutersRequest.class, + com.google.cloud.edgenetwork.v1.ListRoutersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Parent value for ListRoutersRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,29 +89,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Parent value for ListRoutersRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -97,12 +124,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -111,14 +141,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -127,29 +161,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; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -158,14 +192,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -174,29 +212,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -205,14 +243,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -221,29 +263,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -252,6 +294,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,8 +306,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -293,8 +335,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -313,23 +354,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.edgenetwork.v1.ListRoutersRequest)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.ListRoutersRequest other = (com.google.cloud.edgenetwork.v1.ListRoutersRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.edgenetwork.v1.ListRoutersRequest other = + (com.google.cloud.edgenetwork.v1.ListRoutersRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -357,131 +394,135 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.ListRoutersRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListRoutersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListRoutersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListRoutersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListRoutersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListRoutersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.ListRoutersRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.ListRoutersRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.ListRoutersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.ListRoutersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.ListRoutersRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.ListRoutersRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListRoutersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.ListRoutersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.ListRoutersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for requesting list of Routers
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.ListRoutersRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.ListRoutersRequest) com.google.cloud.edgenetwork.v1.ListRoutersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListRoutersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListRoutersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListRoutersRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListRoutersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.ListRoutersRequest.class, com.google.cloud.edgenetwork.v1.ListRoutersRequest.Builder.class); + com.google.cloud.edgenetwork.v1.ListRoutersRequest.class, + com.google.cloud.edgenetwork.v1.ListRoutersRequest.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.ListRoutersRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -495,9 +536,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListRoutersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListRoutersRequest_descriptor; } @java.lang.Override @@ -516,8 +557,11 @@ public com.google.cloud.edgenetwork.v1.ListRoutersRequest build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.ListRoutersRequest buildPartial() { - com.google.cloud.edgenetwork.v1.ListRoutersRequest result = new com.google.cloud.edgenetwork.v1.ListRoutersRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.ListRoutersRequest result = + new com.google.cloud.edgenetwork.v1.ListRoutersRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -545,38 +589,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.ListRoutersRequest re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.ListRoutersRequest) { - return mergeFrom((com.google.cloud.edgenetwork.v1.ListRoutersRequest)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.ListRoutersRequest) other); } else { super.mergeFrom(other); return this; @@ -584,7 +629,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.ListRoutersRequest other) { - if (other == com.google.cloud.edgenetwork.v1.ListRoutersRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.ListRoutersRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -634,37 +680,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -674,22 +726,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Parent value for ListRoutersRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -698,20 +755,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListRoutersRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -719,28 +779,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListRoutersRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Parent value for ListRoutersRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -750,17 +821,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Parent value for ListRoutersRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -768,14 +845,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -783,12 +863,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -800,12 +883,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -817,18 +903,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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,20 +925,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -858,28 +947,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -889,17 +985,21 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -909,18 +1009,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -929,20 +1031,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -950,28 +1053,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -981,17 +1091,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1001,18 +1115,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1021,20 +1137,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1042,28 +1159,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1073,26 +1197,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1102,12 +1230,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.ListRoutersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.ListRoutersRequest) private static final com.google.cloud.edgenetwork.v1.ListRoutersRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.ListRoutersRequest(); } @@ -1116,27 +1244,27 @@ public static com.google.cloud.edgenetwork.v1.ListRoutersRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRoutersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRoutersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1151,6 +1279,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.ListRoutersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersRequestOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersRequestOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersRequestOrBuilder.java index dfc53fd61a3f..8ca1e7d88ac3 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersRequestOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersRequestOrBuilder.java @@ -1,101 +1,144 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface ListRoutersRequestOrBuilder extends +public interface ListRoutersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.ListRoutersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent value for ListRoutersRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Parent value for ListRoutersRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersResponse.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersResponse.java similarity index 71% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersResponse.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersResponse.java index bde055ad3553..8c0c97857537 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersResponse.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,52 +20,58 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for response to listing Routers
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.ListRoutersResponse} */ -public final class ListRoutersResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRoutersResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.ListRoutersResponse) ListRoutersResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRoutersResponse.newBuilder() to construct. private ListRoutersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRoutersResponse() { routers_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRoutersResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListRoutersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListRoutersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListRoutersResponse_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListRoutersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.ListRoutersResponse.class, com.google.cloud.edgenetwork.v1.ListRoutersResponse.Builder.class); + com.google.cloud.edgenetwork.v1.ListRoutersResponse.class, + com.google.cloud.edgenetwork.v1.ListRoutersResponse.Builder.class); } public static final int ROUTERS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List routers_; /** + * + * *
    * The list of Router
    * 
@@ -62,6 +83,8 @@ public java.util.List getRoutersList() { return routers_; } /** + * + * *
    * The list of Router
    * 
@@ -69,11 +92,13 @@ public java.util.List getRoutersList() { * repeated .google.cloud.edgenetwork.v1.Router routers = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRoutersOrBuilderList() { return routers_; } /** + * + * *
    * The list of Router
    * 
@@ -85,6 +110,8 @@ public int getRoutersCount() { return routers_.size(); } /** + * + * *
    * The list of Router
    * 
@@ -96,6 +123,8 @@ public com.google.cloud.edgenetwork.v1.Router getRouters(int index) { return routers_.get(index); } /** + * + * *
    * The list of Router
    * 
@@ -103,20 +132,23 @@ public com.google.cloud.edgenetwork.v1.Router getRouters(int index) { * repeated .google.cloud.edgenetwork.v1.Router routers = 1; */ @java.lang.Override - public com.google.cloud.edgenetwork.v1.RouterOrBuilder getRoutersOrBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.RouterOrBuilder getRoutersOrBuilder(int index) { return routers_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,29 +157,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; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -156,38 +188,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -195,20 +236,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -220,8 +264,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < routers_.size(); i++) { output.writeMessage(1, routers_.get(i)); } @@ -241,8 +284,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < routers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, routers_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, routers_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -263,19 +305,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.edgenetwork.v1.ListRoutersResponse)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.ListRoutersResponse other = (com.google.cloud.edgenetwork.v1.ListRoutersResponse) obj; + com.google.cloud.edgenetwork.v1.ListRoutersResponse other = + (com.google.cloud.edgenetwork.v1.ListRoutersResponse) obj; - if (!getRoutersList() - .equals(other.getRoutersList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getRoutersList().equals(other.getRoutersList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -303,131 +343,135 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.ListRoutersResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListRoutersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListRoutersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListRoutersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListRoutersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListRoutersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.ListRoutersResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.ListRoutersResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.ListRoutersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.ListRoutersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.ListRoutersResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.ListRoutersResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListRoutersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.ListRoutersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.ListRoutersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for response to listing Routers
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.ListRoutersResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.ListRoutersResponse) com.google.cloud.edgenetwork.v1.ListRoutersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListRoutersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListRoutersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListRoutersResponse_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListRoutersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.ListRoutersResponse.class, com.google.cloud.edgenetwork.v1.ListRoutersResponse.Builder.class); + com.google.cloud.edgenetwork.v1.ListRoutersResponse.class, + com.google.cloud.edgenetwork.v1.ListRoutersResponse.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.ListRoutersResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -440,15 +484,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListRoutersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListRoutersResponse_descriptor; } @java.lang.Override @@ -467,14 +510,18 @@ public com.google.cloud.edgenetwork.v1.ListRoutersResponse build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.ListRoutersResponse buildPartial() { - com.google.cloud.edgenetwork.v1.ListRoutersResponse result = new com.google.cloud.edgenetwork.v1.ListRoutersResponse(this); + com.google.cloud.edgenetwork.v1.ListRoutersResponse result = + new com.google.cloud.edgenetwork.v1.ListRoutersResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.edgenetwork.v1.ListRoutersResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.edgenetwork.v1.ListRoutersResponse result) { if (routersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { routers_ = java.util.Collections.unmodifiableList(routers_); @@ -501,38 +548,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.ListRoutersResponse r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.ListRoutersResponse) { - return mergeFrom((com.google.cloud.edgenetwork.v1.ListRoutersResponse)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.ListRoutersResponse) other); } else { super.mergeFrom(other); return this; @@ -540,7 +588,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.ListRoutersResponse other) { - if (other == com.google.cloud.edgenetwork.v1.ListRoutersResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.ListRoutersResponse.getDefaultInstance()) + return this; if (routersBuilder_ == null) { if (!other.routers_.isEmpty()) { if (routers_.isEmpty()) { @@ -559,9 +608,10 @@ public Builder mergeFrom(com.google.cloud.edgenetwork.v1.ListRoutersResponse oth routersBuilder_ = null; routers_ = other.routers_; bitField0_ = (bitField0_ & ~0x00000001); - routersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRoutersFieldBuilder() : null; + routersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRoutersFieldBuilder() + : null; } else { routersBuilder_.addAllMessages(other.routers_); } @@ -608,36 +658,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.edgenetwork.v1.Router m = - input.readMessage( - com.google.cloud.edgenetwork.v1.Router.parser(), - extensionRegistry); - if (routersBuilder_ == null) { - ensureRoutersIsMutable(); - routers_.add(m); - } else { - routersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.edgenetwork.v1.Router m = + input.readMessage( + com.google.cloud.edgenetwork.v1.Router.parser(), extensionRegistry); + if (routersBuilder_ == null) { + ensureRoutersIsMutable(); + routers_.add(m); + } else { + routersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -647,21 +700,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List routers_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRoutersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { routers_ = new java.util.ArrayList(routers_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Router, com.google.cloud.edgenetwork.v1.Router.Builder, com.google.cloud.edgenetwork.v1.RouterOrBuilder> routersBuilder_; + com.google.cloud.edgenetwork.v1.Router, + com.google.cloud.edgenetwork.v1.Router.Builder, + com.google.cloud.edgenetwork.v1.RouterOrBuilder> + routersBuilder_; /** + * + * *
      * The list of Router
      * 
@@ -676,6 +736,8 @@ public java.util.List getRoutersList() { } } /** + * + * *
      * The list of Router
      * 
@@ -690,6 +752,8 @@ public int getRoutersCount() { } } /** + * + * *
      * The list of Router
      * 
@@ -704,14 +768,15 @@ public com.google.cloud.edgenetwork.v1.Router getRouters(int index) { } } /** + * + * *
      * The list of Router
      * 
* * repeated .google.cloud.edgenetwork.v1.Router routers = 1; */ - public Builder setRouters( - int index, com.google.cloud.edgenetwork.v1.Router value) { + public Builder setRouters(int index, com.google.cloud.edgenetwork.v1.Router value) { if (routersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -725,6 +790,8 @@ public Builder setRouters( return this; } /** + * + * *
      * The list of Router
      * 
@@ -743,6 +810,8 @@ public Builder setRouters( return this; } /** + * + * *
      * The list of Router
      * 
@@ -763,14 +832,15 @@ public Builder addRouters(com.google.cloud.edgenetwork.v1.Router value) { return this; } /** + * + * *
      * The list of Router
      * 
* * repeated .google.cloud.edgenetwork.v1.Router routers = 1; */ - public Builder addRouters( - int index, com.google.cloud.edgenetwork.v1.Router value) { + public Builder addRouters(int index, com.google.cloud.edgenetwork.v1.Router value) { if (routersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -784,14 +854,15 @@ public Builder addRouters( return this; } /** + * + * *
      * The list of Router
      * 
* * repeated .google.cloud.edgenetwork.v1.Router routers = 1; */ - public Builder addRouters( - com.google.cloud.edgenetwork.v1.Router.Builder builderForValue) { + public Builder addRouters(com.google.cloud.edgenetwork.v1.Router.Builder builderForValue) { if (routersBuilder_ == null) { ensureRoutersIsMutable(); routers_.add(builderForValue.build()); @@ -802,6 +873,8 @@ public Builder addRouters( return this; } /** + * + * *
      * The list of Router
      * 
@@ -820,6 +893,8 @@ public Builder addRouters( return this; } /** + * + * *
      * The list of Router
      * 
@@ -830,8 +905,7 @@ public Builder addAllRouters( java.lang.Iterable values) { if (routersBuilder_ == null) { ensureRoutersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, routers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, routers_); onChanged(); } else { routersBuilder_.addAllMessages(values); @@ -839,6 +913,8 @@ public Builder addAllRouters( return this; } /** + * + * *
      * The list of Router
      * 
@@ -856,6 +932,8 @@ public Builder clearRouters() { return this; } /** + * + * *
      * The list of Router
      * 
@@ -873,39 +951,44 @@ public Builder removeRouters(int index) { return this; } /** + * + * *
      * The list of Router
      * 
* * repeated .google.cloud.edgenetwork.v1.Router routers = 1; */ - public com.google.cloud.edgenetwork.v1.Router.Builder getRoutersBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.Router.Builder getRoutersBuilder(int index) { return getRoutersFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of Router
      * 
* * repeated .google.cloud.edgenetwork.v1.Router routers = 1; */ - public com.google.cloud.edgenetwork.v1.RouterOrBuilder getRoutersOrBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.RouterOrBuilder getRoutersOrBuilder(int index) { if (routersBuilder_ == null) { - return routers_.get(index); } else { + return routers_.get(index); + } else { return routersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of Router
      * 
* * repeated .google.cloud.edgenetwork.v1.Router routers = 1; */ - public java.util.List - getRoutersOrBuilderList() { + public java.util.List + getRoutersOrBuilderList() { if (routersBuilder_ != null) { return routersBuilder_.getMessageOrBuilderList(); } else { @@ -913,6 +996,8 @@ public com.google.cloud.edgenetwork.v1.RouterOrBuilder getRoutersOrBuilder( } } /** + * + * *
      * The list of Router
      * 
@@ -920,42 +1005,47 @@ public com.google.cloud.edgenetwork.v1.RouterOrBuilder getRoutersOrBuilder( * repeated .google.cloud.edgenetwork.v1.Router routers = 1; */ public com.google.cloud.edgenetwork.v1.Router.Builder addRoutersBuilder() { - return getRoutersFieldBuilder().addBuilder( - com.google.cloud.edgenetwork.v1.Router.getDefaultInstance()); + return getRoutersFieldBuilder() + .addBuilder(com.google.cloud.edgenetwork.v1.Router.getDefaultInstance()); } /** + * + * *
      * The list of Router
      * 
* * repeated .google.cloud.edgenetwork.v1.Router routers = 1; */ - public com.google.cloud.edgenetwork.v1.Router.Builder addRoutersBuilder( - int index) { - return getRoutersFieldBuilder().addBuilder( - index, com.google.cloud.edgenetwork.v1.Router.getDefaultInstance()); + public com.google.cloud.edgenetwork.v1.Router.Builder addRoutersBuilder(int index) { + return getRoutersFieldBuilder() + .addBuilder(index, com.google.cloud.edgenetwork.v1.Router.getDefaultInstance()); } /** + * + * *
      * The list of Router
      * 
* * repeated .google.cloud.edgenetwork.v1.Router routers = 1; */ - public java.util.List - getRoutersBuilderList() { + public java.util.List getRoutersBuilderList() { return getRoutersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Router, com.google.cloud.edgenetwork.v1.Router.Builder, com.google.cloud.edgenetwork.v1.RouterOrBuilder> + com.google.cloud.edgenetwork.v1.Router, + com.google.cloud.edgenetwork.v1.Router.Builder, + com.google.cloud.edgenetwork.v1.RouterOrBuilder> getRoutersFieldBuilder() { if (routersBuilder_ == null) { - routersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Router, com.google.cloud.edgenetwork.v1.Router.Builder, com.google.cloud.edgenetwork.v1.RouterOrBuilder>( - routers_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + routersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.edgenetwork.v1.Router, + com.google.cloud.edgenetwork.v1.Router.Builder, + com.google.cloud.edgenetwork.v1.RouterOrBuilder>( + routers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); routers_ = null; } return routersBuilder_; @@ -963,18 +1053,20 @@ public com.google.cloud.edgenetwork.v1.Router.Builder addRoutersBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -983,20 +1075,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -1004,28 +1097,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1035,17 +1135,21 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1055,6 +1159,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1062,35 +1167,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1098,31 +1211,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1130,17 +1249,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1148,50 +1271,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1199,9 +1330,9 @@ public Builder addUnreachableBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1211,12 +1342,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.ListRoutersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.ListRoutersResponse) private static final com.google.cloud.edgenetwork.v1.ListRoutersResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.ListRoutersResponse(); } @@ -1225,27 +1356,27 @@ public static com.google.cloud.edgenetwork.v1.ListRoutersResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRoutersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRoutersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1260,6 +1391,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.ListRoutersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersResponseOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersResponseOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersResponseOrBuilder.java index 568d6a29c0ad..0790bc6b71c7 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersResponseOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListRoutersResponseOrBuilder.java @@ -1,23 +1,42 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface ListRoutersResponseOrBuilder extends +public interface ListRoutersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.ListRoutersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of Router
    * 
* * repeated .google.cloud.edgenetwork.v1.Router routers = 1; */ - java.util.List - getRoutersList(); + java.util.List getRoutersList(); /** + * + * *
    * The list of Router
    * 
@@ -26,6 +45,8 @@ public interface ListRoutersResponseOrBuilder extends */ com.google.cloud.edgenetwork.v1.Router getRouters(int index); /** + * + * *
    * The list of Router
    * 
@@ -34,82 +55,100 @@ public interface ListRoutersResponseOrBuilder extends */ int getRoutersCount(); /** + * + * *
    * The list of Router
    * 
* * repeated .google.cloud.edgenetwork.v1.Router routers = 1; */ - java.util.List + java.util.List getRoutersOrBuilderList(); /** + * + * *
    * The list of Router
    * 
* * repeated .google.cloud.edgenetwork.v1.Router routers = 1; */ - com.google.cloud.edgenetwork.v1.RouterOrBuilder getRoutersOrBuilder( - int index); + com.google.cloud.edgenetwork.v1.RouterOrBuilder getRoutersOrBuilder(int index); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsRequest.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsRequest.java similarity index 68% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsRequest.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsRequest.java index e76f9437b95d..1fce75af0822 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsRequest.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,21 +20,24 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for requesting list of Subnets
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.ListSubnetsRequest} */ -public final class ListSubnetsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListSubnetsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.ListSubnetsRequest) ListSubnetsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListSubnetsRequest.newBuilder() to construct. private ListSubnetsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListSubnetsRequest() { parent_ = ""; pageToken_ = ""; @@ -29,33 +47,40 @@ private ListSubnetsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSubnetsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListSubnetsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListSubnetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListSubnetsRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListSubnetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.ListSubnetsRequest.class, com.google.cloud.edgenetwork.v1.ListSubnetsRequest.Builder.class); + com.google.cloud.edgenetwork.v1.ListSubnetsRequest.class, + com.google.cloud.edgenetwork.v1.ListSubnetsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Parent value for ListSubnetsRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,29 +89,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Parent value for ListSubnetsRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -97,12 +124,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -111,14 +141,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -127,29 +161,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; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -158,14 +192,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -174,29 +212,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -205,14 +243,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -221,29 +263,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -252,6 +294,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,8 +306,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -293,8 +335,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -313,23 +354,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.edgenetwork.v1.ListSubnetsRequest)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.ListSubnetsRequest other = (com.google.cloud.edgenetwork.v1.ListSubnetsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.edgenetwork.v1.ListSubnetsRequest other = + (com.google.cloud.edgenetwork.v1.ListSubnetsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -357,131 +394,135 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.ListSubnetsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListSubnetsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListSubnetsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListSubnetsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListSubnetsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListSubnetsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.ListSubnetsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.ListSubnetsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.ListSubnetsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.ListSubnetsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.ListSubnetsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.ListSubnetsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListSubnetsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.ListSubnetsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.ListSubnetsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for requesting list of Subnets
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.ListSubnetsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.ListSubnetsRequest) com.google.cloud.edgenetwork.v1.ListSubnetsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListSubnetsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListSubnetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListSubnetsRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListSubnetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.ListSubnetsRequest.class, com.google.cloud.edgenetwork.v1.ListSubnetsRequest.Builder.class); + com.google.cloud.edgenetwork.v1.ListSubnetsRequest.class, + com.google.cloud.edgenetwork.v1.ListSubnetsRequest.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.ListSubnetsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -495,9 +536,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListSubnetsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListSubnetsRequest_descriptor; } @java.lang.Override @@ -516,8 +557,11 @@ public com.google.cloud.edgenetwork.v1.ListSubnetsRequest build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.ListSubnetsRequest buildPartial() { - com.google.cloud.edgenetwork.v1.ListSubnetsRequest result = new com.google.cloud.edgenetwork.v1.ListSubnetsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.ListSubnetsRequest result = + new com.google.cloud.edgenetwork.v1.ListSubnetsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -545,38 +589,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.ListSubnetsRequest re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.ListSubnetsRequest) { - return mergeFrom((com.google.cloud.edgenetwork.v1.ListSubnetsRequest)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.ListSubnetsRequest) other); } else { super.mergeFrom(other); return this; @@ -584,7 +629,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.ListSubnetsRequest other) { - if (other == com.google.cloud.edgenetwork.v1.ListSubnetsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.ListSubnetsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -634,37 +680,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -674,22 +726,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Parent value for ListSubnetsRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -698,20 +755,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListSubnetsRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -719,28 +779,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListSubnetsRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Parent value for ListSubnetsRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -750,17 +821,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Parent value for ListSubnetsRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -768,14 +845,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -783,12 +863,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -800,12 +883,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -817,18 +903,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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,20 +925,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -858,28 +947,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -889,17 +985,21 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -909,18 +1009,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -929,20 +1031,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -950,28 +1053,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -981,17 +1091,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1001,18 +1115,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1021,20 +1137,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1042,28 +1159,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1073,26 +1197,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1102,12 +1230,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.ListSubnetsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.ListSubnetsRequest) private static final com.google.cloud.edgenetwork.v1.ListSubnetsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.ListSubnetsRequest(); } @@ -1116,27 +1244,27 @@ public static com.google.cloud.edgenetwork.v1.ListSubnetsRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSubnetsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSubnetsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1151,6 +1279,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.ListSubnetsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsRequestOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsRequestOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsRequestOrBuilder.java index 0326d821eb35..a912f1a3bd82 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsRequestOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsRequestOrBuilder.java @@ -1,101 +1,144 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface ListSubnetsRequestOrBuilder extends +public interface ListSubnetsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.ListSubnetsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent value for ListSubnetsRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Parent value for ListSubnetsRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsResponse.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsResponse.java similarity index 71% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsResponse.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsResponse.java index 911ca47b7360..061528893afa 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsResponse.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,52 +20,58 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for response to listing Subnets
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.ListSubnetsResponse} */ -public final class ListSubnetsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListSubnetsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.ListSubnetsResponse) ListSubnetsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListSubnetsResponse.newBuilder() to construct. private ListSubnetsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListSubnetsResponse() { subnets_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSubnetsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListSubnetsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListSubnetsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListSubnetsResponse_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListSubnetsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.ListSubnetsResponse.class, com.google.cloud.edgenetwork.v1.ListSubnetsResponse.Builder.class); + com.google.cloud.edgenetwork.v1.ListSubnetsResponse.class, + com.google.cloud.edgenetwork.v1.ListSubnetsResponse.Builder.class); } public static final int SUBNETS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List subnets_; /** + * + * *
    * The list of Subnet
    * 
@@ -62,6 +83,8 @@ public java.util.List getSubnetsList() { return subnets_; } /** + * + * *
    * The list of Subnet
    * 
@@ -69,11 +92,13 @@ public java.util.List getSubnetsList() { * repeated .google.cloud.edgenetwork.v1.Subnet subnets = 1; */ @java.lang.Override - public java.util.List + public java.util.List getSubnetsOrBuilderList() { return subnets_; } /** + * + * *
    * The list of Subnet
    * 
@@ -85,6 +110,8 @@ public int getSubnetsCount() { return subnets_.size(); } /** + * + * *
    * The list of Subnet
    * 
@@ -96,6 +123,8 @@ public com.google.cloud.edgenetwork.v1.Subnet getSubnets(int index) { return subnets_.get(index); } /** + * + * *
    * The list of Subnet
    * 
@@ -103,20 +132,23 @@ public com.google.cloud.edgenetwork.v1.Subnet getSubnets(int index) { * repeated .google.cloud.edgenetwork.v1.Subnet subnets = 1; */ @java.lang.Override - public com.google.cloud.edgenetwork.v1.SubnetOrBuilder getSubnetsOrBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.SubnetOrBuilder getSubnetsOrBuilder(int index) { return subnets_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,29 +157,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; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -156,38 +188,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -195,20 +236,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -220,8 +264,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < subnets_.size(); i++) { output.writeMessage(1, subnets_.get(i)); } @@ -241,8 +284,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < subnets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, subnets_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, subnets_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -263,19 +305,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.edgenetwork.v1.ListSubnetsResponse)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.ListSubnetsResponse other = (com.google.cloud.edgenetwork.v1.ListSubnetsResponse) obj; + com.google.cloud.edgenetwork.v1.ListSubnetsResponse other = + (com.google.cloud.edgenetwork.v1.ListSubnetsResponse) obj; - if (!getSubnetsList() - .equals(other.getSubnetsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getSubnetsList().equals(other.getSubnetsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -303,131 +343,135 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.ListSubnetsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListSubnetsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListSubnetsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListSubnetsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListSubnetsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListSubnetsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.ListSubnetsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.ListSubnetsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.ListSubnetsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.ListSubnetsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.ListSubnetsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.ListSubnetsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListSubnetsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.ListSubnetsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.ListSubnetsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for response to listing Subnets
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.ListSubnetsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.ListSubnetsResponse) com.google.cloud.edgenetwork.v1.ListSubnetsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListSubnetsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListSubnetsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListSubnetsResponse_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListSubnetsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.ListSubnetsResponse.class, com.google.cloud.edgenetwork.v1.ListSubnetsResponse.Builder.class); + com.google.cloud.edgenetwork.v1.ListSubnetsResponse.class, + com.google.cloud.edgenetwork.v1.ListSubnetsResponse.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.ListSubnetsResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -440,15 +484,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListSubnetsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_ListSubnetsResponse_descriptor; } @java.lang.Override @@ -467,14 +510,18 @@ public com.google.cloud.edgenetwork.v1.ListSubnetsResponse build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.ListSubnetsResponse buildPartial() { - com.google.cloud.edgenetwork.v1.ListSubnetsResponse result = new com.google.cloud.edgenetwork.v1.ListSubnetsResponse(this); + com.google.cloud.edgenetwork.v1.ListSubnetsResponse result = + new com.google.cloud.edgenetwork.v1.ListSubnetsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.edgenetwork.v1.ListSubnetsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.edgenetwork.v1.ListSubnetsResponse result) { if (subnetsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { subnets_ = java.util.Collections.unmodifiableList(subnets_); @@ -501,38 +548,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.ListSubnetsResponse r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.ListSubnetsResponse) { - return mergeFrom((com.google.cloud.edgenetwork.v1.ListSubnetsResponse)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.ListSubnetsResponse) other); } else { super.mergeFrom(other); return this; @@ -540,7 +588,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.ListSubnetsResponse other) { - if (other == com.google.cloud.edgenetwork.v1.ListSubnetsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.ListSubnetsResponse.getDefaultInstance()) + return this; if (subnetsBuilder_ == null) { if (!other.subnets_.isEmpty()) { if (subnets_.isEmpty()) { @@ -559,9 +608,10 @@ public Builder mergeFrom(com.google.cloud.edgenetwork.v1.ListSubnetsResponse oth subnetsBuilder_ = null; subnets_ = other.subnets_; bitField0_ = (bitField0_ & ~0x00000001); - subnetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSubnetsFieldBuilder() : null; + subnetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSubnetsFieldBuilder() + : null; } else { subnetsBuilder_.addAllMessages(other.subnets_); } @@ -608,36 +658,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.edgenetwork.v1.Subnet m = - input.readMessage( - com.google.cloud.edgenetwork.v1.Subnet.parser(), - extensionRegistry); - if (subnetsBuilder_ == null) { - ensureSubnetsIsMutable(); - subnets_.add(m); - } else { - subnetsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.edgenetwork.v1.Subnet m = + input.readMessage( + com.google.cloud.edgenetwork.v1.Subnet.parser(), extensionRegistry); + if (subnetsBuilder_ == null) { + ensureSubnetsIsMutable(); + subnets_.add(m); + } else { + subnetsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -647,21 +700,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List subnets_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSubnetsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { subnets_ = new java.util.ArrayList(subnets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Subnet, com.google.cloud.edgenetwork.v1.Subnet.Builder, com.google.cloud.edgenetwork.v1.SubnetOrBuilder> subnetsBuilder_; + com.google.cloud.edgenetwork.v1.Subnet, + com.google.cloud.edgenetwork.v1.Subnet.Builder, + com.google.cloud.edgenetwork.v1.SubnetOrBuilder> + subnetsBuilder_; /** + * + * *
      * The list of Subnet
      * 
@@ -676,6 +736,8 @@ public java.util.List getSubnetsList() { } } /** + * + * *
      * The list of Subnet
      * 
@@ -690,6 +752,8 @@ public int getSubnetsCount() { } } /** + * + * *
      * The list of Subnet
      * 
@@ -704,14 +768,15 @@ public com.google.cloud.edgenetwork.v1.Subnet getSubnets(int index) { } } /** + * + * *
      * The list of Subnet
      * 
* * repeated .google.cloud.edgenetwork.v1.Subnet subnets = 1; */ - public Builder setSubnets( - int index, com.google.cloud.edgenetwork.v1.Subnet value) { + public Builder setSubnets(int index, com.google.cloud.edgenetwork.v1.Subnet value) { if (subnetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -725,6 +790,8 @@ public Builder setSubnets( return this; } /** + * + * *
      * The list of Subnet
      * 
@@ -743,6 +810,8 @@ public Builder setSubnets( return this; } /** + * + * *
      * The list of Subnet
      * 
@@ -763,14 +832,15 @@ public Builder addSubnets(com.google.cloud.edgenetwork.v1.Subnet value) { return this; } /** + * + * *
      * The list of Subnet
      * 
* * repeated .google.cloud.edgenetwork.v1.Subnet subnets = 1; */ - public Builder addSubnets( - int index, com.google.cloud.edgenetwork.v1.Subnet value) { + public Builder addSubnets(int index, com.google.cloud.edgenetwork.v1.Subnet value) { if (subnetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -784,14 +854,15 @@ public Builder addSubnets( return this; } /** + * + * *
      * The list of Subnet
      * 
* * repeated .google.cloud.edgenetwork.v1.Subnet subnets = 1; */ - public Builder addSubnets( - com.google.cloud.edgenetwork.v1.Subnet.Builder builderForValue) { + public Builder addSubnets(com.google.cloud.edgenetwork.v1.Subnet.Builder builderForValue) { if (subnetsBuilder_ == null) { ensureSubnetsIsMutable(); subnets_.add(builderForValue.build()); @@ -802,6 +873,8 @@ public Builder addSubnets( return this; } /** + * + * *
      * The list of Subnet
      * 
@@ -820,6 +893,8 @@ public Builder addSubnets( return this; } /** + * + * *
      * The list of Subnet
      * 
@@ -830,8 +905,7 @@ public Builder addAllSubnets( java.lang.Iterable values) { if (subnetsBuilder_ == null) { ensureSubnetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, subnets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, subnets_); onChanged(); } else { subnetsBuilder_.addAllMessages(values); @@ -839,6 +913,8 @@ public Builder addAllSubnets( return this; } /** + * + * *
      * The list of Subnet
      * 
@@ -856,6 +932,8 @@ public Builder clearSubnets() { return this; } /** + * + * *
      * The list of Subnet
      * 
@@ -873,39 +951,44 @@ public Builder removeSubnets(int index) { return this; } /** + * + * *
      * The list of Subnet
      * 
* * repeated .google.cloud.edgenetwork.v1.Subnet subnets = 1; */ - public com.google.cloud.edgenetwork.v1.Subnet.Builder getSubnetsBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.Subnet.Builder getSubnetsBuilder(int index) { return getSubnetsFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of Subnet
      * 
* * repeated .google.cloud.edgenetwork.v1.Subnet subnets = 1; */ - public com.google.cloud.edgenetwork.v1.SubnetOrBuilder getSubnetsOrBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.SubnetOrBuilder getSubnetsOrBuilder(int index) { if (subnetsBuilder_ == null) { - return subnets_.get(index); } else { + return subnets_.get(index); + } else { return subnetsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of Subnet
      * 
* * repeated .google.cloud.edgenetwork.v1.Subnet subnets = 1; */ - public java.util.List - getSubnetsOrBuilderList() { + public java.util.List + getSubnetsOrBuilderList() { if (subnetsBuilder_ != null) { return subnetsBuilder_.getMessageOrBuilderList(); } else { @@ -913,6 +996,8 @@ public com.google.cloud.edgenetwork.v1.SubnetOrBuilder getSubnetsOrBuilder( } } /** + * + * *
      * The list of Subnet
      * 
@@ -920,42 +1005,47 @@ public com.google.cloud.edgenetwork.v1.SubnetOrBuilder getSubnetsOrBuilder( * repeated .google.cloud.edgenetwork.v1.Subnet subnets = 1; */ public com.google.cloud.edgenetwork.v1.Subnet.Builder addSubnetsBuilder() { - return getSubnetsFieldBuilder().addBuilder( - com.google.cloud.edgenetwork.v1.Subnet.getDefaultInstance()); + return getSubnetsFieldBuilder() + .addBuilder(com.google.cloud.edgenetwork.v1.Subnet.getDefaultInstance()); } /** + * + * *
      * The list of Subnet
      * 
* * repeated .google.cloud.edgenetwork.v1.Subnet subnets = 1; */ - public com.google.cloud.edgenetwork.v1.Subnet.Builder addSubnetsBuilder( - int index) { - return getSubnetsFieldBuilder().addBuilder( - index, com.google.cloud.edgenetwork.v1.Subnet.getDefaultInstance()); + public com.google.cloud.edgenetwork.v1.Subnet.Builder addSubnetsBuilder(int index) { + return getSubnetsFieldBuilder() + .addBuilder(index, com.google.cloud.edgenetwork.v1.Subnet.getDefaultInstance()); } /** + * + * *
      * The list of Subnet
      * 
* * repeated .google.cloud.edgenetwork.v1.Subnet subnets = 1; */ - public java.util.List - getSubnetsBuilderList() { + public java.util.List getSubnetsBuilderList() { return getSubnetsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Subnet, com.google.cloud.edgenetwork.v1.Subnet.Builder, com.google.cloud.edgenetwork.v1.SubnetOrBuilder> + com.google.cloud.edgenetwork.v1.Subnet, + com.google.cloud.edgenetwork.v1.Subnet.Builder, + com.google.cloud.edgenetwork.v1.SubnetOrBuilder> getSubnetsFieldBuilder() { if (subnetsBuilder_ == null) { - subnetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Subnet, com.google.cloud.edgenetwork.v1.Subnet.Builder, com.google.cloud.edgenetwork.v1.SubnetOrBuilder>( - subnets_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + subnetsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.edgenetwork.v1.Subnet, + com.google.cloud.edgenetwork.v1.Subnet.Builder, + com.google.cloud.edgenetwork.v1.SubnetOrBuilder>( + subnets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); subnets_ = null; } return subnetsBuilder_; @@ -963,18 +1053,20 @@ public com.google.cloud.edgenetwork.v1.Subnet.Builder addSubnetsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -983,20 +1075,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -1004,28 +1097,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1035,17 +1135,21 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1055,6 +1159,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1062,35 +1167,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1098,31 +1211,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1130,17 +1249,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1148,50 +1271,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1199,9 +1330,9 @@ public Builder addUnreachableBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1211,12 +1342,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.ListSubnetsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.ListSubnetsResponse) private static final com.google.cloud.edgenetwork.v1.ListSubnetsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.ListSubnetsResponse(); } @@ -1225,27 +1356,27 @@ public static com.google.cloud.edgenetwork.v1.ListSubnetsResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSubnetsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSubnetsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1260,6 +1391,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.ListSubnetsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsResponseOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsResponseOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsResponseOrBuilder.java index 2ec4b849c9fb..4452f316850c 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsResponseOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListSubnetsResponseOrBuilder.java @@ -1,23 +1,42 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface ListSubnetsResponseOrBuilder extends +public interface ListSubnetsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.ListSubnetsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of Subnet
    * 
* * repeated .google.cloud.edgenetwork.v1.Subnet subnets = 1; */ - java.util.List - getSubnetsList(); + java.util.List getSubnetsList(); /** + * + * *
    * The list of Subnet
    * 
@@ -26,6 +45,8 @@ public interface ListSubnetsResponseOrBuilder extends */ com.google.cloud.edgenetwork.v1.Subnet getSubnets(int index); /** + * + * *
    * The list of Subnet
    * 
@@ -34,82 +55,100 @@ public interface ListSubnetsResponseOrBuilder extends */ int getSubnetsCount(); /** + * + * *
    * The list of Subnet
    * 
* * repeated .google.cloud.edgenetwork.v1.Subnet subnets = 1; */ - java.util.List + java.util.List getSubnetsOrBuilderList(); /** + * + * *
    * The list of Subnet
    * 
* * repeated .google.cloud.edgenetwork.v1.Subnet subnets = 1; */ - com.google.cloud.edgenetwork.v1.SubnetOrBuilder getSubnetsOrBuilder( - int index); + com.google.cloud.edgenetwork.v1.SubnetOrBuilder getSubnetsOrBuilder(int index); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesRequest.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesRequest.java similarity index 68% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesRequest.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesRequest.java index cc7a4f190338..bfe837704c31 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesRequest.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,6 +20,8 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Deprecated: not implemented.
  * Message for requesting list of Zones
@@ -12,15 +29,17 @@
  *
  * Protobuf type {@code google.cloud.edgenetwork.v1.ListZonesRequest}
  */
-@java.lang.Deprecated public final class ListZonesRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+@java.lang.Deprecated
+public final class ListZonesRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.ListZonesRequest)
     ListZonesRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListZonesRequest.newBuilder() to construct.
   private ListZonesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListZonesRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -30,33 +49,40 @@ private ListZonesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListZonesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListZonesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.edgenetwork.v1.ServiceProto
+        .internal_static_google_cloud_edgenetwork_v1_ListZonesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListZonesRequest_fieldAccessorTable
+    return com.google.cloud.edgenetwork.v1.ServiceProto
+        .internal_static_google_cloud_edgenetwork_v1_ListZonesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.edgenetwork.v1.ListZonesRequest.class, com.google.cloud.edgenetwork.v1.ListZonesRequest.Builder.class);
+            com.google.cloud.edgenetwork.v1.ListZonesRequest.class,
+            com.google.cloud.edgenetwork.v1.ListZonesRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. Parent value for ListZonesRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,29 +91,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Parent value for ListZonesRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -98,12 +126,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -112,14 +143,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -128,29 +163,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; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -159,14 +194,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -175,29 +214,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -206,14 +245,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -222,29 +265,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -253,6 +296,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,8 +308,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -294,8 +337,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -314,23 +356,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.edgenetwork.v1.ListZonesRequest)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.ListZonesRequest other = (com.google.cloud.edgenetwork.v1.ListZonesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.edgenetwork.v1.ListZonesRequest other = + (com.google.cloud.edgenetwork.v1.ListZonesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -357,99 +395,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.edgenetwork.v1.ListZonesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.edgenetwork.v1.ListZonesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListZonesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListZonesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListZonesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListZonesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListZonesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.ListZonesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.ListZonesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.ListZonesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.ListZonesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.ListZonesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.ListZonesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListZonesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.ListZonesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.ListZonesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Deprecated: not implemented.
    * Message for requesting list of Zones
@@ -457,33 +500,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.edgenetwork.v1.ListZonesRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.ListZonesRequest)
       com.google.cloud.edgenetwork.v1.ListZonesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListZonesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.edgenetwork.v1.ServiceProto
+          .internal_static_google_cloud_edgenetwork_v1_ListZonesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListZonesRequest_fieldAccessorTable
+      return com.google.cloud.edgenetwork.v1.ServiceProto
+          .internal_static_google_cloud_edgenetwork_v1_ListZonesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.edgenetwork.v1.ListZonesRequest.class, com.google.cloud.edgenetwork.v1.ListZonesRequest.Builder.class);
+              com.google.cloud.edgenetwork.v1.ListZonesRequest.class,
+              com.google.cloud.edgenetwork.v1.ListZonesRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.edgenetwork.v1.ListZonesRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -497,9 +539,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListZonesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.edgenetwork.v1.ServiceProto
+          .internal_static_google_cloud_edgenetwork_v1_ListZonesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -518,8 +560,11 @@ public com.google.cloud.edgenetwork.v1.ListZonesRequest build() {
 
     @java.lang.Override
     public com.google.cloud.edgenetwork.v1.ListZonesRequest buildPartial() {
-      com.google.cloud.edgenetwork.v1.ListZonesRequest result = new com.google.cloud.edgenetwork.v1.ListZonesRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.edgenetwork.v1.ListZonesRequest result =
+          new com.google.cloud.edgenetwork.v1.ListZonesRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -547,38 +592,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.ListZonesRequest resu
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.edgenetwork.v1.ListZonesRequest) {
-        return mergeFrom((com.google.cloud.edgenetwork.v1.ListZonesRequest)other);
+        return mergeFrom((com.google.cloud.edgenetwork.v1.ListZonesRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -586,7 +632,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.edgenetwork.v1.ListZonesRequest other) {
-      if (other == com.google.cloud.edgenetwork.v1.ListZonesRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.edgenetwork.v1.ListZonesRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -636,37 +683,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              filter_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              orderBy_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                filter_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                orderBy_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -676,22 +729,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. Parent value for ListZonesRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -700,20 +758,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListZonesRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -721,28 +782,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListZonesRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Parent value for ListZonesRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -752,17 +824,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Parent value for ListZonesRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -770,14 +848,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -785,12 +866,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -802,12 +886,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -819,18 +906,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -839,20 +928,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -860,28 +950,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -891,17 +988,21 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -911,18 +1012,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -931,20 +1034,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -952,28 +1056,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -983,17 +1094,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1003,18 +1118,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1023,20 +1140,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1044,28 +1162,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1075,26 +1200,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1104,12 +1233,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.ListZonesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.ListZonesRequest) private static final com.google.cloud.edgenetwork.v1.ListZonesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.ListZonesRequest(); } @@ -1118,27 +1247,27 @@ public static com.google.cloud.edgenetwork.v1.ListZonesRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListZonesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListZonesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1153,6 +1282,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.ListZonesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesRequestOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesRequestOrBuilder.java similarity index 59% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesRequestOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesRequestOrBuilder.java index efecc7383e1f..b2b145fcd66f 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesRequestOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesRequestOrBuilder.java @@ -1,101 +1,145 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -@java.lang.Deprecated public interface ListZonesRequestOrBuilder extends +@java.lang.Deprecated +public interface ListZonesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.ListZonesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent value for ListZonesRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Parent value for ListZonesRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesResponse.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesResponse.java similarity index 71% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesResponse.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesResponse.java index 7c9c46e73997..256bc6a4e79d 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesResponse.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,6 +20,8 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Deprecated: not implemented.
  * Message for response to listing Zones
@@ -12,46 +29,51 @@
  *
  * Protobuf type {@code google.cloud.edgenetwork.v1.ListZonesResponse}
  */
-@java.lang.Deprecated public final class ListZonesResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+@java.lang.Deprecated
+public final class ListZonesResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.ListZonesResponse)
     ListZonesResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListZonesResponse.newBuilder() to construct.
   private ListZonesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListZonesResponse() {
     zones_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
-    unreachable_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListZonesResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListZonesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.edgenetwork.v1.ServiceProto
+        .internal_static_google_cloud_edgenetwork_v1_ListZonesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListZonesResponse_fieldAccessorTable
+    return com.google.cloud.edgenetwork.v1.ServiceProto
+        .internal_static_google_cloud_edgenetwork_v1_ListZonesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.edgenetwork.v1.ListZonesResponse.class, com.google.cloud.edgenetwork.v1.ListZonesResponse.Builder.class);
+            com.google.cloud.edgenetwork.v1.ListZonesResponse.class,
+            com.google.cloud.edgenetwork.v1.ListZonesResponse.Builder.class);
   }
 
   public static final int ZONES_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List zones_;
   /**
+   *
+   *
    * 
    * The list of Zone
    * 
@@ -63,6 +85,8 @@ public java.util.List getZonesList() { return zones_; } /** + * + * *
    * The list of Zone
    * 
@@ -70,11 +94,13 @@ public java.util.List getZonesList() { * repeated .google.cloud.edgenetwork.v1.Zone zones = 1; */ @java.lang.Override - public java.util.List + public java.util.List getZonesOrBuilderList() { return zones_; } /** + * + * *
    * The list of Zone
    * 
@@ -86,6 +112,8 @@ public int getZonesCount() { return zones_.size(); } /** + * + * *
    * The list of Zone
    * 
@@ -97,6 +125,8 @@ public com.google.cloud.edgenetwork.v1.Zone getZones(int index) { return zones_.get(index); } /** + * + * *
    * The list of Zone
    * 
@@ -104,20 +134,23 @@ public com.google.cloud.edgenetwork.v1.Zone getZones(int index) { * repeated .google.cloud.edgenetwork.v1.Zone zones = 1; */ @java.lang.Override - public com.google.cloud.edgenetwork.v1.ZoneOrBuilder getZonesOrBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.ZoneOrBuilder getZonesOrBuilder(int index) { return zones_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -126,29 +159,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; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -157,38 +190,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -196,20 +238,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,8 +266,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 < zones_.size(); i++) { output.writeMessage(1, zones_.get(i)); } @@ -242,8 +286,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < zones_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, zones_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, zones_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -264,19 +307,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.edgenetwork.v1.ListZonesResponse)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.ListZonesResponse other = (com.google.cloud.edgenetwork.v1.ListZonesResponse) obj; + com.google.cloud.edgenetwork.v1.ListZonesResponse other = + (com.google.cloud.edgenetwork.v1.ListZonesResponse) obj; - if (!getZonesList() - .equals(other.getZonesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getZonesList().equals(other.getZonesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -304,98 +345,103 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.ListZonesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListZonesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListZonesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListZonesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListZonesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.ListZonesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.ListZonesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.ListZonesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.ListZonesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.ListZonesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.ListZonesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.ListZonesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.ListZonesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.ListZonesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.ListZonesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Deprecated: not implemented.
    * Message for response to listing Zones
@@ -403,33 +449,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.edgenetwork.v1.ListZonesResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.ListZonesResponse)
       com.google.cloud.edgenetwork.v1.ListZonesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListZonesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.edgenetwork.v1.ServiceProto
+          .internal_static_google_cloud_edgenetwork_v1_ListZonesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListZonesResponse_fieldAccessorTable
+      return com.google.cloud.edgenetwork.v1.ServiceProto
+          .internal_static_google_cloud_edgenetwork_v1_ListZonesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.edgenetwork.v1.ListZonesResponse.class, com.google.cloud.edgenetwork.v1.ListZonesResponse.Builder.class);
+              com.google.cloud.edgenetwork.v1.ListZonesResponse.class,
+              com.google.cloud.edgenetwork.v1.ListZonesResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.edgenetwork.v1.ListZonesResponse.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -442,15 +487,14 @@ public Builder clear() {
       }
       bitField0_ = (bitField0_ & ~0x00000001);
       nextPageToken_ = "";
-      unreachable_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_ListZonesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.edgenetwork.v1.ServiceProto
+          .internal_static_google_cloud_edgenetwork_v1_ListZonesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -469,14 +513,18 @@ public com.google.cloud.edgenetwork.v1.ListZonesResponse build() {
 
     @java.lang.Override
     public com.google.cloud.edgenetwork.v1.ListZonesResponse buildPartial() {
-      com.google.cloud.edgenetwork.v1.ListZonesResponse result = new com.google.cloud.edgenetwork.v1.ListZonesResponse(this);
+      com.google.cloud.edgenetwork.v1.ListZonesResponse result =
+          new com.google.cloud.edgenetwork.v1.ListZonesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.edgenetwork.v1.ListZonesResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.edgenetwork.v1.ListZonesResponse result) {
       if (zonesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           zones_ = java.util.Collections.unmodifiableList(zones_);
@@ -503,38 +551,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.ListZonesResponse res
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.edgenetwork.v1.ListZonesResponse) {
-        return mergeFrom((com.google.cloud.edgenetwork.v1.ListZonesResponse)other);
+        return mergeFrom((com.google.cloud.edgenetwork.v1.ListZonesResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -542,7 +591,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.edgenetwork.v1.ListZonesResponse other) {
-      if (other == com.google.cloud.edgenetwork.v1.ListZonesResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.edgenetwork.v1.ListZonesResponse.getDefaultInstance())
+        return this;
       if (zonesBuilder_ == null) {
         if (!other.zones_.isEmpty()) {
           if (zones_.isEmpty()) {
@@ -561,9 +611,10 @@ public Builder mergeFrom(com.google.cloud.edgenetwork.v1.ListZonesResponse other
             zonesBuilder_ = null;
             zones_ = other.zones_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            zonesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getZonesFieldBuilder() : null;
+            zonesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getZonesFieldBuilder()
+                    : null;
           } else {
             zonesBuilder_.addAllMessages(other.zones_);
           }
@@ -610,36 +661,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.edgenetwork.v1.Zone m =
-                  input.readMessage(
-                      com.google.cloud.edgenetwork.v1.Zone.parser(),
-                      extensionRegistry);
-              if (zonesBuilder_ == null) {
-                ensureZonesIsMutable();
-                zones_.add(m);
-              } else {
-                zonesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 18: {
-              nextPageToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureUnreachableIsMutable();
-              unreachable_.add(s);
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.cloud.edgenetwork.v1.Zone m =
+                    input.readMessage(
+                        com.google.cloud.edgenetwork.v1.Zone.parser(), extensionRegistry);
+                if (zonesBuilder_ == null) {
+                  ensureZonesIsMutable();
+                  zones_.add(m);
+                } else {
+                  zonesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureUnreachableIsMutable();
+                unreachable_.add(s);
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -649,21 +703,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List zones_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureZonesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         zones_ = new java.util.ArrayList(zones_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.edgenetwork.v1.Zone, com.google.cloud.edgenetwork.v1.Zone.Builder, com.google.cloud.edgenetwork.v1.ZoneOrBuilder> zonesBuilder_;
+            com.google.cloud.edgenetwork.v1.Zone,
+            com.google.cloud.edgenetwork.v1.Zone.Builder,
+            com.google.cloud.edgenetwork.v1.ZoneOrBuilder>
+        zonesBuilder_;
 
     /**
+     *
+     *
      * 
      * The list of Zone
      * 
@@ -678,6 +739,8 @@ public java.util.List getZonesList() { } } /** + * + * *
      * The list of Zone
      * 
@@ -692,6 +755,8 @@ public int getZonesCount() { } } /** + * + * *
      * The list of Zone
      * 
@@ -706,14 +771,15 @@ public com.google.cloud.edgenetwork.v1.Zone getZones(int index) { } } /** + * + * *
      * The list of Zone
      * 
* * repeated .google.cloud.edgenetwork.v1.Zone zones = 1; */ - public Builder setZones( - int index, com.google.cloud.edgenetwork.v1.Zone value) { + public Builder setZones(int index, com.google.cloud.edgenetwork.v1.Zone value) { if (zonesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -727,6 +793,8 @@ public Builder setZones( return this; } /** + * + * *
      * The list of Zone
      * 
@@ -745,6 +813,8 @@ public Builder setZones( return this; } /** + * + * *
      * The list of Zone
      * 
@@ -765,14 +835,15 @@ public Builder addZones(com.google.cloud.edgenetwork.v1.Zone value) { return this; } /** + * + * *
      * The list of Zone
      * 
* * repeated .google.cloud.edgenetwork.v1.Zone zones = 1; */ - public Builder addZones( - int index, com.google.cloud.edgenetwork.v1.Zone value) { + public Builder addZones(int index, com.google.cloud.edgenetwork.v1.Zone value) { if (zonesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -786,14 +857,15 @@ public Builder addZones( return this; } /** + * + * *
      * The list of Zone
      * 
* * repeated .google.cloud.edgenetwork.v1.Zone zones = 1; */ - public Builder addZones( - com.google.cloud.edgenetwork.v1.Zone.Builder builderForValue) { + public Builder addZones(com.google.cloud.edgenetwork.v1.Zone.Builder builderForValue) { if (zonesBuilder_ == null) { ensureZonesIsMutable(); zones_.add(builderForValue.build()); @@ -804,6 +876,8 @@ public Builder addZones( return this; } /** + * + * *
      * The list of Zone
      * 
@@ -822,6 +896,8 @@ public Builder addZones( return this; } /** + * + * *
      * The list of Zone
      * 
@@ -832,8 +908,7 @@ public Builder addAllZones( java.lang.Iterable values) { if (zonesBuilder_ == null) { ensureZonesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, zones_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, zones_); onChanged(); } else { zonesBuilder_.addAllMessages(values); @@ -841,6 +916,8 @@ public Builder addAllZones( return this; } /** + * + * *
      * The list of Zone
      * 
@@ -858,6 +935,8 @@ public Builder clearZones() { return this; } /** + * + * *
      * The list of Zone
      * 
@@ -875,39 +954,44 @@ public Builder removeZones(int index) { return this; } /** + * + * *
      * The list of Zone
      * 
* * repeated .google.cloud.edgenetwork.v1.Zone zones = 1; */ - public com.google.cloud.edgenetwork.v1.Zone.Builder getZonesBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.Zone.Builder getZonesBuilder(int index) { return getZonesFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of Zone
      * 
* * repeated .google.cloud.edgenetwork.v1.Zone zones = 1; */ - public com.google.cloud.edgenetwork.v1.ZoneOrBuilder getZonesOrBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.ZoneOrBuilder getZonesOrBuilder(int index) { if (zonesBuilder_ == null) { - return zones_.get(index); } else { + return zones_.get(index); + } else { return zonesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of Zone
      * 
* * repeated .google.cloud.edgenetwork.v1.Zone zones = 1; */ - public java.util.List - getZonesOrBuilderList() { + public java.util.List + getZonesOrBuilderList() { if (zonesBuilder_ != null) { return zonesBuilder_.getMessageOrBuilderList(); } else { @@ -915,6 +999,8 @@ public com.google.cloud.edgenetwork.v1.ZoneOrBuilder getZonesOrBuilder( } } /** + * + * *
      * The list of Zone
      * 
@@ -922,42 +1008,47 @@ public com.google.cloud.edgenetwork.v1.ZoneOrBuilder getZonesOrBuilder( * repeated .google.cloud.edgenetwork.v1.Zone zones = 1; */ public com.google.cloud.edgenetwork.v1.Zone.Builder addZonesBuilder() { - return getZonesFieldBuilder().addBuilder( - com.google.cloud.edgenetwork.v1.Zone.getDefaultInstance()); + return getZonesFieldBuilder() + .addBuilder(com.google.cloud.edgenetwork.v1.Zone.getDefaultInstance()); } /** + * + * *
      * The list of Zone
      * 
* * repeated .google.cloud.edgenetwork.v1.Zone zones = 1; */ - public com.google.cloud.edgenetwork.v1.Zone.Builder addZonesBuilder( - int index) { - return getZonesFieldBuilder().addBuilder( - index, com.google.cloud.edgenetwork.v1.Zone.getDefaultInstance()); + public com.google.cloud.edgenetwork.v1.Zone.Builder addZonesBuilder(int index) { + return getZonesFieldBuilder() + .addBuilder(index, com.google.cloud.edgenetwork.v1.Zone.getDefaultInstance()); } /** + * + * *
      * The list of Zone
      * 
* * repeated .google.cloud.edgenetwork.v1.Zone zones = 1; */ - public java.util.List - getZonesBuilderList() { + public java.util.List getZonesBuilderList() { return getZonesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Zone, com.google.cloud.edgenetwork.v1.Zone.Builder, com.google.cloud.edgenetwork.v1.ZoneOrBuilder> + com.google.cloud.edgenetwork.v1.Zone, + com.google.cloud.edgenetwork.v1.Zone.Builder, + com.google.cloud.edgenetwork.v1.ZoneOrBuilder> getZonesFieldBuilder() { if (zonesBuilder_ == null) { - zonesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Zone, com.google.cloud.edgenetwork.v1.Zone.Builder, com.google.cloud.edgenetwork.v1.ZoneOrBuilder>( - zones_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + zonesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.edgenetwork.v1.Zone, + com.google.cloud.edgenetwork.v1.Zone.Builder, + com.google.cloud.edgenetwork.v1.ZoneOrBuilder>( + zones_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); zones_ = null; } return zonesBuilder_; @@ -965,18 +1056,20 @@ public com.google.cloud.edgenetwork.v1.Zone.Builder addZonesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -985,20 +1078,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -1006,28 +1100,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1037,17 +1138,21 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1057,6 +1162,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1064,35 +1170,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1100,31 +1214,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1132,17 +1252,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1150,50 +1274,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1201,9 +1333,9 @@ public Builder addUnreachableBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1213,12 +1345,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.ListZonesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.ListZonesResponse) private static final com.google.cloud.edgenetwork.v1.ListZonesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.ListZonesResponse(); } @@ -1227,27 +1359,27 @@ public static com.google.cloud.edgenetwork.v1.ListZonesResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListZonesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListZonesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1262,6 +1394,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.ListZonesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesResponseOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesResponseOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesResponseOrBuilder.java index e7c5f18da54e..e1235cd85332 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesResponseOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ListZonesResponseOrBuilder.java @@ -1,23 +1,43 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -@java.lang.Deprecated public interface ListZonesResponseOrBuilder extends +@java.lang.Deprecated +public interface ListZonesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.ListZonesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of Zone
    * 
* * repeated .google.cloud.edgenetwork.v1.Zone zones = 1; */ - java.util.List - getZonesList(); + java.util.List getZonesList(); /** + * + * *
    * The list of Zone
    * 
@@ -26,6 +46,8 @@ */ com.google.cloud.edgenetwork.v1.Zone getZones(int index); /** + * + * *
    * The list of Zone
    * 
@@ -34,82 +56,99 @@ */ int getZonesCount(); /** + * + * *
    * The list of Zone
    * 
* * repeated .google.cloud.edgenetwork.v1.Zone zones = 1; */ - java.util.List - getZonesOrBuilderList(); + java.util.List getZonesOrBuilderList(); /** + * + * *
    * The list of Zone
    * 
* * repeated .google.cloud.edgenetwork.v1.Zone zones = 1; */ - com.google.cloud.edgenetwork.v1.ZoneOrBuilder getZonesOrBuilder( - int index); + com.google.cloud.edgenetwork.v1.ZoneOrBuilder getZonesOrBuilder(int index); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/LocationName.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/LocationName.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/LocationName.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/LocationName.java diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Network.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Network.java similarity index 64% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Network.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Network.java index c504e0b6b393..c6397b8dfd18 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Network.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Network.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/resources.proto @@ -5,21 +20,24 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message describing Network object
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.Network} */ -public final class Network extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Network extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.Network) NetworkOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Network.newBuilder() to construct. private Network(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Network() { name_ = ""; description_ = ""; @@ -27,14 +45,13 @@ private Network() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Network(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Network_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Network_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -45,28 +62,34 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 4: 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.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Network_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Network_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.Network.class, com.google.cloud.edgenetwork.v1.Network.Builder.class); + com.google.cloud.edgenetwork.v1.Network.class, + com.google.cloud.edgenetwork.v1.Network.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The canonical resource name of the network.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -75,29 +98,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The canonical resource name of the network.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -108,11 +131,15 @@ public java.lang.String getName() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time when the network was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -120,11 +147,15 @@ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Output only. The time when the network was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -132,11 +163,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time when the network was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -146,11 +180,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The time when the network was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -158,11 +196,15 @@ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Output only. The time when the network was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -170,11 +212,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time when the network was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -182,32 +227,34 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 4; + 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.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Network_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.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Network_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - 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_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels associated with this resource.
    * 
@@ -215,20 +262,21 @@ public int getLabelsCount() { * map<string, string> labels = 4; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Labels associated with this resource.
    * 
@@ -240,6 +288,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Labels associated with this resource.
    * 
@@ -247,17 +297,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Labels associated with this resource.
    * 
@@ -265,11 +317,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -277,15 +329,19 @@ public java.lang.String getLabelsOrThrow( } public static final int DESCRIPTION_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. A free-text description of the resource. Max length 1024
    * characters.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -294,30 +350,30 @@ 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. A free-text description of the resource. Max length 1024
    * characters.
    * 
* * string description = 5 [(.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 { @@ -328,6 +384,8 @@ public java.lang.String getDescription() { public static final int MTU_FIELD_NUMBER = 6; private int mtu_ = 0; /** + * + * *
    * IP (L3) MTU value of the network.
    * Valid values are: 1500 and 9000.
@@ -335,6 +393,7 @@ public java.lang.String getDescription() {
    * 
* * int32 mtu = 6; + * * @return The mtu. */ @java.lang.Override @@ -343,6 +402,7 @@ public int getMtu() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -354,8 +414,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -365,12 +424,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_); } @@ -390,29 +445,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, 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(4, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, 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(4, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); } if (mtu_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(6, mtu_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, mtu_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -422,31 +474,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.edgenetwork.v1.Network)) { return super.equals(obj); } com.google.cloud.edgenetwork.v1.Network other = (com.google.cloud.edgenetwork.v1.Network) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) 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 (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (getMtu() - != other.getMtu()) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (getMtu() != other.getMtu()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -481,112 +527,117 @@ public int hashCode() { return hash; } - public static com.google.cloud.edgenetwork.v1.Network parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.edgenetwork.v1.Network parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.Network parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Network parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.Network parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Network parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.Network parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Network parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.Network parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.Network parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.Network parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.Network parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Network parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.Network parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.Network prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 describing Network object
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.Network} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.Network) com.google.cloud.edgenetwork.v1.NetworkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Network_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Network_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -596,10 +647,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 4: 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.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { @@ -607,16 +658,18 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi case 4: 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.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Network_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Network_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.Network.class, com.google.cloud.edgenetwork.v1.Network.Builder.class); + com.google.cloud.edgenetwork.v1.Network.class, + com.google.cloud.edgenetwork.v1.Network.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.Network.newBuilder() @@ -624,18 +677,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCreateTimeFieldBuilder(); getUpdateTimeFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -658,9 +711,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Network_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Network_descriptor; } @java.lang.Override @@ -679,8 +732,11 @@ public com.google.cloud.edgenetwork.v1.Network build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.Network buildPartial() { - com.google.cloud.edgenetwork.v1.Network result = new com.google.cloud.edgenetwork.v1.Network(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.Network result = + new com.google.cloud.edgenetwork.v1.Network(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -692,15 +748,11 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.Network result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { @@ -720,38 +772,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.Network result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.Network) { - return mergeFrom((com.google.cloud.edgenetwork.v1.Network)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.Network) other); } else { super.mergeFrom(other); return this; @@ -771,8 +824,7 @@ public Builder mergeFrom(com.google.cloud.edgenetwork.v1.Network other) { if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); bitField0_ |= 0x00000008; if (!other.getDescription().isEmpty()) { description_ = other.description_; @@ -808,50 +860,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 48: { - mtu_ = input.readInt32(); - bitField0_ |= 0x00000020; - break; - } // case 48 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: + { + mtu_ = input.readInt32(); + bitField0_ |= 0x00000020; + break; + } // case 48 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -861,22 +918,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The canonical resource name of the network.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -885,20 +945,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The canonical resource name of the network.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -906,28 +967,35 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The canonical resource name of the network.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The canonical resource name of the network.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -937,17 +1005,21 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The canonical resource name of the network.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -957,39 +1029,58 @@ public Builder setNameBytes( 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 when the network was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The time when the network was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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 when the network was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1005,14 +1096,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the network was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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(); } else { @@ -1023,17 +1117,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time when the network was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1048,11 +1146,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the network was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1065,11 +1167,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time when the network was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000002; @@ -1077,36 +1183,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the network was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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 when the network was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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_; @@ -1114,39 +1232,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 when the network was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The time when the network was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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 when the network was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1162,14 +1299,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the network was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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(); } else { @@ -1180,17 +1320,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time when the network was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1205,11 +1349,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the network was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1222,11 +1370,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time when the network was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1234,56 +1386,66 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the network was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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 when the network was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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() { 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(); @@ -1292,10 +1454,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels associated with this resource.
      * 
@@ -1303,20 +1468,21 @@ public int getLabelsCount() { * map<string, string> labels = 4; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Labels associated with this resource.
      * 
@@ -1328,6 +1494,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels associated with this resource.
      * 
@@ -1335,17 +1503,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Labels associated with this resource.
      * 
@@ -1353,92 +1523,96 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000008); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Labels associated with this resource.
      * 
* * map<string, string> labels = 4; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000008; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Labels associated with this resource.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000008; return this; } /** + * + * *
      * Labels associated with this resource.
      * 
* * map<string, string> labels = 4; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000008; return this; } private java.lang.Object description_ = ""; /** + * + * *
      * Optional. A free-text description of the resource. Max length 1024
      * characters.
      * 
* * string description = 5 [(.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; @@ -1447,21 +1621,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. A free-text description of the resource. Max length 1024
      * characters.
      * 
* * string description = 5 [(.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 { @@ -1469,30 +1644,37 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. A free-text description of the resource. Max length 1024
      * characters.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. A free-text description of the resource. Max length 1024
      * characters.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1502,18 +1684,22 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. A free-text description of the resource. Max length 1024
      * characters.
      * 
* * string description = 5 [(.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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000010; @@ -1521,8 +1707,10 @@ public Builder setDescriptionBytes( return this; } - private int mtu_ ; + private int mtu_; /** + * + * *
      * IP (L3) MTU value of the network.
      * Valid values are: 1500 and 9000.
@@ -1530,6 +1718,7 @@ public Builder setDescriptionBytes(
      * 
* * int32 mtu = 6; + * * @return The mtu. */ @java.lang.Override @@ -1537,6 +1726,8 @@ public int getMtu() { return mtu_; } /** + * + * *
      * IP (L3) MTU value of the network.
      * Valid values are: 1500 and 9000.
@@ -1544,6 +1735,7 @@ public int getMtu() {
      * 
* * int32 mtu = 6; + * * @param value The mtu to set. * @return This builder for chaining. */ @@ -1555,6 +1747,8 @@ public Builder setMtu(int value) { return this; } /** + * + * *
      * IP (L3) MTU value of the network.
      * Valid values are: 1500 and 9000.
@@ -1562,6 +1756,7 @@ public Builder setMtu(int value) {
      * 
* * int32 mtu = 6; + * * @return This builder for chaining. */ public Builder clearMtu() { @@ -1570,9 +1765,9 @@ public Builder clearMtu() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1582,12 +1777,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.Network) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.Network) private static final com.google.cloud.edgenetwork.v1.Network DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.Network(); } @@ -1596,27 +1791,27 @@ public static com.google.cloud.edgenetwork.v1.Network getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Network parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Network parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1631,6 +1826,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.Network getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/NetworkName.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/NetworkName.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/NetworkName.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/NetworkName.java diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/NetworkOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/NetworkOrBuilder.java similarity index 70% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/NetworkOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/NetworkOrBuilder.java index c280da49bf8e..009148a2eb3c 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/NetworkOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/NetworkOrBuilder.java @@ -1,88 +1,133 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/resources.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface NetworkOrBuilder extends +public interface NetworkOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.Network) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The canonical resource name of the network.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The canonical resource name of the network.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. The time when the network was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time when the network was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time when the network was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time when the network was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The time when the network was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The time when the network was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Labels associated with this resource.
    * 
@@ -91,30 +136,31 @@ public interface NetworkOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Labels associated with this resource.
    * 
* * map<string, string> labels = 4; */ - 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(); /** + * + * *
    * Labels associated with this resource.
    * 
* * map<string, string> labels = 4; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Labels associated with this resource.
    * 
@@ -122,43 +168,51 @@ boolean containsLabels( * map<string, string> labels = 4; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Labels associated with this resource.
    * 
* * map<string, string> labels = 4; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Optional. A free-text description of the resource. Max length 1024
    * characters.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. A free-text description of the resource. Max length 1024
    * characters.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * IP (L3) MTU value of the network.
    * Valid values are: 1500 and 9000.
@@ -166,6 +220,7 @@ java.lang.String getLabelsOrThrow(
    * 
* * int32 mtu = 6; + * * @return The mtu. */ int getMtu(); diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/OperationMetadata.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/OperationMetadata.java similarity index 71% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/OperationMetadata.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/OperationMetadata.java index ea09eaa23381..810ca1a34532 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/OperationMetadata.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/OperationMetadata.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,21 +20,24 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Represents the metadata of the long-running operation.
  * 
* * Protobuf type {@code google.cloud.edgenetwork.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.edgenetwork.v1.OperationMetadata) OperationMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OperationMetadata() { target_ = ""; verb_ = ""; @@ -29,33 +47,38 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.OperationMetadata.class, com.google.cloud.edgenetwork.v1.OperationMetadata.Builder.class); + com.google.cloud.edgenetwork.v1.OperationMetadata.class, + com.google.cloud.edgenetwork.v1.OperationMetadata.Builder.class); } private int bitField0_; public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -63,11 +86,15 @@ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -75,11 +102,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -89,11 +119,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -101,11 +135,15 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -113,11 +151,14 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -125,14 +166,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int TARGET_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object target_ = ""; /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ @java.lang.Override @@ -141,29 +186,29 @@ public java.lang.String getTarget() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; } } /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); target_ = b; return b; } else { @@ -172,14 +217,18 @@ public java.lang.String getTarget() { } public static final int VERB_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object verb_ = ""; /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ @java.lang.Override @@ -188,29 +237,29 @@ public java.lang.String getVerb() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; } } /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); verb_ = b; return b; } else { @@ -219,14 +268,18 @@ public java.lang.String getVerb() { } public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object statusMessage_ = ""; /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusMessage. */ @java.lang.Override @@ -235,29 +288,29 @@ public java.lang.String getStatusMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getStatusMessageBytes() { + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -268,6 +321,8 @@ public java.lang.String getStatusMessage() { public static final int REQUESTED_CANCELLATION_FIELD_NUMBER = 6; private boolean requestedCancellation_ = false; /** + * + * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have been cancelled successfully
@@ -277,6 +332,7 @@ public java.lang.String getStatusMessage() {
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ @java.lang.Override @@ -285,14 +341,18 @@ public boolean getRequestedCancellation() { } public static final int API_VERSION_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object apiVersion_ = ""; /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ @java.lang.Override @@ -301,29 +361,29 @@ public java.lang.String getApiVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; } } /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -332,6 +392,7 @@ public java.lang.String getApiVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -343,8 +404,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getCreateTime()); } @@ -376,12 +436,10 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -393,8 +451,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); } if (requestedCancellation_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, requestedCancellation_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requestedCancellation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); @@ -407,33 +464,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.edgenetwork.v1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.OperationMetadata other = (com.google.cloud.edgenetwork.v1.OperationMetadata) obj; + com.google.cloud.edgenetwork.v1.OperationMetadata other = + (com.google.cloud.edgenetwork.v1.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; - } - if (!getTarget() - .equals(other.getTarget())) return false; - if (!getVerb() - .equals(other.getVerb())) return false; - if (!getStatusMessage() - .equals(other.getStatusMessage())) return false; - if (getRequestedCancellation() - != other.getRequestedCancellation()) return false; - if (!getApiVersion() - .equals(other.getApiVersion())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; + } + if (!getTarget().equals(other.getTarget())) return false; + if (!getVerb().equals(other.getVerb())) return false; + if (!getStatusMessage().equals(other.getStatusMessage())) return false; + if (getRequestedCancellation() != other.getRequestedCancellation()) return false; + if (!getApiVersion().equals(other.getApiVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -460,8 +511,7 @@ public int hashCode() { hash = (37 * hash) + STATUS_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getStatusMessage().hashCode(); hash = (37 * hash) + REQUESTED_CANCELLATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequestedCancellation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -470,119 +520,126 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.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.edgenetwork.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.edgenetwork.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.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.edgenetwork.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.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.edgenetwork.v1.OperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.OperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.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.edgenetwork.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.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.edgenetwork.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.edgenetwork.v1.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents the metadata of the long-running operation.
    * 
* * Protobuf type {@code google.cloud.edgenetwork.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.edgenetwork.v1.OperationMetadata) com.google.cloud.edgenetwork.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.OperationMetadata.class, com.google.cloud.edgenetwork.v1.OperationMetadata.Builder.class); + com.google.cloud.edgenetwork.v1.OperationMetadata.class, + com.google.cloud.edgenetwork.v1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.OperationMetadata.newBuilder() @@ -590,18 +647,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCreateTimeFieldBuilder(); getEndTimeFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -625,9 +682,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -646,8 +703,11 @@ public com.google.cloud.edgenetwork.v1.OperationMetadata build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.OperationMetadata buildPartial() { - com.google.cloud.edgenetwork.v1.OperationMetadata result = new com.google.cloud.edgenetwork.v1.OperationMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.OperationMetadata result = + new com.google.cloud.edgenetwork.v1.OperationMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -656,15 +716,11 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.OperationMetadata res int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { @@ -689,38 +745,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.OperationMetadata res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.OperationMetadata) { - return mergeFrom((com.google.cloud.edgenetwork.v1.OperationMetadata)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -728,7 +785,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.OperationMetadata other) { - if (other == com.google.cloud.edgenetwork.v1.OperationMetadata.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.OperationMetadata.getDefaultInstance()) + return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -784,51 +842,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - target_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - verb_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - statusMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 48: { - requestedCancellation_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 58: { - apiVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + target_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + verb_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + statusMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: + { + requestedCancellation_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 58: + { + apiVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -838,43 +900,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -890,14 +972,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.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(); } else { @@ -908,17 +993,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -933,11 +1022,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000001); @@ -950,11 +1043,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000001; @@ -962,36 +1059,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.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_; @@ -999,24 +1108,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 the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1027,11 +1147,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1047,14 +1170,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1065,17 +1190,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1090,11 +1218,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1107,11 +1238,14 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000002; @@ -1119,36 +1253,44 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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 the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.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> 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_; @@ -1156,18 +1298,20 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; @@ -1176,20 +1320,21 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); target_ = b; return b; } else { @@ -1197,28 +1342,35 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTarget(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } target_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTarget() { @@ -1228,17 +1380,21 @@ public Builder clearTarget() { return this; } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); target_ = value; bitField0_ |= 0x00000004; @@ -1248,18 +1404,20 @@ public Builder setTargetBytes( private java.lang.Object verb_ = ""; /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; @@ -1268,20 +1426,21 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); verb_ = b; return b; } else { @@ -1289,28 +1448,35 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVerb(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } verb_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearVerb() { @@ -1320,17 +1486,21 @@ public Builder clearVerb() { return this; } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVerbBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); verb_ = value; bitField0_ |= 0x00000008; @@ -1340,18 +1510,20 @@ public Builder setVerbBytes( private java.lang.Object statusMessage_ = ""; /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusMessage. */ public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -1360,20 +1532,21 @@ public java.lang.String getStatusMessage() { } } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusMessage. */ - public com.google.protobuf.ByteString - getStatusMessageBytes() { + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -1381,28 +1554,35 @@ public java.lang.String getStatusMessage() { } } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStatusMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } statusMessage_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearStatusMessage() { @@ -1412,17 +1592,21 @@ public Builder clearStatusMessage() { return this; } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); statusMessage_ = value; bitField0_ |= 0x00000010; @@ -1430,8 +1614,10 @@ public Builder setStatusMessageBytes( return this; } - private boolean requestedCancellation_ ; + private boolean requestedCancellation_; /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have been cancelled successfully
@@ -1441,6 +1627,7 @@ public Builder setStatusMessageBytes(
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ @java.lang.Override @@ -1448,6 +1635,8 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have been cancelled successfully
@@ -1457,6 +1646,7 @@ public boolean getRequestedCancellation() {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The requestedCancellation to set. * @return This builder for chaining. */ @@ -1468,6 +1658,8 @@ public Builder setRequestedCancellation(boolean value) { return this; } /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have been cancelled successfully
@@ -1477,6 +1669,7 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { @@ -1488,18 +1681,20 @@ public Builder clearRequestedCancellation() { private java.lang.Object apiVersion_ = ""; /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; @@ -1508,20 +1703,21 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -1529,28 +1725,35 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setApiVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } apiVersion_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearApiVersion() { @@ -1560,26 +1763,30 @@ public Builder clearApiVersion() { return this; } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); apiVersion_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1589,12 +1796,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.OperationMetadata) private static final com.google.cloud.edgenetwork.v1.OperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.OperationMetadata(); } @@ -1603,27 +1810,27 @@ public static com.google.cloud.edgenetwork.v1.OperationMetadata getDefaultInstan 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + 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 { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1638,6 +1845,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/OperationMetadataOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/OperationMetadataOrBuilder.java similarity index 75% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/OperationMetadataOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/OperationMetadataOrBuilder.java index 106ee66f14a3..24d0b3991231 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/OperationMetadataOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/OperationMetadataOrBuilder.java @@ -1,128 +1,183 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface OperationMetadataOrBuilder extends +public interface OperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ java.lang.String getTarget(); /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ - com.google.protobuf.ByteString - getTargetBytes(); + com.google.protobuf.ByteString getTargetBytes(); /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ java.lang.String getVerb(); /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ - com.google.protobuf.ByteString - getVerbBytes(); + com.google.protobuf.ByteString getVerbBytes(); /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusMessage. */ java.lang.String getStatusMessage(); /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusMessage. */ - com.google.protobuf.ByteString - getStatusMessageBytes(); + com.google.protobuf.ByteString getStatusMessageBytes(); /** + * + * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have been cancelled successfully
@@ -132,27 +187,33 @@ public interface OperationMetadataOrBuilder extends
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ boolean getRequestedCancellation(); /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ java.lang.String getApiVersion(); /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString - getApiVersionBytes(); + com.google.protobuf.ByteString getApiVersionBytes(); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ResourceState.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ResourceState.java similarity index 72% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ResourceState.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ResourceState.java index 8c1df3deefb7..fbdc037f749b 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ResourceState.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ResourceState.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/resources.proto @@ -5,6 +20,8 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * ResourceState describes the state the resource.
  * A normal lifecycle of a new resource being created would be: PENDING ->
@@ -15,9 +32,10 @@
  *
  * Protobuf enum {@code google.cloud.edgenetwork.v1.ResourceState}
  */
-public enum ResourceState
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum ResourceState implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Unspecified state.
    * 
@@ -26,6 +44,8 @@ public enum ResourceState */ STATE_UNKNOWN(0), /** + * + * *
    * The resource is being prepared to be applied to the rack.
    * 
@@ -34,6 +54,8 @@ public enum ResourceState */ STATE_PENDING(1), /** + * + * *
    * The resource has started being applied to the rack.
    * 
@@ -42,6 +64,8 @@ public enum ResourceState */ STATE_PROVISIONING(2), /** + * + * *
    * The resource has been pushed to the rack.
    * 
@@ -50,6 +74,8 @@ public enum ResourceState */ STATE_RUNNING(3), /** + * + * *
    * The resource failed to push to the rack.
    * 
@@ -58,6 +84,8 @@ public enum ResourceState */ STATE_SUSPENDED(4), /** + * + * *
    * The resource is under deletion.
    * 
@@ -69,6 +97,8 @@ public enum ResourceState ; /** + * + * *
    * Unspecified state.
    * 
@@ -77,6 +107,8 @@ public enum ResourceState */ public static final int STATE_UNKNOWN_VALUE = 0; /** + * + * *
    * The resource is being prepared to be applied to the rack.
    * 
@@ -85,6 +117,8 @@ public enum ResourceState */ public static final int STATE_PENDING_VALUE = 1; /** + * + * *
    * The resource has started being applied to the rack.
    * 
@@ -93,6 +127,8 @@ public enum ResourceState */ public static final int STATE_PROVISIONING_VALUE = 2; /** + * + * *
    * The resource has been pushed to the rack.
    * 
@@ -101,6 +137,8 @@ public enum ResourceState */ public static final int STATE_RUNNING_VALUE = 3; /** + * + * *
    * The resource failed to push to the rack.
    * 
@@ -109,6 +147,8 @@ public enum ResourceState */ public static final int STATE_SUSPENDED_VALUE = 4; /** + * + * *
    * The resource is under deletion.
    * 
@@ -117,7 +157,6 @@ public enum ResourceState */ public static final int STATE_DELETING_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -142,52 +181,55 @@ public static ResourceState valueOf(int value) { */ public static ResourceState forNumber(int value) { switch (value) { - case 0: return STATE_UNKNOWN; - case 1: return STATE_PENDING; - case 2: return STATE_PROVISIONING; - case 3: return STATE_RUNNING; - case 4: return STATE_SUSPENDED; - case 5: return STATE_DELETING; - default: return null; + case 0: + return STATE_UNKNOWN; + case 1: + return STATE_PENDING; + case 2: + return STATE_PROVISIONING; + case 3: + return STATE_RUNNING; + case 4: + return STATE_SUSPENDED; + case 5: + return STATE_DELETING; + 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< - ResourceState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ResourceState findValueByNumber(int number) { - return ResourceState.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 ResourceState findValueByNumber(int number) { + return ResourceState.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.edgenetwork.v1.ResourcesProto.getDescriptor().getEnumTypes().get(0); } private static final ResourceState[] VALUES = values(); - public static ResourceState valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ResourceState 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; @@ -203,4 +245,3 @@ private ResourceState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.edgenetwork.v1.ResourceState) } - diff --git a/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ResourcesProto.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ResourcesProto.java new file mode 100644 index 000000000000..bd65c2b3818e --- /dev/null +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ResourcesProto.java @@ -0,0 +1,601 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/edgenetwork/v1/resources.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.edgenetwork.v1; + +public final class ResourcesProto { + private ResourcesProto() {} + + 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_edgenetwork_v1_Zone_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_Zone_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_Zone_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_Zone_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_Network_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_Network_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_Network_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_Network_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_Subnet_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_Subnet_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_Subnet_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_Subnet_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_Interconnect_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_Interconnect_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_Interconnect_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_Interconnect_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_Router_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_Router_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_Router_Interface_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_Router_Interface_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_Router_BgpPeer_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_Router_BgpPeer_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_Router_Bgp_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_Router_Bgp_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_Router_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_Router_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_LinkLayerAddress_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_LinkLayerAddress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_SubnetStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_SubnetStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_PacketCounts_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_PacketCounts_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLACPStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLACPStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLLDPStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLLDPStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_RouterStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_RouterStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_RouterStatus_BgpPeerStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_RouterStatus_BgpPeerStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_RouterStatus_PrefixCounter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_RouterStatus_PrefixCounter_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/edgenetwork/v1/resources." + + "proto\022\033google.cloud.edgenetwork.v1\032\037goog" + + "le/api/field_behavior.proto\032\031google/api/" + + "resource.proto\032\037google/protobuf/timestam" + + "p.proto\"\354\002\n\004Zone\022\021\n\004name\030\001 \001(\tB\003\340A\002\0224\n\013c" + + "reate_time\030\002 \001(\0132\032.google.protobuf.Times" + + "tampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google." + + "protobuf.TimestampB\003\340A\003\022A\n\006labels\030\004 \003(\0132" + + "-.google.cloud.edgenetwork.v1.Zone.Label" + + "sEntryB\002\030\001\022\027\n\013layout_name\030\005 \001(\tB\002\030\001\032-\n\013L" + + "abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" + + "8\001:Z\352AW\n\037edgenetwork.googleapis.com/Zone" + + "\0224projects/{project}/locations/{location" + + "}/zones/{zone}\"\222\003\n\007Network\022\021\n\004name\030\001 \001(\t" + + "B\003\340A\002\0224\n\013create_time\030\002 \001(\0132\032.google.prot" + + "obuf.TimestampB\003\340A\003\0224\n\013update_time\030\003 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\022@\n\006lab" + + "els\030\004 \003(\01320.google.cloud.edgenetwork.v1." + + "Network.LabelsEntry\022\030\n\013description\030\005 \001(\t" + + "B\003\340A\001\022\013\n\003mtu\030\006 \001(\005\032-\n\013LabelsEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:p\352Am\n\"edgenetw" + + "ork.googleapis.com/Network\022Gprojects/{pr" + + "oject}/locations/{location}/zones/{zone}" + + "/networks/{network}\"\271\004\n\006Subnet\022\021\n\004name\030\001" + + " \001(\tB\003\340A\002\0224\n\013create_time\030\002 \001(\0132\032.google." + + "protobuf.TimestampB\003\340A\003\0224\n\013update_time\030\003" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022?\n" + + "\006labels\030\004 \003(\0132/.google.cloud.edgenetwork" + + ".v1.Subnet.LabelsEntry\022\030\n\013description\030\005 " + + "\001(\tB\003\340A\001\022;\n\007network\030\006 \001(\tB*\340A\002\372A$\n\"edgen" + + "etwork.googleapis.com/Network\022\021\n\tipv4_ci" + + "dr\030\007 \003(\t\022\021\n\tipv6_cidr\030\010 \003(\t\022\024\n\007vlan_id\030\t" + + " \001(\005B\003\340A\001\022>\n\005state\030\n \001(\0162*.google.cloud." + + "edgenetwork.v1.ResourceStateB\003\340A\003\032-\n\013Lab" + + "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + + ":m\352Aj\n!edgenetwork.googleapis.com/Subnet" + + "\022Eprojects/{project}/locations/{location" + + "}/zones/{zone}/subnets/{subnet}\"\231\005\n\014Inte" + + "rconnect\022\021\n\004name\030\001 \001(\tB\003\340A\002\0224\n\013create_ti" + + "me\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A" + + "\003\0224\n\013update_time\030\003 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\022E\n\006labels\030\004 \003(\01325.google" + + ".cloud.edgenetwork.v1.Interconnect.Label" + + "sEntry\022\030\n\013description\030\005 \001(\tB\003\340A\001\022Z\n\021inte" + + "rconnect_type\030\006 \001(\0162:.google.cloud.edgen" + + "etwork.v1.Interconnect.InterconnectTypeB" + + "\003\340A\001\022\021\n\004uuid\030\007 \001(\tB\003\340A\003\022\'\n\032device_cloud_" + + "resource_name\030\010 \001(\tB\003\340A\003\022\033\n\016physical_por" + + "ts\030\t \003(\tB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(" + + "\t\022\r\n\005value\030\002 \001(\t:\0028\001\"D\n\020InterconnectType" + + "\022!\n\035INTERCONNECT_TYPE_UNSPECIFIED\020\000\022\r\n\tD" + + "EDICATED\020\001:\177\352A|\n\'edgenetwork.googleapis." + + "com/Interconnect\022Qprojects/{project}/loc" + + "ations/{location}/zones/{zone}/interconn" + + "ects/{interconnect}\"\272\005\n\026InterconnectAtta" + + "chment\022\021\n\004name\030\001 \001(\tB\003\340A\002\0224\n\013create_time" + + "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + + "4\n\013update_time\030\003 \001(\0132\032.google.protobuf.T" + + "imestampB\003\340A\003\022O\n\006labels\030\004 \003(\0132?.google.c" + + "loud.edgenetwork.v1.InterconnectAttachme" + + "nt.LabelsEntry\022\030\n\013description\030\005 \001(\tB\003\340A\001" + + "\022E\n\014interconnect\030\006 \001(\tB/\340A\002\372A)\n\'edgenetw" + + "ork.googleapis.com/Interconnect\022;\n\007netwo" + + "rk\030\013 \001(\tB*\340A\001\372A$\n\"edgenetwork.googleapis" + + ".com/Network\022\024\n\007vlan_id\030\010 \001(\005B\003\340A\002\022\013\n\003mt" + + "u\030\t \001(\005\022>\n\005state\030\n \001(\0162*.google.cloud.ed" + + "genetwork.v1.ResourceStateB\003\340A\003\032-\n\013Label" + + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\237" + + "\001\352A\233\001\n1edgenetwork.googleapis.com/Interc" + + "onnectAttachment\022fprojects/{project}/loc" + + "ations/{location}/zones/{zone}/interconn" + + "ectAttachments/{interconnect_attachment}" + + "\"\360\010\n\006Router\022\021\n\004name\030\001 \001(\tB\003\340A\002\0224\n\013create" + + "_time\030\002 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\022?\n\006labels\030\004 \003(\0132/.goo" + + "gle.cloud.edgenetwork.v1.Router.LabelsEn" + + "try\022\030\n\013description\030\005 \001(\tB\003\340A\001\022;\n\007network" + + "\030\006 \001(\tB*\340A\002\372A$\n\"edgenetwork.googleapis.c" + + "om/Network\022@\n\tinterface\030\007 \003(\0132-.google.c" + + "loud.edgenetwork.v1.Router.Interface\022=\n\010" + + "bgp_peer\030\010 \003(\0132+.google.cloud.edgenetwor" + + "k.v1.Router.BgpPeer\0224\n\003bgp\030\t \001(\0132\'.googl" + + "e.cloud.edgenetwork.v1.Router.Bgp\022>\n\005sta" + + "te\030\n \001(\0162*.google.cloud.edgenetwork.v1.R" + + "esourceStateB\003\340A\003\022!\n\024route_advertisement" + + "s\030\013 \003(\tB\003\340A\001\032\232\001\n\tInterface\022\014\n\004name\030\001 \001(\t" + + "\022\021\n\tipv4_cidr\030\003 \001(\t\022\021\n\tipv6_cidr\030\006 \001(\t\022&" + + "\n\036linked_interconnect_attachment\030\002 \001(\t\022\022" + + "\n\nsubnetwork\030\004 \001(\t\022\035\n\025loopback_ip_addres" + + "ses\030\005 \003(\t\032\276\001\n\007BgpPeer\022\014\n\004name\030\001 \001(\t\022\021\n\ti" + + "nterface\030\002 \001(\t\022\033\n\023interface_ipv4_cidr\030\003 " + + "\001(\t\022\033\n\023interface_ipv6_cidr\030\007 \001(\t\022\026\n\016peer" + + "_ipv4_cidr\030\004 \001(\t\022\026\n\016peer_ipv6_cidr\030\006 \001(\t" + + "\022\020\n\010peer_asn\030\005 \001(\r\022\026\n\tlocal_asn\030\010 \001(\rB\003\340" + + "A\003\0329\n\003Bgp\022\013\n\003asn\030\001 \001(\r\022%\n\035keepalive_inte" + + "rval_in_seconds\030\002 \001(\r\032-\n\013LabelsEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:m\352Aj\n!edgen" + + "etwork.googleapis.com/Router\022Eprojects/{" + + "project}/locations/{location}/zones/{zon" + + "e}/routers/{router}\";\n\020LinkLayerAddress\022" + + "\023\n\013mac_address\030\001 \001(\t\022\022\n\nip_address\030\002 \001(\t" + + "\"~\n\014SubnetStatus\022\014\n\004name\030\001 \001(\t\022\023\n\013mac_ad" + + "dress\030\002 \001(\t\022K\n\024link_layer_addresses\030\003 \003(" + + "\0132-.google.cloud.edgenetwork.v1.LinkLaye" + + "rAddress\"\361\010\n\027InterconnectDiagnostics\022\023\n\013" + + "mac_address\030\001 \001(\t\022K\n\024link_layer_addresse" + + "s\030\002 \003(\0132-.google.cloud.edgenetwork.v1.Li" + + "nkLayerAddress\022N\n\005links\030\003 \003(\0132?.google.c" + + "loud.edgenetwork.v1.InterconnectDiagnost" + + "ics.LinkStatus\032\260\002\n\nLinkStatus\022\022\n\ncircuit" + + "_id\030\001 \001(\t\022X\n\013lacp_status\030\002 \001(\0132C.google." + + "cloud.edgenetwork.v1.InterconnectDiagnos" + + "tics.LinkLACPStatus\022Z\n\rlldp_statuses\030\003 \003" + + "(\0132C.google.cloud.edgenetwork.v1.Interco" + + "nnectDiagnostics.LinkLLDPStatus\022X\n\rpacke" + + "t_counts\030\004 \001(\0132A.google.cloud.edgenetwor" + + "k.v1.InterconnectDiagnostics.PacketCount" + + "s\032\247\001\n\014PacketCounts\022\027\n\017inbound_unicast\030\001 " + + "\001(\003\022\026\n\016inbound_errors\030\002 \001(\003\022\030\n\020inbound_d" + + "iscards\030\003 \001(\003\022\030\n\020outbound_unicast\030\004 \001(\003\022" + + "\027\n\017outbound_errors\030\005 \001(\003\022\031\n\021outbound_dis" + + "cards\030\006 \001(\003\032\220\002\n\016LinkLACPStatus\022X\n\005state\030" + + "\001 \001(\0162I.google.cloud.edgenetwork.v1.Inte" + + "rconnectDiagnostics.LinkLACPStatus.State" + + "\022\030\n\020google_system_id\030\002 \001(\t\022\032\n\022neighbor_s" + + "ystem_id\030\003 \001(\t\022\024\n\014aggregatable\030\004 \001(\010\022\022\n\n" + + "collecting\030\005 \001(\010\022\024\n\014distributing\030\006 \001(\010\"." + + "\n\005State\022\013\n\007UNKNOWN\020\000\022\n\n\006ACTIVE\020\001\022\014\n\010DETA" + + "CHED\020\002\032\263\001\n\016LinkLLDPStatus\022\030\n\020peer_system" + + "_name\030\001 \001(\t\022\037\n\027peer_system_description\030\002" + + " \001(\t\022\027\n\017peer_chassis_id\030\003 \001(\t\022\034\n\024peer_ch" + + "assis_id_type\030\004 \001(\t\022\024\n\014peer_port_id\030\005 \001(" + + "\t\022\031\n\021peer_port_id_type\030\006 \001(\t\"\352\004\n\014RouterS" + + "tatus\0228\n\007network\030\001 \001(\tB\'\372A$\n\"edgenetwork" + + ".googleapis.com/Network\022P\n\017bgp_peer_stat" + + "us\030\002 \003(\01327.google.cloud.edgenetwork.v1.R" + + "outerStatus.BgpPeerStatus\032\321\002\n\rBgpPeerSta" + + "tus\022\014\n\004name\030\001 \001(\t\022\022\n\nip_address\030\002 \001(\t\022\027\n" + + "\017peer_ip_address\030\003 \001(\t\022Q\n\006status\030\004 \001(\0162A" + + ".google.cloud.edgenetwork.v1.RouterStatu" + + "s.BgpPeerStatus.BgpStatus\022\r\n\005state\030\005 \001(\t" + + "\022\016\n\006uptime\030\006 \001(\t\022\026\n\016uptime_seconds\030\007 \001(\003" + + "\022O\n\016prefix_counter\030\010 \001(\01327.google.cloud." + + "edgenetwork.v1.RouterStatus.PrefixCounte" + + "r\"*\n\tBgpStatus\022\013\n\007UNKNOWN\020\000\022\006\n\002UP\020\001\022\010\n\004D" + + "OWN\020\002\032z\n\rPrefixCounter\022\022\n\nadvertised\030\001 \001" + + "(\003\022\016\n\006denied\030\002 \001(\003\022\020\n\010received\030\003 \001(\003\022\014\n\004" + + "sent\030\004 \001(\003\022\022\n\nsuppressed\030\005 \001(\003\022\021\n\twithdr" + + "awn\030\006 \001(\003*\211\001\n\rResourceState\022\021\n\rSTATE_UNK" + + "NOWN\020\000\022\021\n\rSTATE_PENDING\020\001\022\026\n\022STATE_PROVI" + + "SIONING\020\002\022\021\n\rSTATE_RUNNING\020\003\022\023\n\017STATE_SU" + + "SPENDED\020\004\022\022\n\016STATE_DELETING\020\005B\323\001\n\037com.go" + + "ogle.cloud.edgenetwork.v1B\016ResourcesProt" + + "oP\001ZAcloud.google.com/go/edgenetwork/api" + + "v1/edgenetworkpb;edgenetworkpb\252\002\033Google." + + "Cloud.EdgeNetwork.V1\312\002\033Google\\Cloud\\Edge" + + "Network\\V1\352\002\036Google::Cloud::EdgeNetwork:" + + ":V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_edgenetwork_v1_Zone_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_edgenetwork_v1_Zone_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgenetwork_v1_Zone_descriptor, + new java.lang.String[] { + "Name", "CreateTime", "UpdateTime", "Labels", "LayoutName", + }); + internal_static_google_cloud_edgenetwork_v1_Zone_LabelsEntry_descriptor = + internal_static_google_cloud_edgenetwork_v1_Zone_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_edgenetwork_v1_Zone_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgenetwork_v1_Zone_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_edgenetwork_v1_Network_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_edgenetwork_v1_Network_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgenetwork_v1_Network_descriptor, + new java.lang.String[] { + "Name", "CreateTime", "UpdateTime", "Labels", "Description", "Mtu", + }); + internal_static_google_cloud_edgenetwork_v1_Network_LabelsEntry_descriptor = + internal_static_google_cloud_edgenetwork_v1_Network_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_edgenetwork_v1_Network_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgenetwork_v1_Network_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_edgenetwork_v1_Subnet_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_edgenetwork_v1_Subnet_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgenetwork_v1_Subnet_descriptor, + new java.lang.String[] { + "Name", + "CreateTime", + "UpdateTime", + "Labels", + "Description", + "Network", + "Ipv4Cidr", + "Ipv6Cidr", + "VlanId", + "State", + }); + internal_static_google_cloud_edgenetwork_v1_Subnet_LabelsEntry_descriptor = + internal_static_google_cloud_edgenetwork_v1_Subnet_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_edgenetwork_v1_Subnet_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgenetwork_v1_Subnet_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_edgenetwork_v1_Interconnect_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_edgenetwork_v1_Interconnect_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgenetwork_v1_Interconnect_descriptor, + new java.lang.String[] { + "Name", + "CreateTime", + "UpdateTime", + "Labels", + "Description", + "InterconnectType", + "Uuid", + "DeviceCloudResourceName", + "PhysicalPorts", + }); + internal_static_google_cloud_edgenetwork_v1_Interconnect_LabelsEntry_descriptor = + internal_static_google_cloud_edgenetwork_v1_Interconnect_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_edgenetwork_v1_Interconnect_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgenetwork_v1_Interconnect_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_descriptor, + new java.lang.String[] { + "Name", + "CreateTime", + "UpdateTime", + "Labels", + "Description", + "Interconnect", + "Network", + "VlanId", + "Mtu", + "State", + }); + internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_LabelsEntry_descriptor = + internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_edgenetwork_v1_Router_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_edgenetwork_v1_Router_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgenetwork_v1_Router_descriptor, + new java.lang.String[] { + "Name", + "CreateTime", + "UpdateTime", + "Labels", + "Description", + "Network", + "Interface", + "BgpPeer", + "Bgp", + "State", + "RouteAdvertisements", + }); + internal_static_google_cloud_edgenetwork_v1_Router_Interface_descriptor = + internal_static_google_cloud_edgenetwork_v1_Router_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_edgenetwork_v1_Router_Interface_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgenetwork_v1_Router_Interface_descriptor, + new java.lang.String[] { + "Name", + "Ipv4Cidr", + "Ipv6Cidr", + "LinkedInterconnectAttachment", + "Subnetwork", + "LoopbackIpAddresses", + }); + internal_static_google_cloud_edgenetwork_v1_Router_BgpPeer_descriptor = + internal_static_google_cloud_edgenetwork_v1_Router_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_edgenetwork_v1_Router_BgpPeer_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgenetwork_v1_Router_BgpPeer_descriptor, + new java.lang.String[] { + "Name", + "Interface", + "InterfaceIpv4Cidr", + "InterfaceIpv6Cidr", + "PeerIpv4Cidr", + "PeerIpv6Cidr", + "PeerAsn", + "LocalAsn", + }); + internal_static_google_cloud_edgenetwork_v1_Router_Bgp_descriptor = + internal_static_google_cloud_edgenetwork_v1_Router_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_edgenetwork_v1_Router_Bgp_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgenetwork_v1_Router_Bgp_descriptor, + new java.lang.String[] { + "Asn", "KeepaliveIntervalInSeconds", + }); + internal_static_google_cloud_edgenetwork_v1_Router_LabelsEntry_descriptor = + internal_static_google_cloud_edgenetwork_v1_Router_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_edgenetwork_v1_Router_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgenetwork_v1_Router_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_edgenetwork_v1_LinkLayerAddress_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_edgenetwork_v1_LinkLayerAddress_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgenetwork_v1_LinkLayerAddress_descriptor, + new java.lang.String[] { + "MacAddress", "IpAddress", + }); + internal_static_google_cloud_edgenetwork_v1_SubnetStatus_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_edgenetwork_v1_SubnetStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgenetwork_v1_SubnetStatus_descriptor, + new java.lang.String[] { + "Name", "MacAddress", "LinkLayerAddresses", + }); + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_descriptor, + new java.lang.String[] { + "MacAddress", "LinkLayerAddresses", "Links", + }); + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkStatus_descriptor = + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkStatus_descriptor, + new java.lang.String[] { + "CircuitId", "LacpStatus", "LldpStatuses", "PacketCounts", + }); + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_PacketCounts_descriptor = + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_PacketCounts_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_PacketCounts_descriptor, + new java.lang.String[] { + "InboundUnicast", + "InboundErrors", + "InboundDiscards", + "OutboundUnicast", + "OutboundErrors", + "OutboundDiscards", + }); + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLACPStatus_descriptor = + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLACPStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLACPStatus_descriptor, + new java.lang.String[] { + "State", + "GoogleSystemId", + "NeighborSystemId", + "Aggregatable", + "Collecting", + "Distributing", + }); + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLLDPStatus_descriptor = + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_descriptor + .getNestedTypes() + .get(3); + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLLDPStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLLDPStatus_descriptor, + new java.lang.String[] { + "PeerSystemName", + "PeerSystemDescription", + "PeerChassisId", + "PeerChassisIdType", + "PeerPortId", + "PeerPortIdType", + }); + internal_static_google_cloud_edgenetwork_v1_RouterStatus_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_edgenetwork_v1_RouterStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgenetwork_v1_RouterStatus_descriptor, + new java.lang.String[] { + "Network", "BgpPeerStatus", + }); + internal_static_google_cloud_edgenetwork_v1_RouterStatus_BgpPeerStatus_descriptor = + internal_static_google_cloud_edgenetwork_v1_RouterStatus_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_edgenetwork_v1_RouterStatus_BgpPeerStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgenetwork_v1_RouterStatus_BgpPeerStatus_descriptor, + new java.lang.String[] { + "Name", + "IpAddress", + "PeerIpAddress", + "Status", + "State", + "Uptime", + "UptimeSeconds", + "PrefixCounter", + }); + internal_static_google_cloud_edgenetwork_v1_RouterStatus_PrefixCounter_descriptor = + internal_static_google_cloud_edgenetwork_v1_RouterStatus_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_edgenetwork_v1_RouterStatus_PrefixCounter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgenetwork_v1_RouterStatus_PrefixCounter_descriptor, + new java.lang.String[] { + "Advertised", "Denied", "Received", "Sent", "Suppressed", "Withdrawn", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Router.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Router.java similarity index 72% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Router.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Router.java index ee4ce286d84b..d453d90f42e7 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Router.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Router.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/resources.proto @@ -5,21 +20,24 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message describing Router object
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.Router} */ -public final class Router extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Router extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.Router) RouterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Router.newBuilder() to construct. private Router(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Router() { name_ = ""; description_ = ""; @@ -27,20 +45,18 @@ private Router() { interface_ = java.util.Collections.emptyList(); bgpPeer_ = java.util.Collections.emptyList(); state_ = 0; - routeAdvertisements_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + routeAdvertisements_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Router(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Router_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Router_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -51,170 +67,210 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 4: 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.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Router_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Router_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.Router.class, com.google.cloud.edgenetwork.v1.Router.Builder.class); + com.google.cloud.edgenetwork.v1.Router.class, + com.google.cloud.edgenetwork.v1.Router.Builder.class); } - public interface InterfaceOrBuilder extends + public interface InterfaceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.Router.Interface) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Name of this interface entry. Unique within the Zones resource.
      * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Name of this interface entry. Unique within the Zones resource.
      * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * IP address and range of the interface.
      * 
* * string ipv4_cidr = 3; + * * @return The ipv4Cidr. */ java.lang.String getIpv4Cidr(); /** + * + * *
      * IP address and range of the interface.
      * 
* * string ipv4_cidr = 3; + * * @return The bytes for ipv4Cidr. */ - com.google.protobuf.ByteString - getIpv4CidrBytes(); + com.google.protobuf.ByteString getIpv4CidrBytes(); /** + * + * *
      * IPv6 address and range of the interface.
      * 
* * string ipv6_cidr = 6; + * * @return The ipv6Cidr. */ java.lang.String getIpv6Cidr(); /** + * + * *
      * IPv6 address and range of the interface.
      * 
* * string ipv6_cidr = 6; + * * @return The bytes for ipv6Cidr. */ - com.google.protobuf.ByteString - getIpv6CidrBytes(); + com.google.protobuf.ByteString getIpv6CidrBytes(); /** + * + * *
      * The canonical name of the linked Interconnect attachment.
      * 
* * string linked_interconnect_attachment = 2; + * * @return The linkedInterconnectAttachment. */ java.lang.String getLinkedInterconnectAttachment(); /** + * + * *
      * The canonical name of the linked Interconnect attachment.
      * 
* * string linked_interconnect_attachment = 2; + * * @return The bytes for linkedInterconnectAttachment. */ - com.google.protobuf.ByteString - getLinkedInterconnectAttachmentBytes(); + com.google.protobuf.ByteString getLinkedInterconnectAttachmentBytes(); /** + * + * *
      * The canonical name of the subnetwork resource that this interface
      * belongs to.
      * 
* * string subnetwork = 4; + * * @return The subnetwork. */ java.lang.String getSubnetwork(); /** + * + * *
      * The canonical name of the subnetwork resource that this interface
      * belongs to.
      * 
* * string subnetwork = 4; + * * @return The bytes for subnetwork. */ - com.google.protobuf.ByteString - getSubnetworkBytes(); + com.google.protobuf.ByteString getSubnetworkBytes(); /** + * + * *
      * Create loopback interface in the router when specified.
      * The number of IP addresses must match the number of TOR devices.
      * 
* * repeated string loopback_ip_addresses = 5; + * * @return A list containing the loopbackIpAddresses. */ - java.util.List - getLoopbackIpAddressesList(); + java.util.List getLoopbackIpAddressesList(); /** + * + * *
      * Create loopback interface in the router when specified.
      * The number of IP addresses must match the number of TOR devices.
      * 
* * repeated string loopback_ip_addresses = 5; + * * @return The count of loopbackIpAddresses. */ int getLoopbackIpAddressesCount(); /** + * + * *
      * Create loopback interface in the router when specified.
      * The number of IP addresses must match the number of TOR devices.
      * 
* * repeated string loopback_ip_addresses = 5; + * * @param index The index of the element to return. * @return The loopbackIpAddresses at the given index. */ java.lang.String getLoopbackIpAddresses(int index); /** + * + * *
      * Create loopback interface in the router when specified.
      * The number of IP addresses must match the number of TOR devices.
      * 
* * repeated string loopback_ip_addresses = 5; + * * @param index The index of the value to return. * @return The bytes of the loopbackIpAddresses at the given index. */ - com.google.protobuf.ByteString - getLoopbackIpAddressesBytes(int index); + com.google.protobuf.ByteString getLoopbackIpAddressesBytes(int index); } /** + * + * *
    * Router Interface defines the GDCE zone side layer-3 information for
    * building the BGP session.
@@ -222,54 +278,59 @@ public interface InterfaceOrBuilder extends
    *
    * Protobuf type {@code google.cloud.edgenetwork.v1.Router.Interface}
    */
-  public static final class Interface extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Interface extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.Router.Interface)
       InterfaceOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Interface.newBuilder() to construct.
     private Interface(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private Interface() {
       name_ = "";
       ipv4Cidr_ = "";
       ipv6Cidr_ = "";
       linkedInterconnectAttachment_ = "";
       subnetwork_ = "";
-      loopbackIpAddresses_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      loopbackIpAddresses_ = com.google.protobuf.LazyStringArrayList.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Interface();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Router_Interface_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.edgenetwork.v1.ResourcesProto
+          .internal_static_google_cloud_edgenetwork_v1_Router_Interface_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Router_Interface_fieldAccessorTable
+      return com.google.cloud.edgenetwork.v1.ResourcesProto
+          .internal_static_google_cloud_edgenetwork_v1_Router_Interface_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.edgenetwork.v1.Router.Interface.class, com.google.cloud.edgenetwork.v1.Router.Interface.Builder.class);
+              com.google.cloud.edgenetwork.v1.Router.Interface.class,
+              com.google.cloud.edgenetwork.v1.Router.Interface.Builder.class);
     }
 
     public static final int NAME_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Name of this interface entry. Unique within the Zones resource.
      * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -278,29 +339,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Name of this interface entry. Unique within the Zones resource.
      * 
* * 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 { @@ -309,14 +370,18 @@ public java.lang.String getName() { } public static final int IPV4_CIDR_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object ipv4Cidr_ = ""; /** + * + * *
      * IP address and range of the interface.
      * 
* * string ipv4_cidr = 3; + * * @return The ipv4Cidr. */ @java.lang.Override @@ -325,29 +390,29 @@ public java.lang.String getIpv4Cidr() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipv4Cidr_ = s; return s; } } /** + * + * *
      * IP address and range of the interface.
      * 
* * string ipv4_cidr = 3; + * * @return The bytes for ipv4Cidr. */ @java.lang.Override - public com.google.protobuf.ByteString - getIpv4CidrBytes() { + public com.google.protobuf.ByteString getIpv4CidrBytes() { java.lang.Object ref = ipv4Cidr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipv4Cidr_ = b; return b; } else { @@ -356,14 +421,18 @@ public java.lang.String getIpv4Cidr() { } public static final int IPV6_CIDR_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object ipv6Cidr_ = ""; /** + * + * *
      * IPv6 address and range of the interface.
      * 
* * string ipv6_cidr = 6; + * * @return The ipv6Cidr. */ @java.lang.Override @@ -372,29 +441,29 @@ public java.lang.String getIpv6Cidr() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipv6Cidr_ = s; return s; } } /** + * + * *
      * IPv6 address and range of the interface.
      * 
* * string ipv6_cidr = 6; + * * @return The bytes for ipv6Cidr. */ @java.lang.Override - public com.google.protobuf.ByteString - getIpv6CidrBytes() { + public com.google.protobuf.ByteString getIpv6CidrBytes() { java.lang.Object ref = ipv6Cidr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipv6Cidr_ = b; return b; } else { @@ -403,14 +472,18 @@ public java.lang.String getIpv6Cidr() { } public static final int LINKED_INTERCONNECT_ATTACHMENT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object linkedInterconnectAttachment_ = ""; /** + * + * *
      * The canonical name of the linked Interconnect attachment.
      * 
* * string linked_interconnect_attachment = 2; + * * @return The linkedInterconnectAttachment. */ @java.lang.Override @@ -419,29 +492,29 @@ public java.lang.String getLinkedInterconnectAttachment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); linkedInterconnectAttachment_ = s; return s; } } /** + * + * *
      * The canonical name of the linked Interconnect attachment.
      * 
* * string linked_interconnect_attachment = 2; + * * @return The bytes for linkedInterconnectAttachment. */ @java.lang.Override - public com.google.protobuf.ByteString - getLinkedInterconnectAttachmentBytes() { + public com.google.protobuf.ByteString getLinkedInterconnectAttachmentBytes() { java.lang.Object ref = linkedInterconnectAttachment_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); linkedInterconnectAttachment_ = b; return b; } else { @@ -450,15 +523,19 @@ public java.lang.String getLinkedInterconnectAttachment() { } public static final int SUBNETWORK_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object subnetwork_ = ""; /** + * + * *
      * The canonical name of the subnetwork resource that this interface
      * belongs to.
      * 
* * string subnetwork = 4; + * * @return The subnetwork. */ @java.lang.Override @@ -467,30 +544,30 @@ 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; } } /** + * + * *
      * The canonical name of the subnetwork resource that this interface
      * belongs to.
      * 
* * 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 { @@ -499,41 +576,50 @@ public java.lang.String getSubnetwork() { } public static final int LOOPBACK_IP_ADDRESSES_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList loopbackIpAddresses_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * Create loopback interface in the router when specified.
      * The number of IP addresses must match the number of TOR devices.
      * 
* * repeated string loopback_ip_addresses = 5; + * * @return A list containing the loopbackIpAddresses. */ - public com.google.protobuf.ProtocolStringList - getLoopbackIpAddressesList() { + public com.google.protobuf.ProtocolStringList getLoopbackIpAddressesList() { return loopbackIpAddresses_; } /** + * + * *
      * Create loopback interface in the router when specified.
      * The number of IP addresses must match the number of TOR devices.
      * 
* * repeated string loopback_ip_addresses = 5; + * * @return The count of loopbackIpAddresses. */ public int getLoopbackIpAddressesCount() { return loopbackIpAddresses_.size(); } /** + * + * *
      * Create loopback interface in the router when specified.
      * The number of IP addresses must match the number of TOR devices.
      * 
* * repeated string loopback_ip_addresses = 5; + * * @param index The index of the element to return. * @return The loopbackIpAddresses at the given index. */ @@ -541,21 +627,24 @@ public java.lang.String getLoopbackIpAddresses(int index) { return loopbackIpAddresses_.get(index); } /** + * + * *
      * Create loopback interface in the router when specified.
      * The number of IP addresses must match the number of TOR devices.
      * 
* * repeated string loopback_ip_addresses = 5; + * * @param index The index of the value to return. * @return The bytes of the loopbackIpAddresses at the given index. */ - public com.google.protobuf.ByteString - getLoopbackIpAddressesBytes(int index) { + public com.google.protobuf.ByteString getLoopbackIpAddressesBytes(int index) { return loopbackIpAddresses_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -567,13 +656,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(linkedInterconnectAttachment_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, linkedInterconnectAttachment_); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 2, linkedInterconnectAttachment_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipv4Cidr_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, ipv4Cidr_); @@ -582,7 +671,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 4, subnetwork_); } for (int i = 0; i < loopbackIpAddresses_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, loopbackIpAddresses_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 5, loopbackIpAddresses_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipv6Cidr_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, ipv6Cidr_); @@ -600,7 +690,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(linkedInterconnectAttachment_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, linkedInterconnectAttachment_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 2, linkedInterconnectAttachment_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipv4Cidr_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, ipv4Cidr_); @@ -627,25 +719,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.edgenetwork.v1.Router.Interface)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.Router.Interface other = (com.google.cloud.edgenetwork.v1.Router.Interface) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getIpv4Cidr() - .equals(other.getIpv4Cidr())) return false; - if (!getIpv6Cidr() - .equals(other.getIpv6Cidr())) return false; - if (!getLinkedInterconnectAttachment() - .equals(other.getLinkedInterconnectAttachment())) return false; - if (!getSubnetwork() - .equals(other.getSubnetwork())) return false; - if (!getLoopbackIpAddressesList() - .equals(other.getLoopbackIpAddressesList())) return false; + com.google.cloud.edgenetwork.v1.Router.Interface other = + (com.google.cloud.edgenetwork.v1.Router.Interface) obj; + + if (!getName().equals(other.getName())) return false; + if (!getIpv4Cidr().equals(other.getIpv4Cidr())) return false; + if (!getIpv6Cidr().equals(other.getIpv6Cidr())) return false; + if (!getLinkedInterconnectAttachment().equals(other.getLinkedInterconnectAttachment())) + return false; + if (!getSubnetwork().equals(other.getSubnetwork())) return false; + if (!getLoopbackIpAddressesList().equals(other.getLoopbackIpAddressesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -677,89 +765,93 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.Router.Interface parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.Router.Interface parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Router.Interface parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.Router.Interface parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Router.Interface parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.Router.Interface parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.Router.Interface parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.Router.Interface parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.Router.Interface parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.Router.Interface parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.Router.Interface parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.Router.Interface parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Router.Interface parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.Router.Interface parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.Router.Interface prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -769,6 +861,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Router Interface defines the GDCE zone side layer-3 information for
      * building the BGP session.
@@ -776,33 +870,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.edgenetwork.v1.Router.Interface}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.Router.Interface)
         com.google.cloud.edgenetwork.v1.Router.InterfaceOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Router_Interface_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.edgenetwork.v1.ResourcesProto
+            .internal_static_google_cloud_edgenetwork_v1_Router_Interface_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Router_Interface_fieldAccessorTable
+        return com.google.cloud.edgenetwork.v1.ResourcesProto
+            .internal_static_google_cloud_edgenetwork_v1_Router_Interface_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.edgenetwork.v1.Router.Interface.class, com.google.cloud.edgenetwork.v1.Router.Interface.Builder.class);
+                com.google.cloud.edgenetwork.v1.Router.Interface.class,
+                com.google.cloud.edgenetwork.v1.Router.Interface.Builder.class);
       }
 
       // Construct using com.google.cloud.edgenetwork.v1.Router.Interface.newBuilder()
-      private Builder() {
-
-      }
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -812,15 +906,14 @@ public Builder clear() {
         ipv6Cidr_ = "";
         linkedInterconnectAttachment_ = "";
         subnetwork_ = "";
-        loopbackIpAddresses_ =
-            com.google.protobuf.LazyStringArrayList.emptyList();
+        loopbackIpAddresses_ = com.google.protobuf.LazyStringArrayList.emptyList();
         return this;
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Router_Interface_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.edgenetwork.v1.ResourcesProto
+            .internal_static_google_cloud_edgenetwork_v1_Router_Interface_descriptor;
       }
 
       @java.lang.Override
@@ -839,8 +932,11 @@ public com.google.cloud.edgenetwork.v1.Router.Interface build() {
 
       @java.lang.Override
       public com.google.cloud.edgenetwork.v1.Router.Interface buildPartial() {
-        com.google.cloud.edgenetwork.v1.Router.Interface result = new com.google.cloud.edgenetwork.v1.Router.Interface(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.edgenetwork.v1.Router.Interface result =
+            new com.google.cloud.edgenetwork.v1.Router.Interface(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -872,38 +968,41 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.Router.Interface resu
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.edgenetwork.v1.Router.Interface) {
-          return mergeFrom((com.google.cloud.edgenetwork.v1.Router.Interface)other);
+          return mergeFrom((com.google.cloud.edgenetwork.v1.Router.Interface) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -911,7 +1010,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.edgenetwork.v1.Router.Interface other) {
-        if (other == com.google.cloud.edgenetwork.v1.Router.Interface.getDefaultInstance()) return this;
+        if (other == com.google.cloud.edgenetwork.v1.Router.Interface.getDefaultInstance())
+          return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           bitField0_ |= 0x00000001;
@@ -973,43 +1073,50 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              case 18: {
-                linkedInterconnectAttachment_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 18
-              case 26: {
-                ipv4Cidr_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 26
-              case 34: {
-                subnetwork_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 34
-              case 42: {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureLoopbackIpAddressesIsMutable();
-                loopbackIpAddresses_.add(s);
-                break;
-              } // case 42
-              case 50: {
-                ipv6Cidr_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 50
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  name_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              case 18:
+                {
+                  linkedInterconnectAttachment_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000008;
+                  break;
+                } // case 18
+              case 26:
+                {
+                  ipv4Cidr_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 26
+              case 34:
+                {
+                  subnetwork_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000010;
+                  break;
+                } // case 34
+              case 42:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
+                  ensureLoopbackIpAddressesIsMutable();
+                  loopbackIpAddresses_.add(s);
+                  break;
+                } // case 42
+              case 50:
+                {
+                  ipv6Cidr_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000004;
+                  break;
+                } // case 50
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1019,22 +1126,25 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object name_ = "";
       /**
+       *
+       *
        * 
        * Name of this interface entry. Unique within the Zones resource.
        * 
* * 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; @@ -1043,20 +1153,21 @@ public java.lang.String getName() { } } /** + * + * *
        * Name of this interface entry. Unique within the Zones resource.
        * 
* * 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 { @@ -1064,28 +1175,35 @@ public java.lang.String getName() { } } /** + * + * *
        * Name of this interface entry. Unique within the Zones resource.
        * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Name of this interface entry. Unique within the Zones resource.
        * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1095,17 +1213,21 @@ public Builder clearName() { return this; } /** + * + * *
        * Name of this interface entry. Unique within the Zones resource.
        * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1115,18 +1237,20 @@ public Builder setNameBytes( private java.lang.Object ipv4Cidr_ = ""; /** + * + * *
        * IP address and range of the interface.
        * 
* * string ipv4_cidr = 3; + * * @return The ipv4Cidr. */ public java.lang.String getIpv4Cidr() { java.lang.Object ref = ipv4Cidr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipv4Cidr_ = s; return s; @@ -1135,20 +1259,21 @@ public java.lang.String getIpv4Cidr() { } } /** + * + * *
        * IP address and range of the interface.
        * 
* * string ipv4_cidr = 3; + * * @return The bytes for ipv4Cidr. */ - public com.google.protobuf.ByteString - getIpv4CidrBytes() { + public com.google.protobuf.ByteString getIpv4CidrBytes() { java.lang.Object ref = ipv4Cidr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipv4Cidr_ = b; return b; } else { @@ -1156,28 +1281,35 @@ public java.lang.String getIpv4Cidr() { } } /** + * + * *
        * IP address and range of the interface.
        * 
* * string ipv4_cidr = 3; + * * @param value The ipv4Cidr to set. * @return This builder for chaining. */ - public Builder setIpv4Cidr( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIpv4Cidr(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ipv4Cidr_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * IP address and range of the interface.
        * 
* * string ipv4_cidr = 3; + * * @return This builder for chaining. */ public Builder clearIpv4Cidr() { @@ -1187,17 +1319,21 @@ public Builder clearIpv4Cidr() { return this; } /** + * + * *
        * IP address and range of the interface.
        * 
* * string ipv4_cidr = 3; + * * @param value The bytes for ipv4Cidr to set. * @return This builder for chaining. */ - public Builder setIpv4CidrBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIpv4CidrBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ipv4Cidr_ = value; bitField0_ |= 0x00000002; @@ -1207,18 +1343,20 @@ public Builder setIpv4CidrBytes( private java.lang.Object ipv6Cidr_ = ""; /** + * + * *
        * IPv6 address and range of the interface.
        * 
* * string ipv6_cidr = 6; + * * @return The ipv6Cidr. */ public java.lang.String getIpv6Cidr() { java.lang.Object ref = ipv6Cidr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipv6Cidr_ = s; return s; @@ -1227,20 +1365,21 @@ public java.lang.String getIpv6Cidr() { } } /** + * + * *
        * IPv6 address and range of the interface.
        * 
* * string ipv6_cidr = 6; + * * @return The bytes for ipv6Cidr. */ - public com.google.protobuf.ByteString - getIpv6CidrBytes() { + public com.google.protobuf.ByteString getIpv6CidrBytes() { java.lang.Object ref = ipv6Cidr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipv6Cidr_ = b; return b; } else { @@ -1248,28 +1387,35 @@ public java.lang.String getIpv6Cidr() { } } /** + * + * *
        * IPv6 address and range of the interface.
        * 
* * string ipv6_cidr = 6; + * * @param value The ipv6Cidr to set. * @return This builder for chaining. */ - public Builder setIpv6Cidr( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIpv6Cidr(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ipv6Cidr_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * IPv6 address and range of the interface.
        * 
* * string ipv6_cidr = 6; + * * @return This builder for chaining. */ public Builder clearIpv6Cidr() { @@ -1279,17 +1425,21 @@ public Builder clearIpv6Cidr() { return this; } /** + * + * *
        * IPv6 address and range of the interface.
        * 
* * string ipv6_cidr = 6; + * * @param value The bytes for ipv6Cidr to set. * @return This builder for chaining. */ - public Builder setIpv6CidrBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIpv6CidrBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ipv6Cidr_ = value; bitField0_ |= 0x00000004; @@ -1299,18 +1449,20 @@ public Builder setIpv6CidrBytes( private java.lang.Object linkedInterconnectAttachment_ = ""; /** + * + * *
        * The canonical name of the linked Interconnect attachment.
        * 
* * string linked_interconnect_attachment = 2; + * * @return The linkedInterconnectAttachment. */ public java.lang.String getLinkedInterconnectAttachment() { java.lang.Object ref = linkedInterconnectAttachment_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); linkedInterconnectAttachment_ = s; return s; @@ -1319,20 +1471,21 @@ public java.lang.String getLinkedInterconnectAttachment() { } } /** + * + * *
        * The canonical name of the linked Interconnect attachment.
        * 
* * string linked_interconnect_attachment = 2; + * * @return The bytes for linkedInterconnectAttachment. */ - public com.google.protobuf.ByteString - getLinkedInterconnectAttachmentBytes() { + public com.google.protobuf.ByteString getLinkedInterconnectAttachmentBytes() { java.lang.Object ref = linkedInterconnectAttachment_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); linkedInterconnectAttachment_ = b; return b; } else { @@ -1340,28 +1493,35 @@ public java.lang.String getLinkedInterconnectAttachment() { } } /** + * + * *
        * The canonical name of the linked Interconnect attachment.
        * 
* * string linked_interconnect_attachment = 2; + * * @param value The linkedInterconnectAttachment to set. * @return This builder for chaining. */ - public Builder setLinkedInterconnectAttachment( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLinkedInterconnectAttachment(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } linkedInterconnectAttachment_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
        * The canonical name of the linked Interconnect attachment.
        * 
* * string linked_interconnect_attachment = 2; + * * @return This builder for chaining. */ public Builder clearLinkedInterconnectAttachment() { @@ -1371,17 +1531,21 @@ public Builder clearLinkedInterconnectAttachment() { return this; } /** + * + * *
        * The canonical name of the linked Interconnect attachment.
        * 
* * string linked_interconnect_attachment = 2; + * * @param value The bytes for linkedInterconnectAttachment to set. * @return This builder for chaining. */ - public Builder setLinkedInterconnectAttachmentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLinkedInterconnectAttachmentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); linkedInterconnectAttachment_ = value; bitField0_ |= 0x00000008; @@ -1391,19 +1555,21 @@ public Builder setLinkedInterconnectAttachmentBytes( private java.lang.Object subnetwork_ = ""; /** + * + * *
        * The canonical name of the subnetwork resource that this interface
        * belongs to.
        * 
* * 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; @@ -1412,21 +1578,22 @@ public java.lang.String getSubnetwork() { } } /** + * + * *
        * The canonical name of the subnetwork resource that this interface
        * belongs to.
        * 
* * 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 { @@ -1434,30 +1601,37 @@ public java.lang.String getSubnetwork() { } } /** + * + * *
        * The canonical name of the subnetwork resource that this interface
        * belongs to.
        * 
* * string subnetwork = 4; + * * @param value The subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetwork( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubnetwork(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } subnetwork_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
        * The canonical name of the subnetwork resource that this interface
        * belongs to.
        * 
* * string subnetwork = 4; + * * @return This builder for chaining. */ public Builder clearSubnetwork() { @@ -1467,18 +1641,22 @@ public Builder clearSubnetwork() { return this; } /** + * + * *
        * The canonical name of the subnetwork resource that this interface
        * belongs to.
        * 
* * string subnetwork = 4; + * * @param value The bytes for subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetworkBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); subnetwork_ = value; bitField0_ |= 0x00000010; @@ -1488,6 +1666,7 @@ public Builder setSubnetworkBytes( private com.google.protobuf.LazyStringArrayList loopbackIpAddresses_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureLoopbackIpAddressesIsMutable() { if (!loopbackIpAddresses_.isModifiable()) { loopbackIpAddresses_ = new com.google.protobuf.LazyStringArrayList(loopbackIpAddresses_); @@ -1495,38 +1674,46 @@ private void ensureLoopbackIpAddressesIsMutable() { bitField0_ |= 0x00000020; } /** + * + * *
        * Create loopback interface in the router when specified.
        * The number of IP addresses must match the number of TOR devices.
        * 
* * repeated string loopback_ip_addresses = 5; + * * @return A list containing the loopbackIpAddresses. */ - public com.google.protobuf.ProtocolStringList - getLoopbackIpAddressesList() { + public com.google.protobuf.ProtocolStringList getLoopbackIpAddressesList() { loopbackIpAddresses_.makeImmutable(); return loopbackIpAddresses_; } /** + * + * *
        * Create loopback interface in the router when specified.
        * The number of IP addresses must match the number of TOR devices.
        * 
* * repeated string loopback_ip_addresses = 5; + * * @return The count of loopbackIpAddresses. */ public int getLoopbackIpAddressesCount() { return loopbackIpAddresses_.size(); } /** + * + * *
        * Create loopback interface in the router when specified.
        * The number of IP addresses must match the number of TOR devices.
        * 
* * repeated string loopback_ip_addresses = 5; + * * @param index The index of the element to return. * @return The loopbackIpAddresses at the given index. */ @@ -1534,33 +1721,39 @@ public java.lang.String getLoopbackIpAddresses(int index) { return loopbackIpAddresses_.get(index); } /** + * + * *
        * Create loopback interface in the router when specified.
        * The number of IP addresses must match the number of TOR devices.
        * 
* * repeated string loopback_ip_addresses = 5; + * * @param index The index of the value to return. * @return The bytes of the loopbackIpAddresses at the given index. */ - public com.google.protobuf.ByteString - getLoopbackIpAddressesBytes(int index) { + public com.google.protobuf.ByteString getLoopbackIpAddressesBytes(int index) { return loopbackIpAddresses_.getByteString(index); } /** + * + * *
        * Create loopback interface in the router when specified.
        * The number of IP addresses must match the number of TOR devices.
        * 
* * repeated string loopback_ip_addresses = 5; + * * @param index The index to set the value at. * @param value The loopbackIpAddresses to set. * @return This builder for chaining. */ - public Builder setLoopbackIpAddresses( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLoopbackIpAddresses(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureLoopbackIpAddressesIsMutable(); loopbackIpAddresses_.set(index, value); bitField0_ |= 0x00000020; @@ -1568,18 +1761,22 @@ public Builder setLoopbackIpAddresses( return this; } /** + * + * *
        * Create loopback interface in the router when specified.
        * The number of IP addresses must match the number of TOR devices.
        * 
* * repeated string loopback_ip_addresses = 5; + * * @param value The loopbackIpAddresses to add. * @return This builder for chaining. */ - public Builder addLoopbackIpAddresses( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addLoopbackIpAddresses(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureLoopbackIpAddressesIsMutable(); loopbackIpAddresses_.add(value); bitField0_ |= 0x00000020; @@ -1587,53 +1784,61 @@ public Builder addLoopbackIpAddresses( return this; } /** + * + * *
        * Create loopback interface in the router when specified.
        * The number of IP addresses must match the number of TOR devices.
        * 
* * repeated string loopback_ip_addresses = 5; + * * @param values The loopbackIpAddresses to add. * @return This builder for chaining. */ - public Builder addAllLoopbackIpAddresses( - java.lang.Iterable values) { + public Builder addAllLoopbackIpAddresses(java.lang.Iterable values) { ensureLoopbackIpAddressesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, loopbackIpAddresses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, loopbackIpAddresses_); bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
        * Create loopback interface in the router when specified.
        * The number of IP addresses must match the number of TOR devices.
        * 
* * repeated string loopback_ip_addresses = 5; + * * @return This builder for chaining. */ public Builder clearLoopbackIpAddresses() { - loopbackIpAddresses_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020);; + loopbackIpAddresses_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + ; onChanged(); return this; } /** + * + * *
        * Create loopback interface in the router when specified.
        * The number of IP addresses must match the number of TOR devices.
        * 
* * repeated string loopback_ip_addresses = 5; + * * @param value The bytes of the loopbackIpAddresses to add. * @return This builder for chaining. */ - public Builder addLoopbackIpAddressesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addLoopbackIpAddressesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureLoopbackIpAddressesIsMutable(); loopbackIpAddresses_.add(value); @@ -1641,6 +1846,7 @@ public Builder addLoopbackIpAddressesBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1653,12 +1859,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.Router.Interface) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.Router.Interface) private static final com.google.cloud.edgenetwork.v1.Router.Interface DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.Router.Interface(); } @@ -1667,27 +1873,28 @@ public static com.google.cloud.edgenetwork.v1.Router.Interface getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Interface parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Interface parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1702,145 +1909,180 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.Router.Interface getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface BgpPeerOrBuilder extends + public interface BgpPeerOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.Router.BgpPeer) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Name of this BGP peer. Unique within the Zones resource.
      * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Name of this BGP peer. Unique within the Zones resource.
      * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * Name of the RouterInterface the BGP peer is associated with.
      * 
* * string interface = 2; + * * @return The interface. */ java.lang.String getInterface(); /** + * + * *
      * Name of the RouterInterface the BGP peer is associated with.
      * 
* * string interface = 2; + * * @return The bytes for interface. */ - com.google.protobuf.ByteString - getInterfaceBytes(); + com.google.protobuf.ByteString getInterfaceBytes(); /** + * + * *
      * IP range of the interface within Google.
      * 
* * string interface_ipv4_cidr = 3; + * * @return The interfaceIpv4Cidr. */ java.lang.String getInterfaceIpv4Cidr(); /** + * + * *
      * IP range of the interface within Google.
      * 
* * string interface_ipv4_cidr = 3; + * * @return The bytes for interfaceIpv4Cidr. */ - com.google.protobuf.ByteString - getInterfaceIpv4CidrBytes(); + com.google.protobuf.ByteString getInterfaceIpv4CidrBytes(); /** + * + * *
      * IPv6 range of the interface within Google.
      * 
* * string interface_ipv6_cidr = 7; + * * @return The interfaceIpv6Cidr. */ java.lang.String getInterfaceIpv6Cidr(); /** + * + * *
      * IPv6 range of the interface within Google.
      * 
* * string interface_ipv6_cidr = 7; + * * @return The bytes for interfaceIpv6Cidr. */ - com.google.protobuf.ByteString - getInterfaceIpv6CidrBytes(); + com.google.protobuf.ByteString getInterfaceIpv6CidrBytes(); /** + * + * *
      * IP range of the BGP interface outside Google.
      * 
* * string peer_ipv4_cidr = 4; + * * @return The peerIpv4Cidr. */ java.lang.String getPeerIpv4Cidr(); /** + * + * *
      * IP range of the BGP interface outside Google.
      * 
* * string peer_ipv4_cidr = 4; + * * @return The bytes for peerIpv4Cidr. */ - com.google.protobuf.ByteString - getPeerIpv4CidrBytes(); + com.google.protobuf.ByteString getPeerIpv4CidrBytes(); /** + * + * *
      * IPv6 range of the BGP interface outside Google.
      * 
* * string peer_ipv6_cidr = 6; + * * @return The peerIpv6Cidr. */ java.lang.String getPeerIpv6Cidr(); /** + * + * *
      * IPv6 range of the BGP interface outside Google.
      * 
* * string peer_ipv6_cidr = 6; + * * @return The bytes for peerIpv6Cidr. */ - com.google.protobuf.ByteString - getPeerIpv6CidrBytes(); + com.google.protobuf.ByteString getPeerIpv6CidrBytes(); /** + * + * *
      * Peer BGP Autonomous System Number (ASN). Each BGP interface may use
      * a different value.
      * 
* * uint32 peer_asn = 5; + * * @return The peerAsn. */ int getPeerAsn(); /** + * + * *
      * Output only. Local BGP Autonomous System Number (ASN).
      * This field is ST_NOT_REQUIRED because it stores private ASNs, which are
@@ -1848,11 +2090,14 @@ public interface BgpPeerOrBuilder extends
      * 
* * uint32 local_asn = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The localAsn. */ int getLocalAsn(); } /** + * + * *
    * BGPPeer defines the peer side layer-3 information for building the BGP
    * session.
@@ -1860,15 +2105,16 @@ public interface BgpPeerOrBuilder extends
    *
    * Protobuf type {@code google.cloud.edgenetwork.v1.Router.BgpPeer}
    */
-  public static final class BgpPeer extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class BgpPeer extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.Router.BgpPeer)
       BgpPeerOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use BgpPeer.newBuilder() to construct.
     private BgpPeer(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private BgpPeer() {
       name_ = "";
       interface_ = "";
@@ -1880,33 +2126,38 @@ private BgpPeer() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new BgpPeer();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Router_BgpPeer_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.edgenetwork.v1.ResourcesProto
+          .internal_static_google_cloud_edgenetwork_v1_Router_BgpPeer_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Router_BgpPeer_fieldAccessorTable
+      return com.google.cloud.edgenetwork.v1.ResourcesProto
+          .internal_static_google_cloud_edgenetwork_v1_Router_BgpPeer_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.edgenetwork.v1.Router.BgpPeer.class, com.google.cloud.edgenetwork.v1.Router.BgpPeer.Builder.class);
+              com.google.cloud.edgenetwork.v1.Router.BgpPeer.class,
+              com.google.cloud.edgenetwork.v1.Router.BgpPeer.Builder.class);
     }
 
     public static final int NAME_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Name of this BGP peer. Unique within the Zones resource.
      * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1915,29 +2166,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Name of this BGP peer. Unique within the Zones resource.
      * 
* * 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 { @@ -1946,14 +2197,18 @@ public java.lang.String getName() { } public static final int INTERFACE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object interface_ = ""; /** + * + * *
      * Name of the RouterInterface the BGP peer is associated with.
      * 
* * string interface = 2; + * * @return The interface. */ @java.lang.Override @@ -1962,29 +2217,29 @@ public java.lang.String getInterface() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); interface_ = s; return s; } } /** + * + * *
      * Name of the RouterInterface the BGP peer is associated with.
      * 
* * string interface = 2; + * * @return The bytes for interface. */ @java.lang.Override - public com.google.protobuf.ByteString - getInterfaceBytes() { + public com.google.protobuf.ByteString getInterfaceBytes() { java.lang.Object ref = interface_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); interface_ = b; return b; } else { @@ -1993,14 +2248,18 @@ public java.lang.String getInterface() { } public static final int INTERFACE_IPV4_CIDR_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object interfaceIpv4Cidr_ = ""; /** + * + * *
      * IP range of the interface within Google.
      * 
* * string interface_ipv4_cidr = 3; + * * @return The interfaceIpv4Cidr. */ @java.lang.Override @@ -2009,29 +2268,29 @@ public java.lang.String getInterfaceIpv4Cidr() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); interfaceIpv4Cidr_ = s; return s; } } /** + * + * *
      * IP range of the interface within Google.
      * 
* * string interface_ipv4_cidr = 3; + * * @return The bytes for interfaceIpv4Cidr. */ @java.lang.Override - public com.google.protobuf.ByteString - getInterfaceIpv4CidrBytes() { + public com.google.protobuf.ByteString getInterfaceIpv4CidrBytes() { java.lang.Object ref = interfaceIpv4Cidr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); interfaceIpv4Cidr_ = b; return b; } else { @@ -2040,14 +2299,18 @@ public java.lang.String getInterfaceIpv4Cidr() { } public static final int INTERFACE_IPV6_CIDR_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object interfaceIpv6Cidr_ = ""; /** + * + * *
      * IPv6 range of the interface within Google.
      * 
* * string interface_ipv6_cidr = 7; + * * @return The interfaceIpv6Cidr. */ @java.lang.Override @@ -2056,29 +2319,29 @@ public java.lang.String getInterfaceIpv6Cidr() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); interfaceIpv6Cidr_ = s; return s; } } /** + * + * *
      * IPv6 range of the interface within Google.
      * 
* * string interface_ipv6_cidr = 7; + * * @return The bytes for interfaceIpv6Cidr. */ @java.lang.Override - public com.google.protobuf.ByteString - getInterfaceIpv6CidrBytes() { + public com.google.protobuf.ByteString getInterfaceIpv6CidrBytes() { java.lang.Object ref = interfaceIpv6Cidr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); interfaceIpv6Cidr_ = b; return b; } else { @@ -2087,14 +2350,18 @@ public java.lang.String getInterfaceIpv6Cidr() { } public static final int PEER_IPV4_CIDR_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object peerIpv4Cidr_ = ""; /** + * + * *
      * IP range of the BGP interface outside Google.
      * 
* * string peer_ipv4_cidr = 4; + * * @return The peerIpv4Cidr. */ @java.lang.Override @@ -2103,29 +2370,29 @@ public java.lang.String getPeerIpv4Cidr() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peerIpv4Cidr_ = s; return s; } } /** + * + * *
      * IP range of the BGP interface outside Google.
      * 
* * string peer_ipv4_cidr = 4; + * * @return The bytes for peerIpv4Cidr. */ @java.lang.Override - public com.google.protobuf.ByteString - getPeerIpv4CidrBytes() { + public com.google.protobuf.ByteString getPeerIpv4CidrBytes() { java.lang.Object ref = peerIpv4Cidr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); peerIpv4Cidr_ = b; return b; } else { @@ -2134,14 +2401,18 @@ public java.lang.String getPeerIpv4Cidr() { } public static final int PEER_IPV6_CIDR_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object peerIpv6Cidr_ = ""; /** + * + * *
      * IPv6 range of the BGP interface outside Google.
      * 
* * string peer_ipv6_cidr = 6; + * * @return The peerIpv6Cidr. */ @java.lang.Override @@ -2150,29 +2421,29 @@ public java.lang.String getPeerIpv6Cidr() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peerIpv6Cidr_ = s; return s; } } /** + * + * *
      * IPv6 range of the BGP interface outside Google.
      * 
* * string peer_ipv6_cidr = 6; + * * @return The bytes for peerIpv6Cidr. */ @java.lang.Override - public com.google.protobuf.ByteString - getPeerIpv6CidrBytes() { + public com.google.protobuf.ByteString getPeerIpv6CidrBytes() { java.lang.Object ref = peerIpv6Cidr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); peerIpv6Cidr_ = b; return b; } else { @@ -2183,12 +2454,15 @@ public java.lang.String getPeerIpv6Cidr() { public static final int PEER_ASN_FIELD_NUMBER = 5; private int peerAsn_ = 0; /** + * + * *
      * Peer BGP Autonomous System Number (ASN). Each BGP interface may use
      * a different value.
      * 
* * uint32 peer_asn = 5; + * * @return The peerAsn. */ @java.lang.Override @@ -2199,6 +2473,8 @@ public int getPeerAsn() { public static final int LOCAL_ASN_FIELD_NUMBER = 8; private int localAsn_ = 0; /** + * + * *
      * Output only. Local BGP Autonomous System Number (ASN).
      * This field is ST_NOT_REQUIRED because it stores private ASNs, which are
@@ -2206,6 +2482,7 @@ public int getPeerAsn() {
      * 
* * uint32 local_asn = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The localAsn. */ @java.lang.Override @@ -2214,6 +2491,7 @@ public int getLocalAsn() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2225,8 +2503,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -2273,8 +2550,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, peerIpv4Cidr_); } if (peerAsn_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(5, peerAsn_); + size += com.google.protobuf.CodedOutputStream.computeUInt32Size(5, peerAsn_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(peerIpv6Cidr_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, peerIpv6Cidr_); @@ -2283,8 +2559,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, interfaceIpv6Cidr_); } if (localAsn_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(8, localAsn_); + size += com.google.protobuf.CodedOutputStream.computeUInt32Size(8, localAsn_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2294,29 +2569,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.edgenetwork.v1.Router.BgpPeer)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.Router.BgpPeer other = (com.google.cloud.edgenetwork.v1.Router.BgpPeer) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getInterface() - .equals(other.getInterface())) return false; - if (!getInterfaceIpv4Cidr() - .equals(other.getInterfaceIpv4Cidr())) return false; - if (!getInterfaceIpv6Cidr() - .equals(other.getInterfaceIpv6Cidr())) return false; - if (!getPeerIpv4Cidr() - .equals(other.getPeerIpv4Cidr())) return false; - if (!getPeerIpv6Cidr() - .equals(other.getPeerIpv6Cidr())) return false; - if (getPeerAsn() - != other.getPeerAsn()) return false; - if (getLocalAsn() - != other.getLocalAsn()) return false; + com.google.cloud.edgenetwork.v1.Router.BgpPeer other = + (com.google.cloud.edgenetwork.v1.Router.BgpPeer) obj; + + if (!getName().equals(other.getName())) return false; + if (!getInterface().equals(other.getInterface())) return false; + if (!getInterfaceIpv4Cidr().equals(other.getInterfaceIpv4Cidr())) return false; + if (!getInterfaceIpv6Cidr().equals(other.getInterfaceIpv6Cidr())) return false; + if (!getPeerIpv4Cidr().equals(other.getPeerIpv4Cidr())) return false; + if (!getPeerIpv6Cidr().equals(other.getPeerIpv6Cidr())) return false; + if (getPeerAsn() != other.getPeerAsn()) return false; + if (getLocalAsn() != other.getLocalAsn()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2349,90 +2617,94 @@ public int hashCode() { return hash; } - public static com.google.cloud.edgenetwork.v1.Router.BgpPeer parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.edgenetwork.v1.Router.BgpPeer parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.Router.BgpPeer parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Router.BgpPeer parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.Router.BgpPeer parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Router.BgpPeer parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.Router.BgpPeer parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.Router.BgpPeer parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.Router.BgpPeer parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.Router.BgpPeer parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.Router.BgpPeer parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.Router.BgpPeer parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.Router.BgpPeer parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Router.BgpPeer parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.Router.BgpPeer parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.Router.BgpPeer prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2442,6 +2714,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * BGPPeer defines the peer side layer-3 information for building the BGP
      * session.
@@ -2449,33 +2723,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.edgenetwork.v1.Router.BgpPeer}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.Router.BgpPeer)
         com.google.cloud.edgenetwork.v1.Router.BgpPeerOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Router_BgpPeer_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.edgenetwork.v1.ResourcesProto
+            .internal_static_google_cloud_edgenetwork_v1_Router_BgpPeer_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Router_BgpPeer_fieldAccessorTable
+        return com.google.cloud.edgenetwork.v1.ResourcesProto
+            .internal_static_google_cloud_edgenetwork_v1_Router_BgpPeer_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.edgenetwork.v1.Router.BgpPeer.class, com.google.cloud.edgenetwork.v1.Router.BgpPeer.Builder.class);
+                com.google.cloud.edgenetwork.v1.Router.BgpPeer.class,
+                com.google.cloud.edgenetwork.v1.Router.BgpPeer.Builder.class);
       }
 
       // Construct using com.google.cloud.edgenetwork.v1.Router.BgpPeer.newBuilder()
-      private Builder() {
-
-      }
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2492,9 +2766,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Router_BgpPeer_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.edgenetwork.v1.ResourcesProto
+            .internal_static_google_cloud_edgenetwork_v1_Router_BgpPeer_descriptor;
       }
 
       @java.lang.Override
@@ -2513,8 +2787,11 @@ public com.google.cloud.edgenetwork.v1.Router.BgpPeer build() {
 
       @java.lang.Override
       public com.google.cloud.edgenetwork.v1.Router.BgpPeer buildPartial() {
-        com.google.cloud.edgenetwork.v1.Router.BgpPeer result = new com.google.cloud.edgenetwork.v1.Router.BgpPeer(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.edgenetwork.v1.Router.BgpPeer result =
+            new com.google.cloud.edgenetwork.v1.Router.BgpPeer(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -2551,38 +2828,41 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.Router.BgpPeer result
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.edgenetwork.v1.Router.BgpPeer) {
-          return mergeFrom((com.google.cloud.edgenetwork.v1.Router.BgpPeer)other);
+          return mergeFrom((com.google.cloud.edgenetwork.v1.Router.BgpPeer) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -2590,7 +2870,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.edgenetwork.v1.Router.BgpPeer other) {
-        if (other == com.google.cloud.edgenetwork.v1.Router.BgpPeer.getDefaultInstance()) return this;
+        if (other == com.google.cloud.edgenetwork.v1.Router.BgpPeer.getDefaultInstance())
+          return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           bitField0_ |= 0x00000001;
@@ -2653,52 +2934,61 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              case 18: {
-                interface_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-              case 26: {
-                interfaceIpv4Cidr_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-              case 34: {
-                peerIpv4Cidr_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 34
-              case 40: {
-                peerAsn_ = input.readUInt32();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 40
-              case 50: {
-                peerIpv6Cidr_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-              case 58: {
-                interfaceIpv6Cidr_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 58
-              case 64: {
-                localAsn_ = input.readUInt32();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 64
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  name_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              case 18:
+                {
+                  interface_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 18
+              case 26:
+                {
+                  interfaceIpv4Cidr_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000004;
+                  break;
+                } // case 26
+              case 34:
+                {
+                  peerIpv4Cidr_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000010;
+                  break;
+                } // case 34
+              case 40:
+                {
+                  peerAsn_ = input.readUInt32();
+                  bitField0_ |= 0x00000040;
+                  break;
+                } // case 40
+              case 50:
+                {
+                  peerIpv6Cidr_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000020;
+                  break;
+                } // case 50
+              case 58:
+                {
+                  interfaceIpv6Cidr_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000008;
+                  break;
+                } // case 58
+              case 64:
+                {
+                  localAsn_ = input.readUInt32();
+                  bitField0_ |= 0x00000080;
+                  break;
+                } // case 64
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2708,22 +2998,25 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object name_ = "";
       /**
+       *
+       *
        * 
        * Name of this BGP peer. Unique within the Zones resource.
        * 
* * 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; @@ -2732,20 +3025,21 @@ public java.lang.String getName() { } } /** + * + * *
        * Name of this BGP peer. Unique within the Zones resource.
        * 
* * 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 { @@ -2753,28 +3047,35 @@ public java.lang.String getName() { } } /** + * + * *
        * Name of this BGP peer. Unique within the Zones resource.
        * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Name of this BGP peer. Unique within the Zones resource.
        * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -2784,17 +3085,21 @@ public Builder clearName() { return this; } /** + * + * *
        * Name of this BGP peer. Unique within the Zones resource.
        * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2804,18 +3109,20 @@ public Builder setNameBytes( private java.lang.Object interface_ = ""; /** + * + * *
        * Name of the RouterInterface the BGP peer is associated with.
        * 
* * string interface = 2; + * * @return The interface. */ public java.lang.String getInterface() { java.lang.Object ref = interface_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); interface_ = s; return s; @@ -2824,20 +3131,21 @@ public java.lang.String getInterface() { } } /** + * + * *
        * Name of the RouterInterface the BGP peer is associated with.
        * 
* * string interface = 2; + * * @return The bytes for interface. */ - public com.google.protobuf.ByteString - getInterfaceBytes() { + public com.google.protobuf.ByteString getInterfaceBytes() { java.lang.Object ref = interface_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); interface_ = b; return b; } else { @@ -2845,28 +3153,35 @@ public java.lang.String getInterface() { } } /** + * + * *
        * Name of the RouterInterface the BGP peer is associated with.
        * 
* * string interface = 2; + * * @param value The interface to set. * @return This builder for chaining. */ - public Builder setInterface( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInterface(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } interface_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Name of the RouterInterface the BGP peer is associated with.
        * 
* * string interface = 2; + * * @return This builder for chaining. */ public Builder clearInterface() { @@ -2876,17 +3191,21 @@ public Builder clearInterface() { return this; } /** + * + * *
        * Name of the RouterInterface the BGP peer is associated with.
        * 
* * string interface = 2; + * * @param value The bytes for interface to set. * @return This builder for chaining. */ - public Builder setInterfaceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInterfaceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); interface_ = value; bitField0_ |= 0x00000002; @@ -2896,18 +3215,20 @@ public Builder setInterfaceBytes( private java.lang.Object interfaceIpv4Cidr_ = ""; /** + * + * *
        * IP range of the interface within Google.
        * 
* * string interface_ipv4_cidr = 3; + * * @return The interfaceIpv4Cidr. */ public java.lang.String getInterfaceIpv4Cidr() { java.lang.Object ref = interfaceIpv4Cidr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); interfaceIpv4Cidr_ = s; return s; @@ -2916,20 +3237,21 @@ public java.lang.String getInterfaceIpv4Cidr() { } } /** + * + * *
        * IP range of the interface within Google.
        * 
* * string interface_ipv4_cidr = 3; + * * @return The bytes for interfaceIpv4Cidr. */ - public com.google.protobuf.ByteString - getInterfaceIpv4CidrBytes() { + public com.google.protobuf.ByteString getInterfaceIpv4CidrBytes() { java.lang.Object ref = interfaceIpv4Cidr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); interfaceIpv4Cidr_ = b; return b; } else { @@ -2937,28 +3259,35 @@ public java.lang.String getInterfaceIpv4Cidr() { } } /** + * + * *
        * IP range of the interface within Google.
        * 
* * string interface_ipv4_cidr = 3; + * * @param value The interfaceIpv4Cidr to set. * @return This builder for chaining. */ - public Builder setInterfaceIpv4Cidr( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInterfaceIpv4Cidr(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } interfaceIpv4Cidr_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * IP range of the interface within Google.
        * 
* * string interface_ipv4_cidr = 3; + * * @return This builder for chaining. */ public Builder clearInterfaceIpv4Cidr() { @@ -2968,17 +3297,21 @@ public Builder clearInterfaceIpv4Cidr() { return this; } /** + * + * *
        * IP range of the interface within Google.
        * 
* * string interface_ipv4_cidr = 3; + * * @param value The bytes for interfaceIpv4Cidr to set. * @return This builder for chaining. */ - public Builder setInterfaceIpv4CidrBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInterfaceIpv4CidrBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); interfaceIpv4Cidr_ = value; bitField0_ |= 0x00000004; @@ -2988,18 +3321,20 @@ public Builder setInterfaceIpv4CidrBytes( private java.lang.Object interfaceIpv6Cidr_ = ""; /** + * + * *
        * IPv6 range of the interface within Google.
        * 
* * string interface_ipv6_cidr = 7; + * * @return The interfaceIpv6Cidr. */ public java.lang.String getInterfaceIpv6Cidr() { java.lang.Object ref = interfaceIpv6Cidr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); interfaceIpv6Cidr_ = s; return s; @@ -3008,20 +3343,21 @@ public java.lang.String getInterfaceIpv6Cidr() { } } /** + * + * *
        * IPv6 range of the interface within Google.
        * 
* * string interface_ipv6_cidr = 7; + * * @return The bytes for interfaceIpv6Cidr. */ - public com.google.protobuf.ByteString - getInterfaceIpv6CidrBytes() { + public com.google.protobuf.ByteString getInterfaceIpv6CidrBytes() { java.lang.Object ref = interfaceIpv6Cidr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); interfaceIpv6Cidr_ = b; return b; } else { @@ -3029,28 +3365,35 @@ public java.lang.String getInterfaceIpv6Cidr() { } } /** + * + * *
        * IPv6 range of the interface within Google.
        * 
* * string interface_ipv6_cidr = 7; + * * @param value The interfaceIpv6Cidr to set. * @return This builder for chaining. */ - public Builder setInterfaceIpv6Cidr( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInterfaceIpv6Cidr(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } interfaceIpv6Cidr_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
        * IPv6 range of the interface within Google.
        * 
* * string interface_ipv6_cidr = 7; + * * @return This builder for chaining. */ public Builder clearInterfaceIpv6Cidr() { @@ -3060,17 +3403,21 @@ public Builder clearInterfaceIpv6Cidr() { return this; } /** + * + * *
        * IPv6 range of the interface within Google.
        * 
* * string interface_ipv6_cidr = 7; + * * @param value The bytes for interfaceIpv6Cidr to set. * @return This builder for chaining. */ - public Builder setInterfaceIpv6CidrBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInterfaceIpv6CidrBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); interfaceIpv6Cidr_ = value; bitField0_ |= 0x00000008; @@ -3080,18 +3427,20 @@ public Builder setInterfaceIpv6CidrBytes( private java.lang.Object peerIpv4Cidr_ = ""; /** + * + * *
        * IP range of the BGP interface outside Google.
        * 
* * string peer_ipv4_cidr = 4; + * * @return The peerIpv4Cidr. */ public java.lang.String getPeerIpv4Cidr() { java.lang.Object ref = peerIpv4Cidr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peerIpv4Cidr_ = s; return s; @@ -3100,20 +3449,21 @@ public java.lang.String getPeerIpv4Cidr() { } } /** + * + * *
        * IP range of the BGP interface outside Google.
        * 
* * string peer_ipv4_cidr = 4; + * * @return The bytes for peerIpv4Cidr. */ - public com.google.protobuf.ByteString - getPeerIpv4CidrBytes() { + public com.google.protobuf.ByteString getPeerIpv4CidrBytes() { java.lang.Object ref = peerIpv4Cidr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); peerIpv4Cidr_ = b; return b; } else { @@ -3121,28 +3471,35 @@ public java.lang.String getPeerIpv4Cidr() { } } /** + * + * *
        * IP range of the BGP interface outside Google.
        * 
* * string peer_ipv4_cidr = 4; + * * @param value The peerIpv4Cidr to set. * @return This builder for chaining. */ - public Builder setPeerIpv4Cidr( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPeerIpv4Cidr(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } peerIpv4Cidr_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
        * IP range of the BGP interface outside Google.
        * 
* * string peer_ipv4_cidr = 4; + * * @return This builder for chaining. */ public Builder clearPeerIpv4Cidr() { @@ -3152,17 +3509,21 @@ public Builder clearPeerIpv4Cidr() { return this; } /** + * + * *
        * IP range of the BGP interface outside Google.
        * 
* * string peer_ipv4_cidr = 4; + * * @param value The bytes for peerIpv4Cidr to set. * @return This builder for chaining. */ - public Builder setPeerIpv4CidrBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPeerIpv4CidrBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); peerIpv4Cidr_ = value; bitField0_ |= 0x00000010; @@ -3172,18 +3533,20 @@ public Builder setPeerIpv4CidrBytes( private java.lang.Object peerIpv6Cidr_ = ""; /** + * + * *
        * IPv6 range of the BGP interface outside Google.
        * 
* * string peer_ipv6_cidr = 6; + * * @return The peerIpv6Cidr. */ public java.lang.String getPeerIpv6Cidr() { java.lang.Object ref = peerIpv6Cidr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peerIpv6Cidr_ = s; return s; @@ -3192,20 +3555,21 @@ public java.lang.String getPeerIpv6Cidr() { } } /** + * + * *
        * IPv6 range of the BGP interface outside Google.
        * 
* * string peer_ipv6_cidr = 6; + * * @return The bytes for peerIpv6Cidr. */ - public com.google.protobuf.ByteString - getPeerIpv6CidrBytes() { + public com.google.protobuf.ByteString getPeerIpv6CidrBytes() { java.lang.Object ref = peerIpv6Cidr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); peerIpv6Cidr_ = b; return b; } else { @@ -3213,28 +3577,35 @@ public java.lang.String getPeerIpv6Cidr() { } } /** + * + * *
        * IPv6 range of the BGP interface outside Google.
        * 
* * string peer_ipv6_cidr = 6; + * * @param value The peerIpv6Cidr to set. * @return This builder for chaining. */ - public Builder setPeerIpv6Cidr( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPeerIpv6Cidr(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } peerIpv6Cidr_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
        * IPv6 range of the BGP interface outside Google.
        * 
* * string peer_ipv6_cidr = 6; + * * @return This builder for chaining. */ public Builder clearPeerIpv6Cidr() { @@ -3244,17 +3615,21 @@ public Builder clearPeerIpv6Cidr() { return this; } /** + * + * *
        * IPv6 range of the BGP interface outside Google.
        * 
* * string peer_ipv6_cidr = 6; + * * @param value The bytes for peerIpv6Cidr to set. * @return This builder for chaining. */ - public Builder setPeerIpv6CidrBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPeerIpv6CidrBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); peerIpv6Cidr_ = value; bitField0_ |= 0x00000020; @@ -3262,14 +3637,17 @@ public Builder setPeerIpv6CidrBytes( return this; } - private int peerAsn_ ; + private int peerAsn_; /** + * + * *
        * Peer BGP Autonomous System Number (ASN). Each BGP interface may use
        * a different value.
        * 
* * uint32 peer_asn = 5; + * * @return The peerAsn. */ @java.lang.Override @@ -3277,12 +3655,15 @@ public int getPeerAsn() { return peerAsn_; } /** + * + * *
        * Peer BGP Autonomous System Number (ASN). Each BGP interface may use
        * a different value.
        * 
* * uint32 peer_asn = 5; + * * @param value The peerAsn to set. * @return This builder for chaining. */ @@ -3294,12 +3675,15 @@ public Builder setPeerAsn(int value) { return this; } /** + * + * *
        * Peer BGP Autonomous System Number (ASN). Each BGP interface may use
        * a different value.
        * 
* * uint32 peer_asn = 5; + * * @return This builder for chaining. */ public Builder clearPeerAsn() { @@ -3309,8 +3693,10 @@ public Builder clearPeerAsn() { return this; } - private int localAsn_ ; + private int localAsn_; /** + * + * *
        * Output only. Local BGP Autonomous System Number (ASN).
        * This field is ST_NOT_REQUIRED because it stores private ASNs, which are
@@ -3318,6 +3704,7 @@ public Builder clearPeerAsn() {
        * 
* * uint32 local_asn = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The localAsn. */ @java.lang.Override @@ -3325,6 +3712,8 @@ public int getLocalAsn() { return localAsn_; } /** + * + * *
        * Output only. Local BGP Autonomous System Number (ASN).
        * This field is ST_NOT_REQUIRED because it stores private ASNs, which are
@@ -3332,6 +3721,7 @@ public int getLocalAsn() {
        * 
* * uint32 local_asn = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The localAsn to set. * @return This builder for chaining. */ @@ -3343,6 +3733,8 @@ public Builder setLocalAsn(int value) { return this; } /** + * + * *
        * Output only. Local BGP Autonomous System Number (ASN).
        * This field is ST_NOT_REQUIRED because it stores private ASNs, which are
@@ -3350,6 +3742,7 @@ public Builder setLocalAsn(int value) {
        * 
* * uint32 local_asn = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearLocalAsn() { @@ -3358,6 +3751,7 @@ public Builder clearLocalAsn() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3370,12 +3764,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.Router.BgpPeer) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.Router.BgpPeer) private static final com.google.cloud.edgenetwork.v1.Router.BgpPeer DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.Router.BgpPeer(); } @@ -3384,27 +3778,28 @@ public static com.google.cloud.edgenetwork.v1.Router.BgpPeer getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BgpPeer parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BgpPeer parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3419,81 +3814,93 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.Router.BgpPeer getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface BgpOrBuilder extends + public interface BgpOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.Router.Bgp) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Locally assigned BGP ASN.
      * 
* * uint32 asn = 1; + * * @return The asn. */ int getAsn(); /** + * + * *
      * The interval in seconds between BGP keepalive messages that are
      * sent to the peer. Default is 20 with value between 20 and 60.
      * 
* * uint32 keepalive_interval_in_seconds = 2; + * * @return The keepaliveIntervalInSeconds. */ int getKeepaliveIntervalInSeconds(); } /** + * + * *
    * BGP information specific to this router.
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.Router.Bgp} */ - public static final class Bgp extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Bgp extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.Router.Bgp) BgpOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Bgp.newBuilder() to construct. private Bgp(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Bgp() { - } + + private Bgp() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Bgp(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Router_Bgp_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Router_Bgp_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Router_Bgp_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Router_Bgp_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.Router.Bgp.class, com.google.cloud.edgenetwork.v1.Router.Bgp.Builder.class); + com.google.cloud.edgenetwork.v1.Router.Bgp.class, + com.google.cloud.edgenetwork.v1.Router.Bgp.Builder.class); } public static final int ASN_FIELD_NUMBER = 1; private int asn_ = 0; /** + * + * *
      * Locally assigned BGP ASN.
      * 
* * uint32 asn = 1; + * * @return The asn. */ @java.lang.Override @@ -3504,12 +3911,15 @@ public int getAsn() { public static final int KEEPALIVE_INTERVAL_IN_SECONDS_FIELD_NUMBER = 2; private int keepaliveIntervalInSeconds_ = 0; /** + * + * *
      * The interval in seconds between BGP keepalive messages that are
      * sent to the peer. Default is 20 with value between 20 and 60.
      * 
* * uint32 keepalive_interval_in_seconds = 2; + * * @return The keepaliveIntervalInSeconds. */ @java.lang.Override @@ -3518,6 +3928,7 @@ public int getKeepaliveIntervalInSeconds() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3529,8 +3940,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 (asn_ != 0) { output.writeUInt32(1, asn_); } @@ -3547,12 +3957,11 @@ public int getSerializedSize() { size = 0; if (asn_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, asn_); + size += com.google.protobuf.CodedOutputStream.computeUInt32Size(1, asn_); } if (keepaliveIntervalInSeconds_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, keepaliveIntervalInSeconds_); + size += + com.google.protobuf.CodedOutputStream.computeUInt32Size(2, keepaliveIntervalInSeconds_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3562,17 +3971,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.edgenetwork.v1.Router.Bgp)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.Router.Bgp other = (com.google.cloud.edgenetwork.v1.Router.Bgp) obj; + com.google.cloud.edgenetwork.v1.Router.Bgp other = + (com.google.cloud.edgenetwork.v1.Router.Bgp) obj; - if (getAsn() - != other.getAsn()) return false; - if (getKeepaliveIntervalInSeconds() - != other.getKeepaliveIntervalInSeconds()) return false; + if (getAsn() != other.getAsn()) return false; + if (getKeepaliveIntervalInSeconds() != other.getKeepaliveIntervalInSeconds()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3593,90 +4001,94 @@ public int hashCode() { return hash; } - public static com.google.cloud.edgenetwork.v1.Router.Bgp parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.edgenetwork.v1.Router.Bgp parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.Router.Bgp parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Router.Bgp parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.Router.Bgp parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Router.Bgp parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.Router.Bgp parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Router.Bgp parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.Router.Bgp parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.Router.Bgp parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.Router.Bgp parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.Router.Bgp parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Router.Bgp parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.Router.Bgp parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.Router.Bgp prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3686,39 +4098,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * BGP information specific to this router.
      * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.Router.Bgp} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.Router.Bgp) com.google.cloud.edgenetwork.v1.Router.BgpOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Router_Bgp_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Router_Bgp_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Router_Bgp_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Router_Bgp_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.Router.Bgp.class, com.google.cloud.edgenetwork.v1.Router.Bgp.Builder.class); + com.google.cloud.edgenetwork.v1.Router.Bgp.class, + com.google.cloud.edgenetwork.v1.Router.Bgp.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.Router.Bgp.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3729,9 +4143,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Router_Bgp_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Router_Bgp_descriptor; } @java.lang.Override @@ -3750,8 +4164,11 @@ public com.google.cloud.edgenetwork.v1.Router.Bgp build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.Router.Bgp buildPartial() { - com.google.cloud.edgenetwork.v1.Router.Bgp result = new com.google.cloud.edgenetwork.v1.Router.Bgp(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.Router.Bgp result = + new com.google.cloud.edgenetwork.v1.Router.Bgp(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -3770,38 +4187,41 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.Router.Bgp result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.edgenetwork.v1.Router.Bgp) { - return mergeFrom((com.google.cloud.edgenetwork.v1.Router.Bgp)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.Router.Bgp) other); } else { super.mergeFrom(other); return this; @@ -3842,22 +4262,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - asn_ = input.readUInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - keepaliveIntervalInSeconds_ = input.readUInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + asn_ = input.readUInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + keepaliveIntervalInSeconds_ = input.readUInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3867,15 +4290,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int asn_ ; + private int asn_; /** + * + * *
        * Locally assigned BGP ASN.
        * 
* * uint32 asn = 1; + * * @return The asn. */ @java.lang.Override @@ -3883,11 +4310,14 @@ public int getAsn() { return asn_; } /** + * + * *
        * Locally assigned BGP ASN.
        * 
* * uint32 asn = 1; + * * @param value The asn to set. * @return This builder for chaining. */ @@ -3899,11 +4329,14 @@ public Builder setAsn(int value) { return this; } /** + * + * *
        * Locally assigned BGP ASN.
        * 
* * uint32 asn = 1; + * * @return This builder for chaining. */ public Builder clearAsn() { @@ -3913,14 +4346,17 @@ public Builder clearAsn() { return this; } - private int keepaliveIntervalInSeconds_ ; + private int keepaliveIntervalInSeconds_; /** + * + * *
        * The interval in seconds between BGP keepalive messages that are
        * sent to the peer. Default is 20 with value between 20 and 60.
        * 
* * uint32 keepalive_interval_in_seconds = 2; + * * @return The keepaliveIntervalInSeconds. */ @java.lang.Override @@ -3928,12 +4364,15 @@ public int getKeepaliveIntervalInSeconds() { return keepaliveIntervalInSeconds_; } /** + * + * *
        * The interval in seconds between BGP keepalive messages that are
        * sent to the peer. Default is 20 with value between 20 and 60.
        * 
* * uint32 keepalive_interval_in_seconds = 2; + * * @param value The keepaliveIntervalInSeconds to set. * @return This builder for chaining. */ @@ -3945,12 +4384,15 @@ public Builder setKeepaliveIntervalInSeconds(int value) { return this; } /** + * + * *
        * The interval in seconds between BGP keepalive messages that are
        * sent to the peer. Default is 20 with value between 20 and 60.
        * 
* * uint32 keepalive_interval_in_seconds = 2; + * * @return This builder for chaining. */ public Builder clearKeepaliveIntervalInSeconds() { @@ -3959,6 +4401,7 @@ public Builder clearKeepaliveIntervalInSeconds() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3971,41 +4414,42 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.Router.Bgp) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.Router.Bgp) private static final com.google.cloud.edgenetwork.v1.Router.Bgp DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.Router.Bgp(); - } - - public static com.google.cloud.edgenetwork.v1.Router.Bgp getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Bgp parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + } + + public static com.google.cloud.edgenetwork.v1.Router.Bgp getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Bgp parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4020,19 +4464,22 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.Router.Bgp getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The canonical resource name of the router.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -4041,29 +4488,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The canonical resource name of the router.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -4074,11 +4521,15 @@ public java.lang.String getName() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time when the router was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -4086,11 +4537,15 @@ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Output only. The time when the router was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -4098,11 +4553,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time when the router was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -4112,11 +4570,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The time when the router was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -4124,11 +4586,15 @@ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Output only. The time when the router was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -4136,11 +4602,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time when the router was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -4148,32 +4617,34 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 4; + 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.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Router_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.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Router_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - 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_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels associated with this resource.
    * 
@@ -4181,20 +4652,21 @@ public int getLabelsCount() { * map<string, string> labels = 4; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Labels associated with this resource.
    * 
@@ -4206,6 +4678,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Labels associated with this resource.
    * 
@@ -4213,17 +4687,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Labels associated with this resource.
    * 
@@ -4231,11 +4707,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -4243,15 +4719,19 @@ public java.lang.String getLabelsOrThrow( } public static final int DESCRIPTION_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. A free-text description of the resource. Max length 1024
    * characters.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -4260,30 +4740,30 @@ 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. A free-text description of the resource. Max length 1024
    * characters.
    * 
* * string description = 5 [(.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 { @@ -4292,16 +4772,22 @@ public java.lang.String getDescription() { } public static final int NETWORK_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object network_ = ""; /** + * + * *
    * Required. The canonical name of the network to which this router belongs.
    * The name is in the form of
    * `projects/{project}/locations/{location}/zones/{zone}/networks/{network}`.
    * 
* - * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The network. */ @java.lang.Override @@ -4310,31 +4796,33 @@ 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; } } /** + * + * *
    * Required. The canonical name of the network to which this router belongs.
    * The name is in the form of
    * `projects/{project}/locations/{location}/zones/{zone}/networks/{network}`.
    * 
* - * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -4343,9 +4831,12 @@ public java.lang.String getNetwork() { } public static final int INTERFACE_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private java.util.List interface_; /** + * + * *
    * Router interfaces.
    * 
@@ -4357,6 +4848,8 @@ public java.util.List getInter return interface_; } /** + * + * *
    * Router interfaces.
    * 
@@ -4364,11 +4857,13 @@ public java.util.List getInter * repeated .google.cloud.edgenetwork.v1.Router.Interface interface = 7; */ @java.lang.Override - public java.util.List + public java.util.List getInterfaceOrBuilderList() { return interface_; } /** + * + * *
    * Router interfaces.
    * 
@@ -4380,6 +4875,8 @@ public int getInterfaceCount() { return interface_.size(); } /** + * + * *
    * Router interfaces.
    * 
@@ -4391,6 +4888,8 @@ public com.google.cloud.edgenetwork.v1.Router.Interface getInterface(int index) return interface_.get(index); } /** + * + * *
    * Router interfaces.
    * 
@@ -4404,9 +4903,12 @@ public com.google.cloud.edgenetwork.v1.Router.InterfaceOrBuilder getInterfaceOrB } public static final int BGP_PEER_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private java.util.List bgpPeer_; /** + * + * *
    * BGP peers.
    * 
@@ -4418,6 +4920,8 @@ public java.util.List getBgpPeer return bgpPeer_; } /** + * + * *
    * BGP peers.
    * 
@@ -4425,11 +4929,13 @@ public java.util.List getBgpPeer * repeated .google.cloud.edgenetwork.v1.Router.BgpPeer bgp_peer = 8; */ @java.lang.Override - public java.util.List + public java.util.List getBgpPeerOrBuilderList() { return bgpPeer_; } /** + * + * *
    * BGP peers.
    * 
@@ -4441,6 +4947,8 @@ public int getBgpPeerCount() { return bgpPeer_.size(); } /** + * + * *
    * BGP peers.
    * 
@@ -4452,6 +4960,8 @@ public com.google.cloud.edgenetwork.v1.Router.BgpPeer getBgpPeer(int index) { return bgpPeer_.get(index); } /** + * + * *
    * BGP peers.
    * 
@@ -4459,19 +4969,21 @@ public com.google.cloud.edgenetwork.v1.Router.BgpPeer getBgpPeer(int index) { * repeated .google.cloud.edgenetwork.v1.Router.BgpPeer bgp_peer = 8; */ @java.lang.Override - public com.google.cloud.edgenetwork.v1.Router.BgpPeerOrBuilder getBgpPeerOrBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.Router.BgpPeerOrBuilder getBgpPeerOrBuilder(int index) { return bgpPeer_.get(index); } public static final int BGP_FIELD_NUMBER = 9; private com.google.cloud.edgenetwork.v1.Router.Bgp bgp_; /** + * + * *
    * BGP information specific to this router.
    * 
* * .google.cloud.edgenetwork.v1.Router.Bgp bgp = 9; + * * @return Whether the bgp field is set. */ @java.lang.Override @@ -4479,11 +4991,14 @@ public boolean hasBgp() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
    * BGP information specific to this router.
    * 
* * .google.cloud.edgenetwork.v1.Router.Bgp bgp = 9; + * * @return The bgp. */ @java.lang.Override @@ -4491,6 +5006,8 @@ public com.google.cloud.edgenetwork.v1.Router.Bgp getBgp() { return bgp_ == null ? com.google.cloud.edgenetwork.v1.Router.Bgp.getDefaultInstance() : bgp_; } /** + * + * *
    * BGP information specific to this router.
    * 
@@ -4505,65 +5022,90 @@ public com.google.cloud.edgenetwork.v1.Router.BgpOrBuilder getBgpOrBuilder() { public static final int STATE_FIELD_NUMBER = 10; private int state_ = 0; /** + * + * *
    * Output only. Current stage of the resource to the device by config push.
    * 
* - * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. Current stage of the resource to the device by config push.
    * 
* - * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.edgenetwork.v1.ResourceState getState() { - com.google.cloud.edgenetwork.v1.ResourceState result = com.google.cloud.edgenetwork.v1.ResourceState.forNumber(state_); + @java.lang.Override + public com.google.cloud.edgenetwork.v1.ResourceState getState() { + com.google.cloud.edgenetwork.v1.ResourceState result = + com.google.cloud.edgenetwork.v1.ResourceState.forNumber(state_); return result == null ? com.google.cloud.edgenetwork.v1.ResourceState.UNRECOGNIZED : result; } public static final int ROUTE_ADVERTISEMENTS_FIELD_NUMBER = 11; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList routeAdvertisements_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Optional. A list of CIDRs in IP/Length format to advertise northbound as
    * static routes from this router.
    * 
* - * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the routeAdvertisements. */ - public com.google.protobuf.ProtocolStringList - getRouteAdvertisementsList() { + public com.google.protobuf.ProtocolStringList getRouteAdvertisementsList() { return routeAdvertisements_; } /** + * + * *
    * Optional. A list of CIDRs in IP/Length format to advertise northbound as
    * static routes from this router.
    * 
* - * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of routeAdvertisements. */ public int getRouteAdvertisementsCount() { return routeAdvertisements_.size(); } /** + * + * *
    * Optional. A list of CIDRs in IP/Length format to advertise northbound as
    * static routes from this router.
    * 
* - * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The routeAdvertisements at the given index. */ @@ -4571,21 +5113,25 @@ public java.lang.String getRouteAdvertisements(int index) { return routeAdvertisements_.get(index); } /** + * + * *
    * Optional. A list of CIDRs in IP/Length format to advertise northbound as
    * static routes from this router.
    * 
* - * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the routeAdvertisements at the given index. */ - public com.google.protobuf.ByteString - getRouteAdvertisementsBytes(int index) { + public com.google.protobuf.ByteString getRouteAdvertisementsBytes(int index) { return routeAdvertisements_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4597,8 +5143,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -4608,12 +5153,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_); } @@ -4633,7 +5174,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeEnum(10, state_); } for (int i = 0; i < routeAdvertisements_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 11, routeAdvertisements_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 11, routeAdvertisements_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -4648,22 +5190,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, 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(4, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, 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(4, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); @@ -4672,20 +5212,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, network_); } for (int i = 0; i < interface_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, interface_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, interface_.get(i)); } for (int i = 0; i < bgpPeer_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, bgpPeer_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, bgpPeer_.get(i)); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getBgp()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getBgp()); } if (state_ != com.google.cloud.edgenetwork.v1.ResourceState.STATE_UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, state_); } { int dataSize = 0; @@ -4703,43 +5239,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.edgenetwork.v1.Router)) { return super.equals(obj); } com.google.cloud.edgenetwork.v1.Router other = (com.google.cloud.edgenetwork.v1.Router) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) 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 (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getNetwork() - .equals(other.getNetwork())) return false; - if (!getInterfaceList() - .equals(other.getInterfaceList())) return false; - if (!getBgpPeerList() - .equals(other.getBgpPeerList())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getNetwork().equals(other.getNetwork())) return false; + if (!getInterfaceList().equals(other.getInterfaceList())) return false; + if (!getBgpPeerList().equals(other.getBgpPeerList())) return false; if (hasBgp() != other.hasBgp()) return false; if (hasBgp()) { - if (!getBgp() - .equals(other.getBgp())) return false; + if (!getBgp().equals(other.getBgp())) return false; } if (state_ != other.state_) return false; - if (!getRouteAdvertisementsList() - .equals(other.getRouteAdvertisementsList())) return false; + if (!getRouteAdvertisementsList().equals(other.getRouteAdvertisementsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -4792,112 +5318,117 @@ public int hashCode() { return hash; } - public static com.google.cloud.edgenetwork.v1.Router parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.edgenetwork.v1.Router parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.Router parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Router parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.Router parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Router parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.Router parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Router parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.Router parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.edgenetwork.v1.Router parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.Router parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Router parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.Router parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.Router prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 describing Router object
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.Router} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.Router) com.google.cloud.edgenetwork.v1.RouterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Router_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Router_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -4907,10 +5438,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 4: 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.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { @@ -4918,16 +5449,18 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi case 4: 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.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Router_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Router_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.Router.class, com.google.cloud.edgenetwork.v1.Router.Builder.class); + com.google.cloud.edgenetwork.v1.Router.class, + com.google.cloud.edgenetwork.v1.Router.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.Router.newBuilder() @@ -4935,14 +5468,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCreateTimeFieldBuilder(); getUpdateTimeFieldBuilder(); getInterfaceFieldBuilder(); @@ -4950,6 +5482,7 @@ private void maybeForceBuilderInitialization() { getBgpFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -4988,15 +5521,14 @@ public Builder clear() { bgpBuilder_ = null; } state_ = 0; - routeAdvertisements_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + routeAdvertisements_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Router_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Router_descriptor; } @java.lang.Override @@ -5015,9 +5547,12 @@ public com.google.cloud.edgenetwork.v1.Router build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.Router buildPartial() { - com.google.cloud.edgenetwork.v1.Router result = new com.google.cloud.edgenetwork.v1.Router(this); + com.google.cloud.edgenetwork.v1.Router result = + new com.google.cloud.edgenetwork.v1.Router(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -5050,15 +5585,11 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.Router result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { @@ -5072,9 +5603,7 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.Router result) { result.network_ = network_; } if (((from_bitField0_ & 0x00000100) != 0)) { - result.bgp_ = bgpBuilder_ == null - ? bgp_ - : bgpBuilder_.build(); + result.bgp_ = bgpBuilder_ == null ? bgp_ : bgpBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000200) != 0)) { @@ -5091,38 +5620,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.Router result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.Router) { - return mergeFrom((com.google.cloud.edgenetwork.v1.Router)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.Router) other); } else { super.mergeFrom(other); return this; @@ -5142,8 +5672,7 @@ public Builder mergeFrom(com.google.cloud.edgenetwork.v1.Router other) { if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); bitField0_ |= 0x00000008; if (!other.getDescription().isEmpty()) { description_ = other.description_; @@ -5173,9 +5702,10 @@ public Builder mergeFrom(com.google.cloud.edgenetwork.v1.Router other) { interfaceBuilder_ = null; interface_ = other.interface_; bitField0_ = (bitField0_ & ~0x00000040); - interfaceBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getInterfaceFieldBuilder() : null; + interfaceBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getInterfaceFieldBuilder() + : null; } else { interfaceBuilder_.addAllMessages(other.interface_); } @@ -5199,9 +5729,10 @@ public Builder mergeFrom(com.google.cloud.edgenetwork.v1.Router other) { bgpPeerBuilder_ = null; bgpPeer_ = other.bgpPeer_; bitField0_ = (bitField0_ & ~0x00000080); - bgpPeerBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getBgpPeerFieldBuilder() : null; + bgpPeerBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getBgpPeerFieldBuilder() + : null; } else { bgpPeerBuilder_.addAllMessages(other.bgpPeer_); } @@ -5249,94 +5780,101 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - network_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - com.google.cloud.edgenetwork.v1.Router.Interface m = - input.readMessage( - com.google.cloud.edgenetwork.v1.Router.Interface.parser(), - extensionRegistry); - if (interfaceBuilder_ == null) { - ensureInterfaceIsMutable(); - interface_.add(m); - } else { - interfaceBuilder_.addMessage(m); - } - break; - } // case 58 - case 66: { - com.google.cloud.edgenetwork.v1.Router.BgpPeer m = - input.readMessage( - com.google.cloud.edgenetwork.v1.Router.BgpPeer.parser(), - extensionRegistry); - if (bgpPeerBuilder_ == null) { - ensureBgpPeerIsMutable(); - bgpPeer_.add(m); - } else { - bgpPeerBuilder_.addMessage(m); - } - break; - } // case 66 - case 74: { - input.readMessage( - getBgpFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 80: { - state_ = input.readEnum(); - bitField0_ |= 0x00000200; - break; - } // case 80 - case 90: { - java.lang.String s = input.readStringRequireUtf8(); - ensureRouteAdvertisementsIsMutable(); - routeAdvertisements_.add(s); - break; - } // case 90 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + network_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + com.google.cloud.edgenetwork.v1.Router.Interface m = + input.readMessage( + com.google.cloud.edgenetwork.v1.Router.Interface.parser(), + extensionRegistry); + if (interfaceBuilder_ == null) { + ensureInterfaceIsMutable(); + interface_.add(m); + } else { + interfaceBuilder_.addMessage(m); + } + break; + } // case 58 + case 66: + { + com.google.cloud.edgenetwork.v1.Router.BgpPeer m = + input.readMessage( + com.google.cloud.edgenetwork.v1.Router.BgpPeer.parser(), extensionRegistry); + if (bgpPeerBuilder_ == null) { + ensureBgpPeerIsMutable(); + bgpPeer_.add(m); + } else { + bgpPeerBuilder_.addMessage(m); + } + break; + } // case 66 + case 74: + { + input.readMessage(getBgpFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 80: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 90: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureRouteAdvertisementsIsMutable(); + routeAdvertisements_.add(s); + break; + } // case 90 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5346,22 +5884,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The canonical resource name of the router.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -5370,20 +5911,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The canonical resource name of the router.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -5391,28 +5933,35 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The canonical resource name of the router.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The canonical resource name of the router.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -5422,17 +5971,21 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The canonical resource name of the router.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -5442,39 +5995,58 @@ public Builder setNameBytes( 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 when the router was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The time when the router was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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 when the router was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -5490,14 +6062,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the router was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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(); } else { @@ -5508,17 +6083,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time when the router was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -5533,11 +6112,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the router was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -5550,11 +6133,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time when the router was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000002; @@ -5562,36 +6149,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the router was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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 when the router was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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_; @@ -5599,39 +6198,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 when the router was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The time when the router was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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 when the router was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -5647,14 +6265,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the router was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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(); } else { @@ -5665,17 +6286,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time when the router was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -5690,11 +6315,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the router was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -5707,11 +6336,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time when the router was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000004; @@ -5719,56 +6352,66 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the router was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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 when the router was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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() { 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(); @@ -5777,10 +6420,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels associated with this resource.
      * 
@@ -5788,20 +6434,21 @@ public int getLabelsCount() { * map<string, string> labels = 4; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Labels associated with this resource.
      * 
@@ -5813,6 +6460,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels associated with this resource.
      * 
@@ -5820,17 +6469,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Labels associated with this resource.
      * 
@@ -5838,92 +6489,96 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000008); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Labels associated with this resource.
      * 
* * map<string, string> labels = 4; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000008; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Labels associated with this resource.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000008; return this; } /** + * + * *
      * Labels associated with this resource.
      * 
* * map<string, string> labels = 4; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000008; return this; } private java.lang.Object description_ = ""; /** + * + * *
      * Optional. A free-text description of the resource. Max length 1024
      * characters.
      * 
* * string description = 5 [(.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; @@ -5932,21 +6587,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. A free-text description of the resource. Max length 1024
      * characters.
      * 
* * string description = 5 [(.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 { @@ -5954,30 +6610,37 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. A free-text description of the resource. Max length 1024
      * characters.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. A free-text description of the resource. Max length 1024
      * characters.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -5987,18 +6650,22 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. A free-text description of the resource. Max length 1024
      * characters.
      * 
* * string description = 5 [(.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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000010; @@ -6008,20 +6675,24 @@ public Builder setDescriptionBytes( private java.lang.Object network_ = ""; /** + * + * *
      * Required. The canonical name of the network to which this router belongs.
      * The name is in the form of
      * `projects/{project}/locations/{location}/zones/{zone}/networks/{network}`.
      * 
* - * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -6030,22 +6701,25 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * Required. The canonical name of the network to which this router belongs.
      * The name is in the form of
      * `projects/{project}/locations/{location}/zones/{zone}/networks/{network}`.
      * 
* - * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -6053,32 +6727,43 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * Required. The canonical name of the network to which this router belongs.
      * The name is in the form of
      * `projects/{project}/locations/{location}/zones/{zone}/networks/{network}`.
      * 
* - * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetwork(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } network_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Required. The canonical name of the network to which this router belongs.
      * The name is in the form of
      * `projects/{project}/locations/{location}/zones/{zone}/networks/{network}`.
      * 
* - * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearNetwork() { @@ -6088,19 +6773,25 @@ public Builder clearNetwork() { return this; } /** + * + * *
      * Required. The canonical name of the network to which this router belongs.
      * The name is in the form of
      * `projects/{project}/locations/{location}/zones/{zone}/networks/{network}`.
      * 
* - * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); network_ = value; bitField0_ |= 0x00000020; @@ -6109,18 +6800,25 @@ public Builder setNetworkBytes( } private java.util.List interface_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureInterfaceIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { - interface_ = new java.util.ArrayList(interface_); + interface_ = + new java.util.ArrayList(interface_); bitField0_ |= 0x00000040; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Router.Interface, com.google.cloud.edgenetwork.v1.Router.Interface.Builder, com.google.cloud.edgenetwork.v1.Router.InterfaceOrBuilder> interfaceBuilder_; + com.google.cloud.edgenetwork.v1.Router.Interface, + com.google.cloud.edgenetwork.v1.Router.Interface.Builder, + com.google.cloud.edgenetwork.v1.Router.InterfaceOrBuilder> + interfaceBuilder_; /** + * + * *
      * Router interfaces.
      * 
@@ -6135,6 +6833,8 @@ public java.util.List getInter } } /** + * + * *
      * Router interfaces.
      * 
@@ -6149,6 +6849,8 @@ public int getInterfaceCount() { } } /** + * + * *
      * Router interfaces.
      * 
@@ -6163,14 +6865,15 @@ public com.google.cloud.edgenetwork.v1.Router.Interface getInterface(int index) } } /** + * + * *
      * Router interfaces.
      * 
* * repeated .google.cloud.edgenetwork.v1.Router.Interface interface = 7; */ - public Builder setInterface( - int index, com.google.cloud.edgenetwork.v1.Router.Interface value) { + public Builder setInterface(int index, com.google.cloud.edgenetwork.v1.Router.Interface value) { if (interfaceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6184,6 +6887,8 @@ public Builder setInterface( return this; } /** + * + * *
      * Router interfaces.
      * 
@@ -6202,6 +6907,8 @@ public Builder setInterface( return this; } /** + * + * *
      * Router interfaces.
      * 
@@ -6222,14 +6929,15 @@ public Builder addInterface(com.google.cloud.edgenetwork.v1.Router.Interface val return this; } /** + * + * *
      * Router interfaces.
      * 
* * repeated .google.cloud.edgenetwork.v1.Router.Interface interface = 7; */ - public Builder addInterface( - int index, com.google.cloud.edgenetwork.v1.Router.Interface value) { + public Builder addInterface(int index, com.google.cloud.edgenetwork.v1.Router.Interface value) { if (interfaceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6243,6 +6951,8 @@ public Builder addInterface( return this; } /** + * + * *
      * Router interfaces.
      * 
@@ -6261,6 +6971,8 @@ public Builder addInterface( return this; } /** + * + * *
      * Router interfaces.
      * 
@@ -6279,6 +6991,8 @@ public Builder addInterface( return this; } /** + * + * *
      * Router interfaces.
      * 
@@ -6289,8 +7003,7 @@ public Builder addAllInterface( java.lang.Iterable values) { if (interfaceBuilder_ == null) { ensureInterfaceIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, interface_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, interface_); onChanged(); } else { interfaceBuilder_.addAllMessages(values); @@ -6298,6 +7011,8 @@ public Builder addAllInterface( return this; } /** + * + * *
      * Router interfaces.
      * 
@@ -6315,6 +7030,8 @@ public Builder clearInterface() { return this; } /** + * + * *
      * Router interfaces.
      * 
@@ -6332,17 +7049,20 @@ public Builder removeInterface(int index) { return this; } /** + * + * *
      * Router interfaces.
      * 
* * repeated .google.cloud.edgenetwork.v1.Router.Interface interface = 7; */ - public com.google.cloud.edgenetwork.v1.Router.Interface.Builder getInterfaceBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.Router.Interface.Builder getInterfaceBuilder(int index) { return getInterfaceFieldBuilder().getBuilder(index); } /** + * + * *
      * Router interfaces.
      * 
@@ -6352,19 +7072,22 @@ public com.google.cloud.edgenetwork.v1.Router.Interface.Builder getInterfaceBuil public com.google.cloud.edgenetwork.v1.Router.InterfaceOrBuilder getInterfaceOrBuilder( int index) { if (interfaceBuilder_ == null) { - return interface_.get(index); } else { + return interface_.get(index); + } else { return interfaceBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Router interfaces.
      * 
* * repeated .google.cloud.edgenetwork.v1.Router.Interface interface = 7; */ - public java.util.List - getInterfaceOrBuilderList() { + public java.util.List + getInterfaceOrBuilderList() { if (interfaceBuilder_ != null) { return interfaceBuilder_.getMessageOrBuilderList(); } else { @@ -6372,6 +7095,8 @@ public com.google.cloud.edgenetwork.v1.Router.InterfaceOrBuilder getInterfaceOrB } } /** + * + * *
      * Router interfaces.
      * 
@@ -6379,60 +7104,73 @@ public com.google.cloud.edgenetwork.v1.Router.InterfaceOrBuilder getInterfaceOrB * repeated .google.cloud.edgenetwork.v1.Router.Interface interface = 7; */ public com.google.cloud.edgenetwork.v1.Router.Interface.Builder addInterfaceBuilder() { - return getInterfaceFieldBuilder().addBuilder( - com.google.cloud.edgenetwork.v1.Router.Interface.getDefaultInstance()); + return getInterfaceFieldBuilder() + .addBuilder(com.google.cloud.edgenetwork.v1.Router.Interface.getDefaultInstance()); } /** + * + * *
      * Router interfaces.
      * 
* * repeated .google.cloud.edgenetwork.v1.Router.Interface interface = 7; */ - public com.google.cloud.edgenetwork.v1.Router.Interface.Builder addInterfaceBuilder( - int index) { - return getInterfaceFieldBuilder().addBuilder( - index, com.google.cloud.edgenetwork.v1.Router.Interface.getDefaultInstance()); + public com.google.cloud.edgenetwork.v1.Router.Interface.Builder addInterfaceBuilder(int index) { + return getInterfaceFieldBuilder() + .addBuilder(index, com.google.cloud.edgenetwork.v1.Router.Interface.getDefaultInstance()); } /** + * + * *
      * Router interfaces.
      * 
* * repeated .google.cloud.edgenetwork.v1.Router.Interface interface = 7; */ - public java.util.List - getInterfaceBuilderList() { + public java.util.List + getInterfaceBuilderList() { return getInterfaceFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Router.Interface, com.google.cloud.edgenetwork.v1.Router.Interface.Builder, com.google.cloud.edgenetwork.v1.Router.InterfaceOrBuilder> + com.google.cloud.edgenetwork.v1.Router.Interface, + com.google.cloud.edgenetwork.v1.Router.Interface.Builder, + com.google.cloud.edgenetwork.v1.Router.InterfaceOrBuilder> getInterfaceFieldBuilder() { if (interfaceBuilder_ == null) { - interfaceBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Router.Interface, com.google.cloud.edgenetwork.v1.Router.Interface.Builder, com.google.cloud.edgenetwork.v1.Router.InterfaceOrBuilder>( - interface_, - ((bitField0_ & 0x00000040) != 0), - getParentForChildren(), - isClean()); + interfaceBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.edgenetwork.v1.Router.Interface, + com.google.cloud.edgenetwork.v1.Router.Interface.Builder, + com.google.cloud.edgenetwork.v1.Router.InterfaceOrBuilder>( + interface_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); interface_ = null; } return interfaceBuilder_; } private java.util.List bgpPeer_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureBgpPeerIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { - bgpPeer_ = new java.util.ArrayList(bgpPeer_); + bgpPeer_ = + new java.util.ArrayList(bgpPeer_); bitField0_ |= 0x00000080; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Router.BgpPeer, com.google.cloud.edgenetwork.v1.Router.BgpPeer.Builder, com.google.cloud.edgenetwork.v1.Router.BgpPeerOrBuilder> bgpPeerBuilder_; + com.google.cloud.edgenetwork.v1.Router.BgpPeer, + com.google.cloud.edgenetwork.v1.Router.BgpPeer.Builder, + com.google.cloud.edgenetwork.v1.Router.BgpPeerOrBuilder> + bgpPeerBuilder_; /** + * + * *
      * BGP peers.
      * 
@@ -6447,6 +7185,8 @@ public java.util.List getBgpPeer } } /** + * + * *
      * BGP peers.
      * 
@@ -6461,6 +7201,8 @@ public int getBgpPeerCount() { } } /** + * + * *
      * BGP peers.
      * 
@@ -6475,14 +7217,15 @@ public com.google.cloud.edgenetwork.v1.Router.BgpPeer getBgpPeer(int index) { } } /** + * + * *
      * BGP peers.
      * 
* * repeated .google.cloud.edgenetwork.v1.Router.BgpPeer bgp_peer = 8; */ - public Builder setBgpPeer( - int index, com.google.cloud.edgenetwork.v1.Router.BgpPeer value) { + public Builder setBgpPeer(int index, com.google.cloud.edgenetwork.v1.Router.BgpPeer value) { if (bgpPeerBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6496,6 +7239,8 @@ public Builder setBgpPeer( return this; } /** + * + * *
      * BGP peers.
      * 
@@ -6514,6 +7259,8 @@ public Builder setBgpPeer( return this; } /** + * + * *
      * BGP peers.
      * 
@@ -6534,14 +7281,15 @@ public Builder addBgpPeer(com.google.cloud.edgenetwork.v1.Router.BgpPeer value) return this; } /** + * + * *
      * BGP peers.
      * 
* * repeated .google.cloud.edgenetwork.v1.Router.BgpPeer bgp_peer = 8; */ - public Builder addBgpPeer( - int index, com.google.cloud.edgenetwork.v1.Router.BgpPeer value) { + public Builder addBgpPeer(int index, com.google.cloud.edgenetwork.v1.Router.BgpPeer value) { if (bgpPeerBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6555,6 +7303,8 @@ public Builder addBgpPeer( return this; } /** + * + * *
      * BGP peers.
      * 
@@ -6573,6 +7323,8 @@ public Builder addBgpPeer( return this; } /** + * + * *
      * BGP peers.
      * 
@@ -6591,6 +7343,8 @@ public Builder addBgpPeer( return this; } /** + * + * *
      * BGP peers.
      * 
@@ -6601,8 +7355,7 @@ public Builder addAllBgpPeer( java.lang.Iterable values) { if (bgpPeerBuilder_ == null) { ensureBgpPeerIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, bgpPeer_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, bgpPeer_); onChanged(); } else { bgpPeerBuilder_.addAllMessages(values); @@ -6610,6 +7363,8 @@ public Builder addAllBgpPeer( return this; } /** + * + * *
      * BGP peers.
      * 
@@ -6627,6 +7382,8 @@ public Builder clearBgpPeer() { return this; } /** + * + * *
      * BGP peers.
      * 
@@ -6644,39 +7401,44 @@ public Builder removeBgpPeer(int index) { return this; } /** + * + * *
      * BGP peers.
      * 
* * repeated .google.cloud.edgenetwork.v1.Router.BgpPeer bgp_peer = 8; */ - public com.google.cloud.edgenetwork.v1.Router.BgpPeer.Builder getBgpPeerBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.Router.BgpPeer.Builder getBgpPeerBuilder(int index) { return getBgpPeerFieldBuilder().getBuilder(index); } /** + * + * *
      * BGP peers.
      * 
* * repeated .google.cloud.edgenetwork.v1.Router.BgpPeer bgp_peer = 8; */ - public com.google.cloud.edgenetwork.v1.Router.BgpPeerOrBuilder getBgpPeerOrBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.Router.BgpPeerOrBuilder getBgpPeerOrBuilder(int index) { if (bgpPeerBuilder_ == null) { - return bgpPeer_.get(index); } else { + return bgpPeer_.get(index); + } else { return bgpPeerBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * BGP peers.
      * 
* * repeated .google.cloud.edgenetwork.v1.Router.BgpPeer bgp_peer = 8; */ - public java.util.List - getBgpPeerOrBuilderList() { + public java.util.List + getBgpPeerOrBuilderList() { if (bgpPeerBuilder_ != null) { return bgpPeerBuilder_.getMessageOrBuilderList(); } else { @@ -6684,6 +7446,8 @@ public com.google.cloud.edgenetwork.v1.Router.BgpPeerOrBuilder getBgpPeerOrBuild } } /** + * + * *
      * BGP peers.
      * 
@@ -6691,42 +7455,48 @@ public com.google.cloud.edgenetwork.v1.Router.BgpPeerOrBuilder getBgpPeerOrBuild * repeated .google.cloud.edgenetwork.v1.Router.BgpPeer bgp_peer = 8; */ public com.google.cloud.edgenetwork.v1.Router.BgpPeer.Builder addBgpPeerBuilder() { - return getBgpPeerFieldBuilder().addBuilder( - com.google.cloud.edgenetwork.v1.Router.BgpPeer.getDefaultInstance()); + return getBgpPeerFieldBuilder() + .addBuilder(com.google.cloud.edgenetwork.v1.Router.BgpPeer.getDefaultInstance()); } /** + * + * *
      * BGP peers.
      * 
* * repeated .google.cloud.edgenetwork.v1.Router.BgpPeer bgp_peer = 8; */ - public com.google.cloud.edgenetwork.v1.Router.BgpPeer.Builder addBgpPeerBuilder( - int index) { - return getBgpPeerFieldBuilder().addBuilder( - index, com.google.cloud.edgenetwork.v1.Router.BgpPeer.getDefaultInstance()); + public com.google.cloud.edgenetwork.v1.Router.BgpPeer.Builder addBgpPeerBuilder(int index) { + return getBgpPeerFieldBuilder() + .addBuilder(index, com.google.cloud.edgenetwork.v1.Router.BgpPeer.getDefaultInstance()); } /** + * + * *
      * BGP peers.
      * 
* * repeated .google.cloud.edgenetwork.v1.Router.BgpPeer bgp_peer = 8; */ - public java.util.List - getBgpPeerBuilderList() { + public java.util.List + getBgpPeerBuilderList() { return getBgpPeerFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Router.BgpPeer, com.google.cloud.edgenetwork.v1.Router.BgpPeer.Builder, com.google.cloud.edgenetwork.v1.Router.BgpPeerOrBuilder> + com.google.cloud.edgenetwork.v1.Router.BgpPeer, + com.google.cloud.edgenetwork.v1.Router.BgpPeer.Builder, + com.google.cloud.edgenetwork.v1.Router.BgpPeerOrBuilder> getBgpPeerFieldBuilder() { if (bgpPeerBuilder_ == null) { - bgpPeerBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Router.BgpPeer, com.google.cloud.edgenetwork.v1.Router.BgpPeer.Builder, com.google.cloud.edgenetwork.v1.Router.BgpPeerOrBuilder>( - bgpPeer_, - ((bitField0_ & 0x00000080) != 0), - getParentForChildren(), - isClean()); + bgpPeerBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.edgenetwork.v1.Router.BgpPeer, + com.google.cloud.edgenetwork.v1.Router.BgpPeer.Builder, + com.google.cloud.edgenetwork.v1.Router.BgpPeerOrBuilder>( + bgpPeer_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); bgpPeer_ = null; } return bgpPeerBuilder_; @@ -6734,34 +7504,47 @@ public com.google.cloud.edgenetwork.v1.Router.BgpPeer.Builder addBgpPeerBuilder( private com.google.cloud.edgenetwork.v1.Router.Bgp bgp_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Router.Bgp, com.google.cloud.edgenetwork.v1.Router.Bgp.Builder, com.google.cloud.edgenetwork.v1.Router.BgpOrBuilder> bgpBuilder_; + com.google.cloud.edgenetwork.v1.Router.Bgp, + com.google.cloud.edgenetwork.v1.Router.Bgp.Builder, + com.google.cloud.edgenetwork.v1.Router.BgpOrBuilder> + bgpBuilder_; /** + * + * *
      * BGP information specific to this router.
      * 
* * .google.cloud.edgenetwork.v1.Router.Bgp bgp = 9; + * * @return Whether the bgp field is set. */ public boolean hasBgp() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * BGP information specific to this router.
      * 
* * .google.cloud.edgenetwork.v1.Router.Bgp bgp = 9; + * * @return The bgp. */ public com.google.cloud.edgenetwork.v1.Router.Bgp getBgp() { if (bgpBuilder_ == null) { - return bgp_ == null ? com.google.cloud.edgenetwork.v1.Router.Bgp.getDefaultInstance() : bgp_; + return bgp_ == null + ? com.google.cloud.edgenetwork.v1.Router.Bgp.getDefaultInstance() + : bgp_; } else { return bgpBuilder_.getMessage(); } } /** + * + * *
      * BGP information specific to this router.
      * 
@@ -6782,14 +7565,15 @@ public Builder setBgp(com.google.cloud.edgenetwork.v1.Router.Bgp value) { return this; } /** + * + * *
      * BGP information specific to this router.
      * 
* * .google.cloud.edgenetwork.v1.Router.Bgp bgp = 9; */ - public Builder setBgp( - com.google.cloud.edgenetwork.v1.Router.Bgp.Builder builderForValue) { + public Builder setBgp(com.google.cloud.edgenetwork.v1.Router.Bgp.Builder builderForValue) { if (bgpBuilder_ == null) { bgp_ = builderForValue.build(); } else { @@ -6800,6 +7584,8 @@ public Builder setBgp( return this; } /** + * + * *
      * BGP information specific to this router.
      * 
@@ -6808,9 +7594,9 @@ public Builder setBgp( */ public Builder mergeBgp(com.google.cloud.edgenetwork.v1.Router.Bgp value) { if (bgpBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - bgp_ != null && - bgp_ != com.google.cloud.edgenetwork.v1.Router.Bgp.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && bgp_ != null + && bgp_ != com.google.cloud.edgenetwork.v1.Router.Bgp.getDefaultInstance()) { getBgpBuilder().mergeFrom(value); } else { bgp_ = value; @@ -6825,6 +7611,8 @@ public Builder mergeBgp(com.google.cloud.edgenetwork.v1.Router.Bgp value) { return this; } /** + * + * *
      * BGP information specific to this router.
      * 
@@ -6842,6 +7630,8 @@ public Builder clearBgp() { return this; } /** + * + * *
      * BGP information specific to this router.
      * 
@@ -6854,6 +7644,8 @@ public com.google.cloud.edgenetwork.v1.Router.Bgp.Builder getBgpBuilder() { return getBgpFieldBuilder().getBuilder(); } /** + * + * *
      * BGP information specific to this router.
      * 
@@ -6864,11 +7656,14 @@ public com.google.cloud.edgenetwork.v1.Router.BgpOrBuilder getBgpOrBuilder() { if (bgpBuilder_ != null) { return bgpBuilder_.getMessageOrBuilder(); } else { - return bgp_ == null ? - com.google.cloud.edgenetwork.v1.Router.Bgp.getDefaultInstance() : bgp_; + return bgp_ == null + ? com.google.cloud.edgenetwork.v1.Router.Bgp.getDefaultInstance() + : bgp_; } } /** + * + * *
      * BGP information specific to this router.
      * 
@@ -6876,14 +7671,17 @@ public com.google.cloud.edgenetwork.v1.Router.BgpOrBuilder getBgpOrBuilder() { * .google.cloud.edgenetwork.v1.Router.Bgp bgp = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Router.Bgp, com.google.cloud.edgenetwork.v1.Router.Bgp.Builder, com.google.cloud.edgenetwork.v1.Router.BgpOrBuilder> + com.google.cloud.edgenetwork.v1.Router.Bgp, + com.google.cloud.edgenetwork.v1.Router.Bgp.Builder, + com.google.cloud.edgenetwork.v1.Router.BgpOrBuilder> getBgpFieldBuilder() { if (bgpBuilder_ == null) { - bgpBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Router.Bgp, com.google.cloud.edgenetwork.v1.Router.Bgp.Builder, com.google.cloud.edgenetwork.v1.Router.BgpOrBuilder>( - getBgp(), - getParentForChildren(), - isClean()); + bgpBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgenetwork.v1.Router.Bgp, + com.google.cloud.edgenetwork.v1.Router.Bgp.Builder, + com.google.cloud.edgenetwork.v1.Router.BgpOrBuilder>( + getBgp(), getParentForChildren(), isClean()); bgp_ = null; } return bgpBuilder_; @@ -6891,22 +7689,33 @@ public com.google.cloud.edgenetwork.v1.Router.BgpOrBuilder getBgpOrBuilder() { private int state_ = 0; /** + * + * *
      * Output only. Current stage of the resource to the device by config push.
      * 
* - * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. Current stage of the resource to the device by config push.
      * 
* - * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -6917,24 +7726,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. Current stage of the resource to the device by config push.
      * 
* - * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.edgenetwork.v1.ResourceState getState() { - com.google.cloud.edgenetwork.v1.ResourceState result = com.google.cloud.edgenetwork.v1.ResourceState.forNumber(state_); + com.google.cloud.edgenetwork.v1.ResourceState result = + com.google.cloud.edgenetwork.v1.ResourceState.forNumber(state_); return result == null ? com.google.cloud.edgenetwork.v1.ResourceState.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Current stage of the resource to the device by config push.
      * 
* - * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -6948,11 +7768,16 @@ public Builder setState(com.google.cloud.edgenetwork.v1.ResourceState value) { return this; } /** + * + * *
      * Output only. Current stage of the resource to the device by config push.
      * 
* - * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -6964,6 +7789,7 @@ public Builder clearState() { private com.google.protobuf.LazyStringArrayList routeAdvertisements_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureRouteAdvertisementsIsMutable() { if (!routeAdvertisements_.isModifiable()) { routeAdvertisements_ = new com.google.protobuf.LazyStringArrayList(routeAdvertisements_); @@ -6971,38 +7797,49 @@ private void ensureRouteAdvertisementsIsMutable() { bitField0_ |= 0x00000400; } /** + * + * *
      * Optional. A list of CIDRs in IP/Length format to advertise northbound as
      * static routes from this router.
      * 
* - * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the routeAdvertisements. */ - public com.google.protobuf.ProtocolStringList - getRouteAdvertisementsList() { + public com.google.protobuf.ProtocolStringList getRouteAdvertisementsList() { routeAdvertisements_.makeImmutable(); return routeAdvertisements_; } /** + * + * *
      * Optional. A list of CIDRs in IP/Length format to advertise northbound as
      * static routes from this router.
      * 
* - * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of routeAdvertisements. */ public int getRouteAdvertisementsCount() { return routeAdvertisements_.size(); } /** + * + * *
      * Optional. A list of CIDRs in IP/Length format to advertise northbound as
      * static routes from this router.
      * 
* - * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The routeAdvertisements at the given index. */ @@ -7010,33 +7847,41 @@ public java.lang.String getRouteAdvertisements(int index) { return routeAdvertisements_.get(index); } /** + * + * *
      * Optional. A list of CIDRs in IP/Length format to advertise northbound as
      * static routes from this router.
      * 
* - * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the routeAdvertisements at the given index. */ - public com.google.protobuf.ByteString - getRouteAdvertisementsBytes(int index) { + public com.google.protobuf.ByteString getRouteAdvertisementsBytes(int index) { return routeAdvertisements_.getByteString(index); } /** + * + * *
      * Optional. A list of CIDRs in IP/Length format to advertise northbound as
      * static routes from this router.
      * 
* - * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The routeAdvertisements to set. * @return This builder for chaining. */ - public Builder setRouteAdvertisements( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRouteAdvertisements(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureRouteAdvertisementsIsMutable(); routeAdvertisements_.set(index, value); bitField0_ |= 0x00000400; @@ -7044,18 +7889,23 @@ public Builder setRouteAdvertisements( return this; } /** + * + * *
      * Optional. A list of CIDRs in IP/Length format to advertise northbound as
      * static routes from this router.
      * 
* - * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The routeAdvertisements to add. * @return This builder for chaining. */ - public Builder addRouteAdvertisements( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addRouteAdvertisements(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureRouteAdvertisementsIsMutable(); routeAdvertisements_.add(value); bitField0_ |= 0x00000400; @@ -7063,53 +7913,64 @@ public Builder addRouteAdvertisements( return this; } /** + * + * *
      * Optional. A list of CIDRs in IP/Length format to advertise northbound as
      * static routes from this router.
      * 
* - * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The routeAdvertisements to add. * @return This builder for chaining. */ - public Builder addAllRouteAdvertisements( - java.lang.Iterable values) { + public Builder addAllRouteAdvertisements(java.lang.Iterable values) { ensureRouteAdvertisementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, routeAdvertisements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, routeAdvertisements_); bitField0_ |= 0x00000400; onChanged(); return this; } /** + * + * *
      * Optional. A list of CIDRs in IP/Length format to advertise northbound as
      * static routes from this router.
      * 
* - * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearRouteAdvertisements() { - routeAdvertisements_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000400);; + routeAdvertisements_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000400); + ; onChanged(); return this; } /** + * + * *
      * Optional. A list of CIDRs in IP/Length format to advertise northbound as
      * static routes from this router.
      * 
* - * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes of the routeAdvertisements to add. * @return This builder for chaining. */ - public Builder addRouteAdvertisementsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addRouteAdvertisementsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureRouteAdvertisementsIsMutable(); routeAdvertisements_.add(value); @@ -7117,9 +7978,9 @@ public Builder addRouteAdvertisementsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7129,12 +7990,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.Router) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.Router) private static final com.google.cloud.edgenetwork.v1.Router DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.Router(); } @@ -7143,27 +8004,27 @@ public static com.google.cloud.edgenetwork.v1.Router getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Router parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Router parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7178,6 +8039,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.Router getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/RouterName.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/RouterName.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/RouterName.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/RouterName.java diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/RouterOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/RouterOrBuilder.java similarity index 74% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/RouterOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/RouterOrBuilder.java index 519a7b4374f3..ed80ff73b086 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/RouterOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/RouterOrBuilder.java @@ -1,88 +1,133 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/resources.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface RouterOrBuilder extends +public interface RouterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.Router) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The canonical resource name of the router.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The canonical resource name of the router.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. The time when the router was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time when the router was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time when the router was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time when the router was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The time when the router was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The time when the router was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Labels associated with this resource.
    * 
@@ -91,30 +136,31 @@ public interface RouterOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Labels associated with this resource.
    * 
* * map<string, string> labels = 4; */ - 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(); /** + * + * *
    * Labels associated with this resource.
    * 
* * map<string, string> labels = 4; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Labels associated with this resource.
    * 
@@ -122,76 +168,94 @@ boolean containsLabels( * map<string, string> labels = 4; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Labels associated with this resource.
    * 
* * map<string, string> labels = 4; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Optional. A free-text description of the resource. Max length 1024
    * characters.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. A free-text description of the resource. Max length 1024
    * characters.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Required. The canonical name of the network to which this router belongs.
    * The name is in the form of
    * `projects/{project}/locations/{location}/zones/{zone}/networks/{network}`.
    * 
* - * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The network. */ java.lang.String getNetwork(); /** + * + * *
    * Required. The canonical name of the network to which this router belongs.
    * The name is in the form of
    * `projects/{project}/locations/{location}/zones/{zone}/networks/{network}`.
    * 
* - * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for network. */ - com.google.protobuf.ByteString - getNetworkBytes(); + com.google.protobuf.ByteString getNetworkBytes(); /** + * + * *
    * Router interfaces.
    * 
* * repeated .google.cloud.edgenetwork.v1.Router.Interface interface = 7; */ - java.util.List - getInterfaceList(); + java.util.List getInterfaceList(); /** + * + * *
    * Router interfaces.
    * 
@@ -200,6 +264,8 @@ java.lang.String getLabelsOrThrow( */ com.google.cloud.edgenetwork.v1.Router.Interface getInterface(int index); /** + * + * *
    * Router interfaces.
    * 
@@ -208,34 +274,40 @@ java.lang.String getLabelsOrThrow( */ int getInterfaceCount(); /** + * + * *
    * Router interfaces.
    * 
* * repeated .google.cloud.edgenetwork.v1.Router.Interface interface = 7; */ - java.util.List + java.util.List getInterfaceOrBuilderList(); /** + * + * *
    * Router interfaces.
    * 
* * repeated .google.cloud.edgenetwork.v1.Router.Interface interface = 7; */ - com.google.cloud.edgenetwork.v1.Router.InterfaceOrBuilder getInterfaceOrBuilder( - int index); + com.google.cloud.edgenetwork.v1.Router.InterfaceOrBuilder getInterfaceOrBuilder(int index); /** + * + * *
    * BGP peers.
    * 
* * repeated .google.cloud.edgenetwork.v1.Router.BgpPeer bgp_peer = 8; */ - java.util.List - getBgpPeerList(); + java.util.List getBgpPeerList(); /** + * + * *
    * BGP peers.
    * 
@@ -244,6 +316,8 @@ com.google.cloud.edgenetwork.v1.Router.InterfaceOrBuilder getInterfaceOrBuilder( */ com.google.cloud.edgenetwork.v1.Router.BgpPeer getBgpPeer(int index); /** + * + * *
    * BGP peers.
    * 
@@ -252,43 +326,54 @@ com.google.cloud.edgenetwork.v1.Router.InterfaceOrBuilder getInterfaceOrBuilder( */ int getBgpPeerCount(); /** + * + * *
    * BGP peers.
    * 
* * repeated .google.cloud.edgenetwork.v1.Router.BgpPeer bgp_peer = 8; */ - java.util.List + java.util.List getBgpPeerOrBuilderList(); /** + * + * *
    * BGP peers.
    * 
* * repeated .google.cloud.edgenetwork.v1.Router.BgpPeer bgp_peer = 8; */ - com.google.cloud.edgenetwork.v1.Router.BgpPeerOrBuilder getBgpPeerOrBuilder( - int index); + com.google.cloud.edgenetwork.v1.Router.BgpPeerOrBuilder getBgpPeerOrBuilder(int index); /** + * + * *
    * BGP information specific to this router.
    * 
* * .google.cloud.edgenetwork.v1.Router.Bgp bgp = 9; + * * @return Whether the bgp field is set. */ boolean hasBgp(); /** + * + * *
    * BGP information specific to this router.
    * 
* * .google.cloud.edgenetwork.v1.Router.Bgp bgp = 9; + * * @return The bgp. */ com.google.cloud.edgenetwork.v1.Router.Bgp getBgp(); /** + * + * *
    * BGP information specific to this router.
    * 
@@ -298,66 +383,90 @@ com.google.cloud.edgenetwork.v1.Router.BgpPeerOrBuilder getBgpPeerOrBuilder( com.google.cloud.edgenetwork.v1.Router.BgpOrBuilder getBgpOrBuilder(); /** + * + * *
    * Output only. Current stage of the resource to the device by config push.
    * 
* - * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. Current stage of the resource to the device by config push.
    * 
* - * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.edgenetwork.v1.ResourceState getState(); /** + * + * *
    * Optional. A list of CIDRs in IP/Length format to advertise northbound as
    * static routes from this router.
    * 
* - * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the routeAdvertisements. */ - java.util.List - getRouteAdvertisementsList(); + java.util.List getRouteAdvertisementsList(); /** + * + * *
    * Optional. A list of CIDRs in IP/Length format to advertise northbound as
    * static routes from this router.
    * 
* - * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of routeAdvertisements. */ int getRouteAdvertisementsCount(); /** + * + * *
    * Optional. A list of CIDRs in IP/Length format to advertise northbound as
    * static routes from this router.
    * 
* - * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The routeAdvertisements at the given index. */ java.lang.String getRouteAdvertisements(int index); /** + * + * *
    * Optional. A list of CIDRs in IP/Length format to advertise northbound as
    * static routes from this router.
    * 
* - * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the routeAdvertisements at the given index. */ - com.google.protobuf.ByteString - getRouteAdvertisementsBytes(int index); + com.google.protobuf.ByteString getRouteAdvertisementsBytes(int index); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/RouterStatus.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/RouterStatus.java similarity index 72% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/RouterStatus.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/RouterStatus.java index 0fb250510a9e..5b5130c0ce53 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/RouterStatus.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/RouterStatus.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/resources.proto @@ -5,21 +20,24 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Describing the current status of a router.
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.RouterStatus} */ -public final class RouterStatus extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RouterStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.RouterStatus) RouterStatusOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RouterStatus.newBuilder() to construct. private RouterStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RouterStatus() { network_ = ""; bgpPeerStatus_ = java.util.Collections.emptyList(); @@ -27,128 +45,158 @@ private RouterStatus() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RouterStatus(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_RouterStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_RouterStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_RouterStatus_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_RouterStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.RouterStatus.class, com.google.cloud.edgenetwork.v1.RouterStatus.Builder.class); + com.google.cloud.edgenetwork.v1.RouterStatus.class, + com.google.cloud.edgenetwork.v1.RouterStatus.Builder.class); } - public interface BgpPeerStatusOrBuilder extends + public interface BgpPeerStatusOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Name of this BGP peer. Unique within the Routers resource.
      * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Name of this BGP peer. Unique within the Routers resource.
      * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * IP address of the local BGP interface.
      * 
* * string ip_address = 2; + * * @return The ipAddress. */ java.lang.String getIpAddress(); /** + * + * *
      * IP address of the local BGP interface.
      * 
* * string ip_address = 2; + * * @return The bytes for ipAddress. */ - com.google.protobuf.ByteString - getIpAddressBytes(); + com.google.protobuf.ByteString getIpAddressBytes(); /** + * + * *
      * IP address of the remote BGP interface.
      * 
* * string peer_ip_address = 3; + * * @return The peerIpAddress. */ java.lang.String getPeerIpAddress(); /** + * + * *
      * IP address of the remote BGP interface.
      * 
* * string peer_ip_address = 3; + * * @return The bytes for peerIpAddress. */ - com.google.protobuf.ByteString - getPeerIpAddressBytes(); + com.google.protobuf.ByteString getPeerIpAddressBytes(); /** + * + * *
      * The current status of BGP.
      * 
* * .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus status = 4; + * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** + * + * *
      * The current status of BGP.
      * 
* * .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus status = 4; + * * @return The status. */ com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus getStatus(); /** + * + * *
      * BGP state as specified in RFC1771.
      * 
* * string state = 5; + * * @return The state. */ java.lang.String getState(); /** + * + * *
      * BGP state as specified in RFC1771.
      * 
* * string state = 5; + * * @return The bytes for state. */ - com.google.protobuf.ByteString - getStateBytes(); + com.google.protobuf.ByteString getStateBytes(); /** + * + * *
      * Time this session has been up.
      * Format:
@@ -156,10 +204,13 @@ public interface BgpPeerStatusOrBuilder extends
      * 
* * string uptime = 6; + * * @return The uptime. */ java.lang.String getUptime(); /** + * + * *
      * Time this session has been up.
      * Format:
@@ -167,40 +218,51 @@ public interface BgpPeerStatusOrBuilder extends
      * 
* * string uptime = 6; + * * @return The bytes for uptime. */ - com.google.protobuf.ByteString - getUptimeBytes(); + com.google.protobuf.ByteString getUptimeBytes(); /** + * + * *
      * Time this session has been up, in seconds.
      * 
* * int64 uptime_seconds = 7; + * * @return The uptimeSeconds. */ long getUptimeSeconds(); /** + * + * *
      * A collection of counts for prefixes.
      * 
* * .google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter prefix_counter = 8; + * * @return Whether the prefixCounter field is set. */ boolean hasPrefixCounter(); /** + * + * *
      * A collection of counts for prefixes.
      * 
* * .google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter prefix_counter = 8; + * * @return The prefixCounter. */ com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter getPrefixCounter(); /** + * + * *
      * A collection of counts for prefixes.
      * 
@@ -210,21 +272,24 @@ public interface BgpPeerStatusOrBuilder extends com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounterOrBuilder getPrefixCounterOrBuilder(); } /** + * + * *
    * Status of a BGP peer.
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus} */ - public static final class BgpPeerStatus extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class BgpPeerStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus) BgpPeerStatusOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BgpPeerStatus.newBuilder() to construct. private BgpPeerStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BgpPeerStatus() { name_ = ""; ipAddress_ = ""; @@ -236,34 +301,38 @@ private BgpPeerStatus() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BgpPeerStatus(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_RouterStatus_BgpPeerStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_RouterStatus_BgpPeerStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_RouterStatus_BgpPeerStatus_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_RouterStatus_BgpPeerStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.class, com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.Builder.class); + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.class, + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.Builder.class); } /** + * + * *
      * Status of the BGP peer: {UP, DOWN}
      * 
* * Protobuf enum {@code google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus} */ - public enum BgpStatus - implements com.google.protobuf.ProtocolMessageEnum { + public enum BgpStatus implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * The default status indicating BGP session is in unknown state.
        * 
@@ -272,6 +341,8 @@ public enum BgpStatus */ UNKNOWN(0), /** + * + * *
        * The UP status indicating BGP session is established.
        * 
@@ -280,6 +351,8 @@ public enum BgpStatus */ UP(1), /** + * + * *
        * The DOWN state indicating BGP session is not established yet.
        * 
@@ -291,6 +364,8 @@ public enum BgpStatus ; /** + * + * *
        * The default status indicating BGP session is in unknown state.
        * 
@@ -299,6 +374,8 @@ public enum BgpStatus */ public static final int UNKNOWN_VALUE = 0; /** + * + * *
        * The UP status indicating BGP session is established.
        * 
@@ -307,6 +384,8 @@ public enum BgpStatus */ public static final int UP_VALUE = 1; /** + * + * *
        * The DOWN state indicating BGP session is not established yet.
        * 
@@ -315,7 +394,6 @@ public enum BgpStatus */ public static final int DOWN_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -340,49 +418,51 @@ public static BgpStatus valueOf(int value) { */ public static BgpStatus forNumber(int value) { switch (value) { - case 0: return UNKNOWN; - case 1: return UP; - case 2: return DOWN; - default: return null; + case 0: + return UNKNOWN; + case 1: + return UP; + case 2: + return DOWN; + 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< - BgpStatus> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public BgpStatus findValueByNumber(int number) { - return BgpStatus.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 BgpStatus findValueByNumber(int number) { + return BgpStatus.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.edgenetwork.v1.RouterStatus.BgpPeerStatus.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.getDescriptor() + .getEnumTypes() + .get(0); } private static final BgpStatus[] VALUES = values(); - public static BgpStatus valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static BgpStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -401,14 +481,18 @@ private BgpStatus(int value) { private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
      * Name of this BGP peer. Unique within the Routers resource.
      * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -417,29 +501,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Name of this BGP peer. Unique within the Routers resource.
      * 
* * 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 { @@ -448,14 +532,18 @@ public java.lang.String getName() { } public static final int IP_ADDRESS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object ipAddress_ = ""; /** + * + * *
      * IP address of the local BGP interface.
      * 
* * string ip_address = 2; + * * @return The ipAddress. */ @java.lang.Override @@ -464,29 +552,29 @@ public java.lang.String getIpAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; } } /** + * + * *
      * IP address of the local BGP interface.
      * 
* * string ip_address = 2; + * * @return The bytes for ipAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getIpAddressBytes() { + public com.google.protobuf.ByteString getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -495,14 +583,18 @@ public java.lang.String getIpAddress() { } public static final int PEER_IP_ADDRESS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object peerIpAddress_ = ""; /** + * + * *
      * IP address of the remote BGP interface.
      * 
* * string peer_ip_address = 3; + * * @return The peerIpAddress. */ @java.lang.Override @@ -511,29 +603,29 @@ public java.lang.String getPeerIpAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peerIpAddress_ = s; return s; } } /** + * + * *
      * IP address of the remote BGP interface.
      * 
* * string peer_ip_address = 3; + * * @return The bytes for peerIpAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getPeerIpAddressBytes() { + public com.google.protobuf.ByteString getPeerIpAddressBytes() { java.lang.Object ref = peerIpAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); peerIpAddress_ = b; return b; } else { @@ -544,38 +636,53 @@ public java.lang.String getPeerIpAddress() { public static final int STATUS_FIELD_NUMBER = 4; private int status_ = 0; /** + * + * *
      * The current status of BGP.
      * 
* * .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus status = 4; + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
      * The current status of BGP.
      * 
* * .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus status = 4; + * * @return The status. */ - @java.lang.Override public com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus getStatus() { - com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus result = com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus.forNumber(status_); - return result == null ? com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus getStatus() { + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus result = + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus.forNumber(status_); + return result == null + ? com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus.UNRECOGNIZED + : result; } public static final int STATE_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object state_ = ""; /** + * + * *
      * BGP state as specified in RFC1771.
      * 
* * string state = 5; + * * @return The state. */ @java.lang.Override @@ -584,29 +691,29 @@ public java.lang.String getState() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); state_ = s; return s; } } /** + * + * *
      * BGP state as specified in RFC1771.
      * 
* * string state = 5; + * * @return The bytes for state. */ @java.lang.Override - public com.google.protobuf.ByteString - getStateBytes() { + public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); state_ = b; return b; } else { @@ -615,9 +722,12 @@ public java.lang.String getState() { } public static final int UPTIME_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object uptime_ = ""; /** + * + * *
      * Time this session has been up.
      * Format:
@@ -625,6 +735,7 @@ public java.lang.String getState() {
      * 
* * string uptime = 6; + * * @return The uptime. */ @java.lang.Override @@ -633,14 +744,15 @@ public java.lang.String getUptime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uptime_ = s; return s; } } /** + * + * *
      * Time this session has been up.
      * Format:
@@ -648,16 +760,15 @@ public java.lang.String getUptime() {
      * 
* * string uptime = 6; + * * @return The bytes for uptime. */ @java.lang.Override - public com.google.protobuf.ByteString - getUptimeBytes() { + public com.google.protobuf.ByteString getUptimeBytes() { java.lang.Object ref = uptime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uptime_ = b; return b; } else { @@ -668,11 +779,14 @@ public java.lang.String getUptime() { public static final int UPTIME_SECONDS_FIELD_NUMBER = 7; private long uptimeSeconds_ = 0L; /** + * + * *
      * Time this session has been up, in seconds.
      * 
* * int64 uptime_seconds = 7; + * * @return The uptimeSeconds. */ @java.lang.Override @@ -683,11 +797,14 @@ public long getUptimeSeconds() { public static final int PREFIX_COUNTER_FIELD_NUMBER = 8; private com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter prefixCounter_; /** + * + * *
      * A collection of counts for prefixes.
      * 
* * .google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter prefix_counter = 8; + * * @return Whether the prefixCounter field is set. */ @java.lang.Override @@ -695,18 +812,25 @@ public boolean hasPrefixCounter() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * A collection of counts for prefixes.
      * 
* * .google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter prefix_counter = 8; + * * @return The prefixCounter. */ @java.lang.Override public com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter getPrefixCounter() { - return prefixCounter_ == null ? com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.getDefaultInstance() : prefixCounter_; + return prefixCounter_ == null + ? com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.getDefaultInstance() + : prefixCounter_; } /** + * + * *
      * A collection of counts for prefixes.
      * 
@@ -714,11 +838,15 @@ public com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter getPrefixCount * .google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter prefix_counter = 8; */ @java.lang.Override - public com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounterOrBuilder getPrefixCounterOrBuilder() { - return prefixCounter_ == null ? com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.getDefaultInstance() : prefixCounter_; + public com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounterOrBuilder + getPrefixCounterOrBuilder() { + return prefixCounter_ == null + ? com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.getDefaultInstance() + : prefixCounter_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -730,8 +858,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -741,7 +868,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(peerIpAddress_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, peerIpAddress_); } - if (status_ != com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus.UNKNOWN.getNumber()) { + if (status_ + != com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus.UNKNOWN + .getNumber()) { output.writeEnum(4, status_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(state_)) { @@ -774,9 +903,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(peerIpAddress_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, peerIpAddress_); } - if (status_ != com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, status_); + if (status_ + != com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus.UNKNOWN + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, status_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(state_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, state_); @@ -785,12 +915,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, uptime_); } if (uptimeSeconds_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(7, uptimeSeconds_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, uptimeSeconds_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getPrefixCounter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getPrefixCounter()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -800,30 +928,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.edgenetwork.v1.RouterStatus.BgpPeerStatus)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus other = (com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus) obj; + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus other = + (com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getIpAddress() - .equals(other.getIpAddress())) return false; - if (!getPeerIpAddress() - .equals(other.getPeerIpAddress())) return false; + if (!getName().equals(other.getName())) return false; + if (!getIpAddress().equals(other.getIpAddress())) return false; + if (!getPeerIpAddress().equals(other.getPeerIpAddress())) return false; if (status_ != other.status_) return false; - if (!getState() - .equals(other.getState())) return false; - if (!getUptime() - .equals(other.getUptime())) return false; - if (getUptimeSeconds() - != other.getUptimeSeconds()) return false; + if (!getState().equals(other.getState())) return false; + if (!getUptime().equals(other.getUptime())) return false; + if (getUptimeSeconds() != other.getUptimeSeconds()) return false; if (hasPrefixCounter() != other.hasPrefixCounter()) return false; if (hasPrefixCounter()) { - if (!getPrefixCounter() - .equals(other.getPrefixCounter())) return false; + if (!getPrefixCounter().equals(other.getPrefixCounter())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -849,8 +971,7 @@ public int hashCode() { hash = (37 * hash) + UPTIME_FIELD_NUMBER; hash = (53 * hash) + getUptime().hashCode(); hash = (37 * hash) + UPTIME_SECONDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getUptimeSeconds()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUptimeSeconds()); if (hasPrefixCounter()) { hash = (37 * hash) + PREFIX_COUNTER_FIELD_NUMBER; hash = (53 * hash) + getPrefixCounter().hashCode(); @@ -861,89 +982,94 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus prototype) { + + public static Builder newBuilder( + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -953,27 +1079,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Status of a BGP peer.
      * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus) com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_RouterStatus_BgpPeerStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_RouterStatus_BgpPeerStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_RouterStatus_BgpPeerStatus_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_RouterStatus_BgpPeerStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.class, com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.Builder.class); + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.class, + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.newBuilder() @@ -981,17 +1112,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPrefixCounterFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1012,13 +1143,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_RouterStatus_BgpPeerStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_RouterStatus_BgpPeerStatus_descriptor; } @java.lang.Override - public com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus getDefaultInstanceForType() { + public com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus + getDefaultInstanceForType() { return com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.getDefaultInstance(); } @@ -1033,13 +1165,17 @@ public com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus buildPartial() { - com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus result = new com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus result = + new com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus result) { + private void buildPartial0( + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -1064,9 +1200,8 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerS } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000080) != 0)) { - result.prefixCounter_ = prefixCounterBuilder_ == null - ? prefixCounter_ - : prefixCounterBuilder_.build(); + result.prefixCounter_ = + prefixCounterBuilder_ == null ? prefixCounter_ : prefixCounterBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -1076,38 +1211,41 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerS public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.edgenetwork.v1.RouterStatus.BgpPeerStatus) { - return mergeFrom((com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus) other); } else { super.mergeFrom(other); return this; @@ -1115,7 +1253,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus other) { - if (other == com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.getDefaultInstance()) return this; + if (other + == com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1176,54 +1316,61 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - ipAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - peerIpAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - status_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: { - state_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - uptime_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 56: { - uptimeSeconds_ = input.readInt64(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 66: { - input.readMessage( - getPrefixCounterFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + ipAddress_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + peerIpAddress_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + status_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + state_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + uptime_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 56: + { + uptimeSeconds_ = input.readInt64(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 66: + { + input.readMessage(getPrefixCounterFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 66 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1233,22 +1380,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
        * Name of this BGP peer. Unique within the Routers resource.
        * 
* * 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; @@ -1257,20 +1407,21 @@ public java.lang.String getName() { } } /** + * + * *
        * Name of this BGP peer. Unique within the Routers resource.
        * 
* * 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 { @@ -1278,28 +1429,35 @@ public java.lang.String getName() { } } /** + * + * *
        * Name of this BGP peer. Unique within the Routers resource.
        * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Name of this BGP peer. Unique within the Routers resource.
        * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1309,17 +1467,21 @@ public Builder clearName() { return this; } /** + * + * *
        * Name of this BGP peer. Unique within the Routers resource.
        * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1329,18 +1491,20 @@ public Builder setNameBytes( private java.lang.Object ipAddress_ = ""; /** + * + * *
        * IP address of the local BGP interface.
        * 
* * string ip_address = 2; + * * @return The ipAddress. */ public java.lang.String getIpAddress() { java.lang.Object ref = ipAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; @@ -1349,20 +1513,21 @@ public java.lang.String getIpAddress() { } } /** + * + * *
        * IP address of the local BGP interface.
        * 
* * string ip_address = 2; + * * @return The bytes for ipAddress. */ - public com.google.protobuf.ByteString - getIpAddressBytes() { + public com.google.protobuf.ByteString getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -1370,28 +1535,35 @@ public java.lang.String getIpAddress() { } } /** + * + * *
        * IP address of the local BGP interface.
        * 
* * string ip_address = 2; + * * @param value The ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddress( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIpAddress(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ipAddress_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * IP address of the local BGP interface.
        * 
* * string ip_address = 2; + * * @return This builder for chaining. */ public Builder clearIpAddress() { @@ -1401,17 +1573,21 @@ public Builder clearIpAddress() { return this; } /** + * + * *
        * IP address of the local BGP interface.
        * 
* * string ip_address = 2; + * * @param value The bytes for ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddressBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ipAddress_ = value; bitField0_ |= 0x00000002; @@ -1421,18 +1597,20 @@ public Builder setIpAddressBytes( private java.lang.Object peerIpAddress_ = ""; /** + * + * *
        * IP address of the remote BGP interface.
        * 
* * string peer_ip_address = 3; + * * @return The peerIpAddress. */ public java.lang.String getPeerIpAddress() { java.lang.Object ref = peerIpAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peerIpAddress_ = s; return s; @@ -1441,20 +1619,21 @@ public java.lang.String getPeerIpAddress() { } } /** + * + * *
        * IP address of the remote BGP interface.
        * 
* * string peer_ip_address = 3; + * * @return The bytes for peerIpAddress. */ - public com.google.protobuf.ByteString - getPeerIpAddressBytes() { + public com.google.protobuf.ByteString getPeerIpAddressBytes() { java.lang.Object ref = peerIpAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); peerIpAddress_ = b; return b; } else { @@ -1462,28 +1641,35 @@ public java.lang.String getPeerIpAddress() { } } /** + * + * *
        * IP address of the remote BGP interface.
        * 
* * string peer_ip_address = 3; + * * @param value The peerIpAddress to set. * @return This builder for chaining. */ - public Builder setPeerIpAddress( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPeerIpAddress(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } peerIpAddress_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * IP address of the remote BGP interface.
        * 
* * string peer_ip_address = 3; + * * @return This builder for chaining. */ public Builder clearPeerIpAddress() { @@ -1493,17 +1679,21 @@ public Builder clearPeerIpAddress() { return this; } /** + * + * *
        * IP address of the remote BGP interface.
        * 
* * string peer_ip_address = 3; + * * @param value The bytes for peerIpAddress to set. * @return This builder for chaining. */ - public Builder setPeerIpAddressBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPeerIpAddressBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); peerIpAddress_ = value; bitField0_ |= 0x00000004; @@ -1513,22 +1703,29 @@ public Builder setPeerIpAddressBytes( private int status_ = 0; /** + * + * *
        * The current status of BGP.
        * 
* * .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus status = 4; + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
        * The current status of BGP.
        * 
* * .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus status = 4; + * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ @@ -1539,28 +1736,38 @@ public Builder setStatusValue(int value) { return this; } /** + * + * *
        * The current status of BGP.
        * 
* * .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus status = 4; + * * @return The status. */ @java.lang.Override public com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus getStatus() { - com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus result = com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus.forNumber(status_); - return result == null ? com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus.UNRECOGNIZED : result; + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus result = + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus.forNumber(status_); + return result == null + ? com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus.UNRECOGNIZED + : result; } /** + * + * *
        * The current status of BGP.
        * 
* * .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus status = 4; + * * @param value The status to set. * @return This builder for chaining. */ - public Builder setStatus(com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus value) { + public Builder setStatus( + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus value) { if (value == null) { throw new NullPointerException(); } @@ -1570,11 +1777,14 @@ public Builder setStatus(com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerSta return this; } /** + * + * *
        * The current status of BGP.
        * 
* * .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus status = 4; + * * @return This builder for chaining. */ public Builder clearStatus() { @@ -1586,18 +1796,20 @@ public Builder clearStatus() { private java.lang.Object state_ = ""; /** + * + * *
        * BGP state as specified in RFC1771.
        * 
* * string state = 5; + * * @return The state. */ public java.lang.String getState() { java.lang.Object ref = state_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); state_ = s; return s; @@ -1606,20 +1818,21 @@ public java.lang.String getState() { } } /** + * + * *
        * BGP state as specified in RFC1771.
        * 
* * string state = 5; + * * @return The bytes for state. */ - public com.google.protobuf.ByteString - getStateBytes() { + public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); state_ = b; return b; } else { @@ -1627,28 +1840,35 @@ public java.lang.String getState() { } } /** + * + * *
        * BGP state as specified in RFC1771.
        * 
* * string state = 5; + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setState(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } state_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
        * BGP state as specified in RFC1771.
        * 
* * string state = 5; + * * @return This builder for chaining. */ public Builder clearState() { @@ -1658,17 +1878,21 @@ public Builder clearState() { return this; } /** + * + * *
        * BGP state as specified in RFC1771.
        * 
* * string state = 5; + * * @param value The bytes for state to set. * @return This builder for chaining. */ - public Builder setStateBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStateBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); state_ = value; bitField0_ |= 0x00000010; @@ -1678,6 +1902,8 @@ public Builder setStateBytes( private java.lang.Object uptime_ = ""; /** + * + * *
        * Time this session has been up.
        * Format:
@@ -1685,13 +1911,13 @@ public Builder setStateBytes(
        * 
* * string uptime = 6; + * * @return The uptime. */ public java.lang.String getUptime() { java.lang.Object ref = uptime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uptime_ = s; return s; @@ -1700,6 +1926,8 @@ public java.lang.String getUptime() { } } /** + * + * *
        * Time this session has been up.
        * Format:
@@ -1707,15 +1935,14 @@ public java.lang.String getUptime() {
        * 
* * string uptime = 6; + * * @return The bytes for uptime. */ - public com.google.protobuf.ByteString - getUptimeBytes() { + public com.google.protobuf.ByteString getUptimeBytes() { java.lang.Object ref = uptime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uptime_ = b; return b; } else { @@ -1723,6 +1950,8 @@ public java.lang.String getUptime() { } } /** + * + * *
        * Time this session has been up.
        * Format:
@@ -1730,18 +1959,22 @@ public java.lang.String getUptime() {
        * 
* * string uptime = 6; + * * @param value The uptime to set. * @return This builder for chaining. */ - public Builder setUptime( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUptime(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uptime_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
        * Time this session has been up.
        * Format:
@@ -1749,6 +1982,7 @@ public Builder setUptime(
        * 
* * string uptime = 6; + * * @return This builder for chaining. */ public Builder clearUptime() { @@ -1758,6 +1992,8 @@ public Builder clearUptime() { return this; } /** + * + * *
        * Time this session has been up.
        * Format:
@@ -1765,12 +2001,14 @@ public Builder clearUptime() {
        * 
* * string uptime = 6; + * * @param value The bytes for uptime to set. * @return This builder for chaining. */ - public Builder setUptimeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUptimeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uptime_ = value; bitField0_ |= 0x00000020; @@ -1778,13 +2016,16 @@ public Builder setUptimeBytes( return this; } - private long uptimeSeconds_ ; + private long uptimeSeconds_; /** + * + * *
        * Time this session has been up, in seconds.
        * 
* * int64 uptime_seconds = 7; + * * @return The uptimeSeconds. */ @java.lang.Override @@ -1792,11 +2033,14 @@ public long getUptimeSeconds() { return uptimeSeconds_; } /** + * + * *
        * Time this session has been up, in seconds.
        * 
* * int64 uptime_seconds = 7; + * * @param value The uptimeSeconds to set. * @return This builder for chaining. */ @@ -1808,11 +2052,14 @@ public Builder setUptimeSeconds(long value) { return this; } /** + * + * *
        * Time this session has been up, in seconds.
        * 
* * int64 uptime_seconds = 7; + * * @return This builder for chaining. */ public Builder clearUptimeSeconds() { @@ -1824,41 +2071,55 @@ public Builder clearUptimeSeconds() { private com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter prefixCounter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter, com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.Builder, com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounterOrBuilder> prefixCounterBuilder_; + com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter, + com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.Builder, + com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounterOrBuilder> + prefixCounterBuilder_; /** + * + * *
        * A collection of counts for prefixes.
        * 
* * .google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter prefix_counter = 8; + * * @return Whether the prefixCounter field is set. */ public boolean hasPrefixCounter() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
        * A collection of counts for prefixes.
        * 
* * .google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter prefix_counter = 8; + * * @return The prefixCounter. */ public com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter getPrefixCounter() { if (prefixCounterBuilder_ == null) { - return prefixCounter_ == null ? com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.getDefaultInstance() : prefixCounter_; + return prefixCounter_ == null + ? com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.getDefaultInstance() + : prefixCounter_; } else { return prefixCounterBuilder_.getMessage(); } } /** + * + * *
        * A collection of counts for prefixes.
        * 
* * .google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter prefix_counter = 8; */ - public Builder setPrefixCounter(com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter value) { + public Builder setPrefixCounter( + com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter value) { if (prefixCounterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1872,6 +2133,8 @@ public Builder setPrefixCounter(com.google.cloud.edgenetwork.v1.RouterStatus.Pre return this; } /** + * + * *
        * A collection of counts for prefixes.
        * 
@@ -1890,17 +2153,22 @@ public Builder setPrefixCounter( return this; } /** + * + * *
        * A collection of counts for prefixes.
        * 
* * .google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter prefix_counter = 8; */ - public Builder mergePrefixCounter(com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter value) { + public Builder mergePrefixCounter( + com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter value) { if (prefixCounterBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - prefixCounter_ != null && - prefixCounter_ != com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && prefixCounter_ != null + && prefixCounter_ + != com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter + .getDefaultInstance()) { getPrefixCounterBuilder().mergeFrom(value); } else { prefixCounter_ = value; @@ -1915,6 +2183,8 @@ public Builder mergePrefixCounter(com.google.cloud.edgenetwork.v1.RouterStatus.P return this; } /** + * + * *
        * A collection of counts for prefixes.
        * 
@@ -1932,33 +2202,42 @@ public Builder clearPrefixCounter() { return this; } /** + * + * *
        * A collection of counts for prefixes.
        * 
* * .google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter prefix_counter = 8; */ - public com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.Builder getPrefixCounterBuilder() { + public com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.Builder + getPrefixCounterBuilder() { bitField0_ |= 0x00000080; onChanged(); return getPrefixCounterFieldBuilder().getBuilder(); } /** + * + * *
        * A collection of counts for prefixes.
        * 
* * .google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter prefix_counter = 8; */ - public com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounterOrBuilder getPrefixCounterOrBuilder() { + public com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounterOrBuilder + getPrefixCounterOrBuilder() { if (prefixCounterBuilder_ != null) { return prefixCounterBuilder_.getMessageOrBuilder(); } else { - return prefixCounter_ == null ? - com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.getDefaultInstance() : prefixCounter_; + return prefixCounter_ == null + ? com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.getDefaultInstance() + : prefixCounter_; } } /** + * + * *
        * A collection of counts for prefixes.
        * 
@@ -1966,18 +2245,22 @@ public com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounterOrBuilder getPr * .google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter prefix_counter = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter, com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.Builder, com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounterOrBuilder> + com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter, + com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.Builder, + com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounterOrBuilder> getPrefixCounterFieldBuilder() { if (prefixCounterBuilder_ == null) { - prefixCounterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter, com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.Builder, com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounterOrBuilder>( - getPrefixCounter(), - getParentForChildren(), - isClean()); + prefixCounterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter, + com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.Builder, + com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounterOrBuilder>( + getPrefixCounter(), getParentForChildren(), isClean()); prefixCounter_ = null; } return prefixCounterBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1990,12 +2273,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus) - private static final com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus DEFAULT_INSTANCE; + private static final com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus(); } @@ -2004,27 +2288,28 @@ public static com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BgpPeerStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BgpPeerStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2039,120 +2324,144 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PrefixCounterOrBuilder extends + public interface PrefixCounterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Number of prefixes advertised.
      * 
* * int64 advertised = 1; + * * @return The advertised. */ long getAdvertised(); /** + * + * *
      * Number of prefixes denied.
      * 
* * int64 denied = 2; + * * @return The denied. */ long getDenied(); /** + * + * *
      * Number of prefixes received.
      * 
* * int64 received = 3; + * * @return The received. */ long getReceived(); /** + * + * *
      * Number of prefixes sent.
      * 
* * int64 sent = 4; + * * @return The sent. */ long getSent(); /** + * + * *
      * Number of prefixes suppressed.
      * 
* * int64 suppressed = 5; + * * @return The suppressed. */ long getSuppressed(); /** + * + * *
      * Number of prefixes withdrawn.
      * 
* * int64 withdrawn = 6; + * * @return The withdrawn. */ long getWithdrawn(); } /** + * + * *
    * PrefixCounter contains a collection of prefixes related counts.
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter} */ - public static final class PrefixCounter extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class PrefixCounter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter) PrefixCounterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PrefixCounter.newBuilder() to construct. private PrefixCounter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PrefixCounter() { - } + + private PrefixCounter() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PrefixCounter(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_RouterStatus_PrefixCounter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_RouterStatus_PrefixCounter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_RouterStatus_PrefixCounter_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_RouterStatus_PrefixCounter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.class, com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.Builder.class); + com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.class, + com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.Builder.class); } public static final int ADVERTISED_FIELD_NUMBER = 1; private long advertised_ = 0L; /** + * + * *
      * Number of prefixes advertised.
      * 
* * int64 advertised = 1; + * * @return The advertised. */ @java.lang.Override @@ -2163,11 +2472,14 @@ public long getAdvertised() { public static final int DENIED_FIELD_NUMBER = 2; private long denied_ = 0L; /** + * + * *
      * Number of prefixes denied.
      * 
* * int64 denied = 2; + * * @return The denied. */ @java.lang.Override @@ -2178,11 +2490,14 @@ public long getDenied() { public static final int RECEIVED_FIELD_NUMBER = 3; private long received_ = 0L; /** + * + * *
      * Number of prefixes received.
      * 
* * int64 received = 3; + * * @return The received. */ @java.lang.Override @@ -2193,11 +2508,14 @@ public long getReceived() { public static final int SENT_FIELD_NUMBER = 4; private long sent_ = 0L; /** + * + * *
      * Number of prefixes sent.
      * 
* * int64 sent = 4; + * * @return The sent. */ @java.lang.Override @@ -2208,11 +2526,14 @@ public long getSent() { public static final int SUPPRESSED_FIELD_NUMBER = 5; private long suppressed_ = 0L; /** + * + * *
      * Number of prefixes suppressed.
      * 
* * int64 suppressed = 5; + * * @return The suppressed. */ @java.lang.Override @@ -2223,11 +2544,14 @@ public long getSuppressed() { public static final int WITHDRAWN_FIELD_NUMBER = 6; private long withdrawn_ = 0L; /** + * + * *
      * Number of prefixes withdrawn.
      * 
* * int64 withdrawn = 6; + * * @return The withdrawn. */ @java.lang.Override @@ -2236,6 +2560,7 @@ public long getWithdrawn() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2247,8 +2572,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 (advertised_ != 0L) { output.writeInt64(1, advertised_); } @@ -2277,28 +2601,22 @@ public int getSerializedSize() { size = 0; if (advertised_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, advertised_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, advertised_); } if (denied_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, denied_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, denied_); } if (received_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, received_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, received_); } if (sent_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, sent_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, sent_); } if (suppressed_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(5, suppressed_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, suppressed_); } if (withdrawn_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(6, withdrawn_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, withdrawn_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2308,25 +2626,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.edgenetwork.v1.RouterStatus.PrefixCounter)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter other = (com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter) obj; - - if (getAdvertised() - != other.getAdvertised()) return false; - if (getDenied() - != other.getDenied()) return false; - if (getReceived() - != other.getReceived()) return false; - if (getSent() - != other.getSent()) return false; - if (getSuppressed() - != other.getSuppressed()) return false; - if (getWithdrawn() - != other.getWithdrawn()) return false; + com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter other = + (com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter) obj; + + if (getAdvertised() != other.getAdvertised()) return false; + if (getDenied() != other.getDenied()) return false; + if (getReceived() != other.getReceived()) return false; + if (getSent() != other.getSent()) return false; + if (getSuppressed() != other.getSuppressed()) return false; + if (getWithdrawn() != other.getWithdrawn()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2339,112 +2652,111 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ADVERTISED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getAdvertised()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAdvertised()); hash = (37 * hash) + DENIED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getDenied()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDenied()); hash = (37 * hash) + RECEIVED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getReceived()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getReceived()); hash = (37 * hash) + SENT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getSent()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSent()); hash = (37 * hash) + SUPPRESSED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getSuppressed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSuppressed()); hash = (37 * hash) + WITHDRAWN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getWithdrawn()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getWithdrawn()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter prototype) { + + public static Builder newBuilder( + com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2454,39 +2766,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * PrefixCounter contains a collection of prefixes related counts.
      * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter) com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_RouterStatus_PrefixCounter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_RouterStatus_PrefixCounter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_RouterStatus_PrefixCounter_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_RouterStatus_PrefixCounter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.class, com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.Builder.class); + com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.class, + com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2501,13 +2815,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_RouterStatus_PrefixCounter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_RouterStatus_PrefixCounter_descriptor; } @java.lang.Override - public com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter getDefaultInstanceForType() { + public com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter + getDefaultInstanceForType() { return com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.getDefaultInstance(); } @@ -2522,13 +2837,17 @@ public com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter buildPartial() { - com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter result = new com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter result = + new com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter result) { + private void buildPartial0( + com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.advertised_ = advertised_; @@ -2554,38 +2873,41 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.edgenetwork.v1.RouterStatus.PrefixCounter) { - return mergeFrom((com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter) other); } else { super.mergeFrom(other); return this; @@ -2593,7 +2915,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter other) { - if (other == com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.getDefaultInstance()) return this; + if (other + == com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter.getDefaultInstance()) + return this; if (other.getAdvertised() != 0L) { setAdvertised(other.getAdvertised()); } @@ -2638,42 +2962,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - advertised_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - denied_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - received_ = input.readInt64(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: { - sent_ = input.readInt64(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - suppressed_ = input.readInt64(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: { - withdrawn_ = input.readInt64(); - bitField0_ |= 0x00000020; - break; - } // case 48 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + advertised_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + denied_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + received_ = input.readInt64(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + sent_ = input.readInt64(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + suppressed_ = input.readInt64(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: + { + withdrawn_ = input.readInt64(); + bitField0_ |= 0x00000020; + break; + } // case 48 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2683,15 +3014,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long advertised_ ; + private long advertised_; /** + * + * *
        * Number of prefixes advertised.
        * 
* * int64 advertised = 1; + * * @return The advertised. */ @java.lang.Override @@ -2699,11 +3034,14 @@ public long getAdvertised() { return advertised_; } /** + * + * *
        * Number of prefixes advertised.
        * 
* * int64 advertised = 1; + * * @param value The advertised to set. * @return This builder for chaining. */ @@ -2715,11 +3053,14 @@ public Builder setAdvertised(long value) { return this; } /** + * + * *
        * Number of prefixes advertised.
        * 
* * int64 advertised = 1; + * * @return This builder for chaining. */ public Builder clearAdvertised() { @@ -2729,13 +3070,16 @@ public Builder clearAdvertised() { return this; } - private long denied_ ; + private long denied_; /** + * + * *
        * Number of prefixes denied.
        * 
* * int64 denied = 2; + * * @return The denied. */ @java.lang.Override @@ -2743,11 +3087,14 @@ public long getDenied() { return denied_; } /** + * + * *
        * Number of prefixes denied.
        * 
* * int64 denied = 2; + * * @param value The denied to set. * @return This builder for chaining. */ @@ -2759,11 +3106,14 @@ public Builder setDenied(long value) { return this; } /** + * + * *
        * Number of prefixes denied.
        * 
* * int64 denied = 2; + * * @return This builder for chaining. */ public Builder clearDenied() { @@ -2773,13 +3123,16 @@ public Builder clearDenied() { return this; } - private long received_ ; + private long received_; /** + * + * *
        * Number of prefixes received.
        * 
* * int64 received = 3; + * * @return The received. */ @java.lang.Override @@ -2787,11 +3140,14 @@ public long getReceived() { return received_; } /** + * + * *
        * Number of prefixes received.
        * 
* * int64 received = 3; + * * @param value The received to set. * @return This builder for chaining. */ @@ -2803,11 +3159,14 @@ public Builder setReceived(long value) { return this; } /** + * + * *
        * Number of prefixes received.
        * 
* * int64 received = 3; + * * @return This builder for chaining. */ public Builder clearReceived() { @@ -2817,13 +3176,16 @@ public Builder clearReceived() { return this; } - private long sent_ ; + private long sent_; /** + * + * *
        * Number of prefixes sent.
        * 
* * int64 sent = 4; + * * @return The sent. */ @java.lang.Override @@ -2831,11 +3193,14 @@ public long getSent() { return sent_; } /** + * + * *
        * Number of prefixes sent.
        * 
* * int64 sent = 4; + * * @param value The sent to set. * @return This builder for chaining. */ @@ -2847,11 +3212,14 @@ public Builder setSent(long value) { return this; } /** + * + * *
        * Number of prefixes sent.
        * 
* * int64 sent = 4; + * * @return This builder for chaining. */ public Builder clearSent() { @@ -2861,13 +3229,16 @@ public Builder clearSent() { return this; } - private long suppressed_ ; + private long suppressed_; /** + * + * *
        * Number of prefixes suppressed.
        * 
* * int64 suppressed = 5; + * * @return The suppressed. */ @java.lang.Override @@ -2875,11 +3246,14 @@ public long getSuppressed() { return suppressed_; } /** + * + * *
        * Number of prefixes suppressed.
        * 
* * int64 suppressed = 5; + * * @param value The suppressed to set. * @return This builder for chaining. */ @@ -2891,11 +3265,14 @@ public Builder setSuppressed(long value) { return this; } /** + * + * *
        * Number of prefixes suppressed.
        * 
* * int64 suppressed = 5; + * * @return This builder for chaining. */ public Builder clearSuppressed() { @@ -2905,13 +3282,16 @@ public Builder clearSuppressed() { return this; } - private long withdrawn_ ; + private long withdrawn_; /** + * + * *
        * Number of prefixes withdrawn.
        * 
* * int64 withdrawn = 6; + * * @return The withdrawn. */ @java.lang.Override @@ -2919,11 +3299,14 @@ public long getWithdrawn() { return withdrawn_; } /** + * + * *
        * Number of prefixes withdrawn.
        * 
* * int64 withdrawn = 6; + * * @param value The withdrawn to set. * @return This builder for chaining. */ @@ -2935,11 +3318,14 @@ public Builder setWithdrawn(long value) { return this; } /** + * + * *
        * Number of prefixes withdrawn.
        * 
* * int64 withdrawn = 6; + * * @return This builder for chaining. */ public Builder clearWithdrawn() { @@ -2948,6 +3334,7 @@ public Builder clearWithdrawn() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2960,12 +3347,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter) - private static final com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter DEFAULT_INSTANCE; + private static final com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter(); } @@ -2974,27 +3362,28 @@ public static com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrefixCounter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrefixCounter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3009,18 +3398,21 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NETWORK_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object network_ = ""; /** + * + * *
    * The canonical name of the network to which this router belongs.
    * 
* * string network = 1 [(.google.api.resource_reference) = { ... } + * * @return The network. */ @java.lang.Override @@ -3029,29 +3421,29 @@ 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; } } /** + * + * *
    * The canonical name of the network to which this router belongs.
    * 
* * string network = 1 [(.google.api.resource_reference) = { ... } + * * @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 { @@ -3060,72 +3452,91 @@ public java.lang.String getNetwork() { } public static final int BGP_PEER_STATUS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List bgpPeerStatus_; /** + * + * *
    * A list of BgpPeerStatus objects, describing all BGP peers related to this
    * router.
    * 
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ @java.lang.Override - public java.util.List getBgpPeerStatusList() { + public java.util.List + getBgpPeerStatusList() { return bgpPeerStatus_; } /** + * + * *
    * A list of BgpPeerStatus objects, describing all BGP peers related to this
    * router.
    * 
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatusOrBuilder> getBgpPeerStatusOrBuilderList() { return bgpPeerStatus_; } /** + * + * *
    * A list of BgpPeerStatus objects, describing all BGP peers related to this
    * router.
    * 
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ @java.lang.Override public int getBgpPeerStatusCount() { return bgpPeerStatus_.size(); } /** + * + * *
    * A list of BgpPeerStatus objects, describing all BGP peers related to this
    * router.
    * 
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ @java.lang.Override public com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus getBgpPeerStatus(int index) { return bgpPeerStatus_.get(index); } /** + * + * *
    * A list of BgpPeerStatus objects, describing all BGP peers related to this
    * router.
    * 
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ @java.lang.Override - public com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatusOrBuilder getBgpPeerStatusOrBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatusOrBuilder + getBgpPeerStatusOrBuilder(int index) { return bgpPeerStatus_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3137,8 +3548,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, network_); } @@ -3158,8 +3568,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, network_); } for (int i = 0; i < bgpPeerStatus_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, bgpPeerStatus_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, bgpPeerStatus_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3169,17 +3578,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.edgenetwork.v1.RouterStatus)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.RouterStatus other = (com.google.cloud.edgenetwork.v1.RouterStatus) obj; + com.google.cloud.edgenetwork.v1.RouterStatus other = + (com.google.cloud.edgenetwork.v1.RouterStatus) obj; - if (!getNetwork() - .equals(other.getNetwork())) return false; - if (!getBgpPeerStatusList() - .equals(other.getBgpPeerStatusList())) return false; + if (!getNetwork().equals(other.getNetwork())) return false; + if (!getBgpPeerStatusList().equals(other.getBgpPeerStatusList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3202,132 +3610,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.edgenetwork.v1.RouterStatus parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.edgenetwork.v1.RouterStatus parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.RouterStatus parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.RouterStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.RouterStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.RouterStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.RouterStatus parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.RouterStatus parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.RouterStatus parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.RouterStatus parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.RouterStatus parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.RouterStatus parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.RouterStatus parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.RouterStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.RouterStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Describing the current status of a router.
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.RouterStatus} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.RouterStatus) com.google.cloud.edgenetwork.v1.RouterStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_RouterStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_RouterStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_RouterStatus_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_RouterStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.RouterStatus.class, com.google.cloud.edgenetwork.v1.RouterStatus.Builder.class); + com.google.cloud.edgenetwork.v1.RouterStatus.class, + com.google.cloud.edgenetwork.v1.RouterStatus.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.RouterStatus.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3344,9 +3756,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_RouterStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_RouterStatus_descriptor; } @java.lang.Override @@ -3365,9 +3777,12 @@ public com.google.cloud.edgenetwork.v1.RouterStatus build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.RouterStatus buildPartial() { - com.google.cloud.edgenetwork.v1.RouterStatus result = new com.google.cloud.edgenetwork.v1.RouterStatus(this); + com.google.cloud.edgenetwork.v1.RouterStatus result = + new com.google.cloud.edgenetwork.v1.RouterStatus(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -3395,38 +3810,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.RouterStatus result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.RouterStatus) { - return mergeFrom((com.google.cloud.edgenetwork.v1.RouterStatus)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.RouterStatus) other); } else { super.mergeFrom(other); return this; @@ -3458,9 +3874,10 @@ public Builder mergeFrom(com.google.cloud.edgenetwork.v1.RouterStatus other) { bgpPeerStatusBuilder_ = null; bgpPeerStatus_ = other.bgpPeerStatus_; bitField0_ = (bitField0_ & ~0x00000002); - bgpPeerStatusBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getBgpPeerStatusFieldBuilder() : null; + bgpPeerStatusBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getBgpPeerStatusFieldBuilder() + : null; } else { bgpPeerStatusBuilder_.addAllMessages(other.bgpPeerStatus_); } @@ -3492,30 +3909,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - network_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus m = - input.readMessage( - com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.parser(), - extensionRegistry); - if (bgpPeerStatusBuilder_ == null) { - ensureBgpPeerStatusIsMutable(); - bgpPeerStatus_.add(m); - } else { - bgpPeerStatusBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + network_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus m = + input.readMessage( + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.parser(), + extensionRegistry); + if (bgpPeerStatusBuilder_ == null) { + ensureBgpPeerStatusIsMutable(); + bgpPeerStatus_.add(m); + } else { + bgpPeerStatusBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3525,22 +3945,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object network_ = ""; /** + * + * *
      * The canonical name of the network to which this router belongs.
      * 
* * string network = 1 [(.google.api.resource_reference) = { ... } + * * @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; @@ -3549,20 +3972,21 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * The canonical name of the network to which this router belongs.
      * 
* * string network = 1 [(.google.api.resource_reference) = { ... } + * * @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 { @@ -3570,28 +3994,35 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * The canonical name of the network to which this router belongs.
      * 
* * string network = 1 [(.google.api.resource_reference) = { ... } + * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetwork(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } network_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The canonical name of the network to which this router belongs.
      * 
* * string network = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearNetwork() { @@ -3601,17 +4032,21 @@ public Builder clearNetwork() { return this; } /** + * + * *
      * The canonical name of the network to which this router belongs.
      * 
* * string network = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); network_ = value; bitField0_ |= 0x00000001; @@ -3619,27 +4054,37 @@ public Builder setNetworkBytes( return this; } - private java.util.List bgpPeerStatus_ = - java.util.Collections.emptyList(); + private java.util.List + bgpPeerStatus_ = java.util.Collections.emptyList(); + private void ensureBgpPeerStatusIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - bgpPeerStatus_ = new java.util.ArrayList(bgpPeerStatus_); + bgpPeerStatus_ = + new java.util.ArrayList( + bgpPeerStatus_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus, com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.Builder, com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatusOrBuilder> bgpPeerStatusBuilder_; + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus, + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.Builder, + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatusOrBuilder> + bgpPeerStatusBuilder_; /** + * + * *
      * A list of BgpPeerStatus objects, describing all BGP peers related to this
      * router.
      * 
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ - public java.util.List getBgpPeerStatusList() { + public java.util.List + getBgpPeerStatusList() { if (bgpPeerStatusBuilder_ == null) { return java.util.Collections.unmodifiableList(bgpPeerStatus_); } else { @@ -3647,12 +4092,15 @@ public java.util.List * A list of BgpPeerStatus objects, describing all BGP peers related to this * router. *
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ public int getBgpPeerStatusCount() { if (bgpPeerStatusBuilder_ == null) { @@ -3662,12 +4110,15 @@ public int getBgpPeerStatusCount() { } } /** + * + * *
      * A list of BgpPeerStatus objects, describing all BGP peers related to this
      * router.
      * 
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ public com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus getBgpPeerStatus(int index) { if (bgpPeerStatusBuilder_ == null) { @@ -3677,12 +4128,15 @@ public com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus getBgpPeerStat } } /** + * + * *
      * A list of BgpPeerStatus objects, describing all BGP peers related to this
      * router.
      * 
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ public Builder setBgpPeerStatus( int index, com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus value) { @@ -3699,15 +4153,19 @@ public Builder setBgpPeerStatus( return this; } /** + * + * *
      * A list of BgpPeerStatus objects, describing all BGP peers related to this
      * router.
      * 
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ public Builder setBgpPeerStatus( - int index, com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.Builder builderForValue) { + int index, + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.Builder builderForValue) { if (bgpPeerStatusBuilder_ == null) { ensureBgpPeerStatusIsMutable(); bgpPeerStatus_.set(index, builderForValue.build()); @@ -3718,14 +4176,18 @@ public Builder setBgpPeerStatus( return this; } /** + * + * *
      * A list of BgpPeerStatus objects, describing all BGP peers related to this
      * router.
      * 
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ - public Builder addBgpPeerStatus(com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus value) { + public Builder addBgpPeerStatus( + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus value) { if (bgpPeerStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3739,12 +4201,15 @@ public Builder addBgpPeerStatus(com.google.cloud.edgenetwork.v1.RouterStatus.Bgp return this; } /** + * + * *
      * A list of BgpPeerStatus objects, describing all BGP peers related to this
      * router.
      * 
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ public Builder addBgpPeerStatus( int index, com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus value) { @@ -3761,12 +4226,15 @@ public Builder addBgpPeerStatus( return this; } /** + * + * *
      * A list of BgpPeerStatus objects, describing all BGP peers related to this
      * router.
      * 
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ public Builder addBgpPeerStatus( com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.Builder builderForValue) { @@ -3780,15 +4248,19 @@ public Builder addBgpPeerStatus( return this; } /** + * + * *
      * A list of BgpPeerStatus objects, describing all BGP peers related to this
      * router.
      * 
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ public Builder addBgpPeerStatus( - int index, com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.Builder builderForValue) { + int index, + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.Builder builderForValue) { if (bgpPeerStatusBuilder_ == null) { ensureBgpPeerStatusIsMutable(); bgpPeerStatus_.add(index, builderForValue.build()); @@ -3799,19 +4271,22 @@ public Builder addBgpPeerStatus( return this; } /** + * + * *
      * A list of BgpPeerStatus objects, describing all BGP peers related to this
      * router.
      * 
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ public Builder addAllBgpPeerStatus( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (bgpPeerStatusBuilder_ == null) { ensureBgpPeerStatusIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, bgpPeerStatus_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, bgpPeerStatus_); onChanged(); } else { bgpPeerStatusBuilder_.addAllMessages(values); @@ -3819,12 +4294,15 @@ public Builder addAllBgpPeerStatus( return this; } /** + * + * *
      * A list of BgpPeerStatus objects, describing all BGP peers related to this
      * router.
      * 
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ public Builder clearBgpPeerStatus() { if (bgpPeerStatusBuilder_ == null) { @@ -3837,12 +4315,15 @@ public Builder clearBgpPeerStatus() { return this; } /** + * + * *
      * A list of BgpPeerStatus objects, describing all BGP peers related to this
      * router.
      * 
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ public Builder removeBgpPeerStatus(int index) { if (bgpPeerStatusBuilder_ == null) { @@ -3855,42 +4336,53 @@ public Builder removeBgpPeerStatus(int index) { return this; } /** + * + * *
      * A list of BgpPeerStatus objects, describing all BGP peers related to this
      * router.
      * 
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ - public com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.Builder getBgpPeerStatusBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.Builder + getBgpPeerStatusBuilder(int index) { return getBgpPeerStatusFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of BgpPeerStatus objects, describing all BGP peers related to this
      * router.
      * 
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ - public com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatusOrBuilder getBgpPeerStatusOrBuilder( - int index) { + public com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatusOrBuilder + getBgpPeerStatusOrBuilder(int index) { if (bgpPeerStatusBuilder_ == null) { - return bgpPeerStatus_.get(index); } else { + return bgpPeerStatus_.get(index); + } else { return bgpPeerStatusBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of BgpPeerStatus objects, describing all BGP peers related to this
      * router.
      * 
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ - public java.util.List - getBgpPeerStatusOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatusOrBuilder> + getBgpPeerStatusOrBuilderList() { if (bgpPeerStatusBuilder_ != null) { return bgpPeerStatusBuilder_.getMessageOrBuilderList(); } else { @@ -3898,48 +4390,67 @@ public com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatusOrBuilder getBg } } /** + * + * *
      * A list of BgpPeerStatus objects, describing all BGP peers related to this
      * router.
      * 
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ - public com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.Builder addBgpPeerStatusBuilder() { - return getBgpPeerStatusFieldBuilder().addBuilder( - com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.getDefaultInstance()); + public com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.Builder + addBgpPeerStatusBuilder() { + return getBgpPeerStatusFieldBuilder() + .addBuilder( + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.getDefaultInstance()); } /** + * + * *
      * A list of BgpPeerStatus objects, describing all BGP peers related to this
      * router.
      * 
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ - public com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.Builder addBgpPeerStatusBuilder( - int index) { - return getBgpPeerStatusFieldBuilder().addBuilder( - index, com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.getDefaultInstance()); + public com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.Builder + addBgpPeerStatusBuilder(int index) { + return getBgpPeerStatusFieldBuilder() + .addBuilder( + index, + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.getDefaultInstance()); } /** + * + * *
      * A list of BgpPeerStatus objects, describing all BGP peers related to this
      * router.
      * 
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ - public java.util.List - getBgpPeerStatusBuilderList() { + public java.util.List + getBgpPeerStatusBuilderList() { return getBgpPeerStatusFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus, com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.Builder, com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatusOrBuilder> + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus, + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.Builder, + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatusOrBuilder> getBgpPeerStatusFieldBuilder() { if (bgpPeerStatusBuilder_ == null) { - bgpPeerStatusBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus, com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.Builder, com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatusOrBuilder>( + bgpPeerStatusBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus, + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.Builder, + com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatusOrBuilder>( bgpPeerStatus_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -3948,9 +4459,9 @@ public com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.Builder addBgp } return bgpPeerStatusBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3960,12 +4471,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.RouterStatus) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.RouterStatus) private static final com.google.cloud.edgenetwork.v1.RouterStatus DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.RouterStatus(); } @@ -3974,27 +4485,27 @@ public static com.google.cloud.edgenetwork.v1.RouterStatus getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouterStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RouterStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4009,6 +4520,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.RouterStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/RouterStatusOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/RouterStatusOrBuilder.java similarity index 67% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/RouterStatusOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/RouterStatusOrBuilder.java index 8291b0781d5a..6028a7b20b30 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/RouterStatusOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/RouterStatusOrBuilder.java @@ -1,78 +1,113 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/resources.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface RouterStatusOrBuilder extends +public interface RouterStatusOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.RouterStatus) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The canonical name of the network to which this router belongs.
    * 
* * string network = 1 [(.google.api.resource_reference) = { ... } + * * @return The network. */ java.lang.String getNetwork(); /** + * + * *
    * The canonical name of the network to which this router belongs.
    * 
* * string network = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for network. */ - com.google.protobuf.ByteString - getNetworkBytes(); + com.google.protobuf.ByteString getNetworkBytes(); /** + * + * *
    * A list of BgpPeerStatus objects, describing all BGP peers related to this
    * router.
    * 
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ - java.util.List - getBgpPeerStatusList(); + java.util.List getBgpPeerStatusList(); /** + * + * *
    * A list of BgpPeerStatus objects, describing all BGP peers related to this
    * router.
    * 
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus getBgpPeerStatus(int index); /** + * + * *
    * A list of BgpPeerStatus objects, describing all BGP peers related to this
    * router.
    * 
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ int getBgpPeerStatusCount(); /** + * + * *
    * A list of BgpPeerStatus objects, describing all BGP peers related to this
    * router.
    * 
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ - java.util.List + java.util.List getBgpPeerStatusOrBuilderList(); /** + * + * *
    * A list of BgpPeerStatus objects, describing all BGP peers related to this
    * router.
    * 
* - * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; + * */ com.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatusOrBuilder getBgpPeerStatusOrBuilder( int index); diff --git a/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ServiceProto.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ServiceProto.java new file mode 100644 index 000000000000..75f1a5162760 --- /dev/null +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ServiceProto.java @@ -0,0 +1,825 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/edgenetwork/v1/service.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.edgenetwork.v1; + +public final class ServiceProto { + private ServiceProto() {} + + 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_edgenetwork_v1_ListZonesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_ListZonesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_ListZonesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_ListZonesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_GetZoneRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_GetZoneRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_ListNetworksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_ListNetworksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_ListNetworksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_ListNetworksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_GetNetworkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_GetNetworkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_CreateNetworkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_CreateNetworkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_DeleteNetworkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_DeleteNetworkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_ListSubnetsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_ListSubnetsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_ListSubnetsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_ListSubnetsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_GetSubnetRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_GetSubnetRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_CreateSubnetRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_CreateSubnetRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_UpdateSubnetRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_UpdateSubnetRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_DeleteSubnetRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_DeleteSubnetRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_ListInterconnectsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_ListInterconnectsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_ListInterconnectsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_ListInterconnectsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_GetInterconnectRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_GetInterconnectRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_GetInterconnectAttachmentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_GetInterconnectAttachmentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_CreateInterconnectAttachmentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_CreateInterconnectAttachmentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_DeleteInterconnectAttachmentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_DeleteInterconnectAttachmentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_ListRoutersRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_ListRoutersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_ListRoutersResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_ListRoutersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_GetRouterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_GetRouterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_CreateRouterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_CreateRouterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_UpdateRouterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_UpdateRouterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_DeleteRouterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_DeleteRouterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_OperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_NetworkStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_NetworkStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_InitializeZoneRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_InitializeZoneRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgenetwork_v1_InitializeZoneResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgenetwork_v1_InitializeZoneResponse_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/edgenetwork/v1/service.pr" + + "oto\022\033google.cloud.edgenetwork.v1\032\034google" + + "/api/annotations.proto\032\027google/api/clien" + + "t.proto\032\037google/api/field_behavior.proto" + + "\032\031google/api/resource.proto\032+google/clou" + + "d/edgenetwork/v1/resources.proto\032#google" + + "/longrunning/operations.proto\032\033google/pr" + + "otobuf/empty.proto\032 google/protobuf/fiel" + + "d_mask.proto\032\037google/protobuf/timestamp." + + "proto\"\230\001\n\020ListZonesRequest\0227\n\006parent\030\001 \001" + + "(\tB\'\340A\002\372A!\022\037edgenetwork.googleapis.com/Z" + + "one\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001" + + "(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t:\002\030\001" + + "\"w\n\021ListZonesResponse\0220\n\005zones\030\001 \003(\0132!.g" + + "oogle.cloud.edgenetwork.v1.Zone\022\027\n\017next_" + + "page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t:\002\030" + + "\001\"K\n\016GetZoneRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A" + + "!\n\037edgenetwork.googleapis.com/Zone:\002\030\001\"\232" + + "\001\n\023ListNetworksRequest\022:\n\006parent\030\001 \001(\tB*" + + "\340A\002\372A$\022\"edgenetwork.googleapis.com/Netwo" + + "rk\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(" + + "\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"|\n\024L" + + "istNetworksResponse\0226\n\010networks\030\001 \003(\0132$." + + "google.cloud.edgenetwork.v1.Network\022\027\n\017n" + + "ext_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(" + + "\t\"M\n\021GetNetworkRequest\0228\n\004name\030\001 \001(\tB*\340A" + + "\002\372A$\n\"edgenetwork.googleapis.com/Network" + + "\"\300\001\n\024CreateNetworkRequest\022:\n\006parent\030\001 \001(" + + "\tB*\340A\002\372A$\022\"edgenetwork.googleapis.com/Ne" + + "twork\022\027\n\nnetwork_id\030\002 \001(\tB\003\340A\002\022:\n\007networ" + + "k\030\003 \001(\0132$.google.cloud.edgenetwork.v1.Ne" + + "tworkB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\"i\n\024D" + + "eleteNetworkRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A" + + "$\n\"edgenetwork.googleapis.com/Network\022\027\n" + + "\nrequest_id\030\002 \001(\tB\003\340A\001\"\230\001\n\022ListSubnetsRe" + + "quest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!edgenetwo" + + "rk.googleapis.com/Subnet\022\021\n\tpage_size\030\002 " + + "\001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022" + + "\020\n\010order_by\030\005 \001(\t\"y\n\023ListSubnetsResponse" + + "\0224\n\007subnets\030\001 \003(\0132#.google.cloud.edgenet" + + "work.v1.Subnet\022\027\n\017next_page_token\030\002 \001(\t\022" + + "\023\n\013unreachable\030\003 \003(\t\"K\n\020GetSubnetRequest" + + "\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!edgenetwork.goog" + + "leapis.com/Subnet\"\273\001\n\023CreateSubnetReques" + + "t\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!edgenetwork.g" + + "oogleapis.com/Subnet\022\026\n\tsubnet_id\030\002 \001(\tB" + + "\003\340A\002\0228\n\006subnet\030\003 \001(\0132#.google.cloud.edge" + + "network.v1.SubnetB\003\340A\002\022\027\n\nrequest_id\030\004 \001" + + "(\tB\003\340A\001\"\236\001\n\023UpdateSubnetRequest\0224\n\013updat" + + "e_mask\030\001 \001(\0132\032.google.protobuf.FieldMask" + + "B\003\340A\002\0228\n\006subnet\030\002 \001(\0132#.google.cloud.edg" + + "enetwork.v1.SubnetB\003\340A\002\022\027\n\nrequest_id\030\003 " + + "\001(\tB\003\340A\001\"g\n\023DeleteSubnetRequest\0227\n\004name\030" + + "\001 \001(\tB)\340A\002\372A#\n!edgenetwork.googleapis.co" + + "m/Subnet\022\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\"\244\001\n\030Li" + + "stInterconnectsRequest\022?\n\006parent\030\001 \001(\tB/" + + "\340A\002\372A)\022\'edgenetwork.googleapis.com/Inter" + + "connect\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token" + + "\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t" + + "\"\213\001\n\031ListInterconnectsResponse\022@\n\rinterc" + + "onnects\030\001 \003(\0132).google.cloud.edgenetwork" + + ".v1.Interconnect\022\027\n\017next_page_token\030\002 \001(" + + "\t\022\023\n\013unreachable\030\003 \003(\t\"W\n\026GetInterconnec" + + "tRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'edgenetw" + + "ork.googleapis.com/Interconnect\"\270\001\n\"List" + + "InterconnectAttachmentsRequest\022I\n\006parent" + + "\030\001 \001(\tB9\340A\002\372A3\0221edgenetwork.googleapis.c" + + "om/InterconnectAttachment\022\021\n\tpage_size\030\002" + + " \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t" + + "\022\020\n\010order_by\030\005 \001(\t\"\252\001\n#ListInterconnectA" + + "ttachmentsResponse\022U\n\030interconnect_attac" + + "hments\030\001 \003(\01323.google.cloud.edgenetwork." + + "v1.InterconnectAttachment\022\027\n\017next_page_t" + + "oken\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"k\n GetIn" + + "terconnectAttachmentRequest\022G\n\004name\030\001 \001(" + + "\tB9\340A\002\372A3\n1edgenetwork.googleapis.com/In" + + "terconnectAttachment\"\215\002\n#CreateInterconn" + + "ectAttachmentRequest\022I\n\006parent\030\001 \001(\tB9\340A" + + "\002\372A3\0221edgenetwork.googleapis.com/Interco" + + "nnectAttachment\022\'\n\032interconnect_attachme" + + "nt_id\030\002 \001(\tB\003\340A\002\022Y\n\027interconnect_attachm" + + "ent\030\003 \001(\01323.google.cloud.edgenetwork.v1." + + "InterconnectAttachmentB\003\340A\002\022\027\n\nrequest_i" + + "d\030\004 \001(\tB\003\340A\001\"\207\001\n#DeleteInterconnectAttac" + + "hmentRequest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1edge" + + "network.googleapis.com/InterconnectAttac" + + "hment\022\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\"\230\001\n\022ListR" + + "outersRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!e" + + "dgenetwork.googleapis.com/Router\022\021\n\tpage" + + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filte" + + "r\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"y\n\023ListRouters" + + "Response\0224\n\007routers\030\001 \003(\0132#.google.cloud" + + ".edgenetwork.v1.Router\022\027\n\017next_page_toke" + + "n\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"K\n\020GetRoute" + + "rRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!edgenetw" + + "ork.googleapis.com/Router\"\273\001\n\023CreateRout" + + "erRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!edgen" + + "etwork.googleapis.com/Router\022\026\n\trouter_i" + + "d\030\002 \001(\tB\003\340A\002\0228\n\006router\030\003 \001(\0132#.google.cl" + + "oud.edgenetwork.v1.RouterB\003\340A\002\022\027\n\nreques" + + "t_id\030\004 \001(\tB\003\340A\001\"\236\001\n\023UpdateRouterRequest\022" + + "4\n\013update_mask\030\001 \001(\0132\032.google.protobuf.F" + + "ieldMaskB\003\340A\002\0228\n\006router\030\002 \001(\0132#.google.c" + + "loud.edgenetwork.v1.RouterB\003\340A\002\022\027\n\nreque" + + "st_id\030\003 \001(\tB\003\340A\001\"g\n\023DeleteRouterRequest\022" + + "7\n\004name\030\001 \001(\tB)\340A\002\372A#\n!edgenetwork.googl" + + "eapis.com/Router\022\027\n\nrequest_id\030\002 \001(\tB\003\340A" + + "\001\"\200\002\n\021OperationMetadata\0224\n\013create_time\030\001" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221\n" + + "\010end_time\030\002 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\022\023\n\006target\030\003 \001(\tB\003\340A\003\022\021\n\004verb\030\004 " + + "\001(\tB\003\340A\003\022\033\n\016status_message\030\005 \001(\tB\003\340A\003\022#\n" + + "\026requested_cancellation\030\006 \001(\010B\003\340A\003\022\030\n\013ap" + + "i_version\030\007 \001(\tB\003\340A\003\"R\n\026DiagnoseNetworkR" + + "equest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"edgenetwor" + + "k.googleapis.com/Network\"\262\003\n\027DiagnoseNet" + + "workResponse\022/\n\013update_time\030\001 \001(\0132\032.goog" + + "le.protobuf.Timestamp\022R\n\006result\030\002 \001(\0132B." + + "google.cloud.edgenetwork.v1.DiagnoseNetw" + + "orkResponse.NetworkStatus\032\221\002\n\rNetworkSta" + + "tus\022@\n\rsubnet_status\030\001 \003(\0132).google.clou" + + "d.edgenetwork.v1.SubnetStatus\022u\n\034macsec_" + + "status_internal_links\030\002 \001(\0162O.google.clo" + + "ud.edgenetwork.v1.DiagnoseNetworkRespons" + + "e.NetworkStatus.MacsecStatus\"G\n\014MacsecSt" + + "atus\022\035\n\031MACSEC_STATUS_UNSPECIFIED\020\000\022\n\n\006S" + + "ECURE\020\001\022\014\n\010UNSECURE\020\002\"\\\n\033DiagnoseInterco" + + "nnectRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'edge" + + "network.googleapis.com/Interconnect\"\225\001\n\034" + + "DiagnoseInterconnectResponse\022/\n\013update_t" + + "ime\030\001 \001(\0132\032.google.protobuf.Timestamp\022D\n" + + "\006result\030\002 \001(\01324.google.cloud.edgenetwork" + + ".v1.InterconnectDiagnostics\"P\n\025DiagnoseR" + + "outerRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!edge" + + "network.googleapis.com/Router\"\204\001\n\026Diagno" + + "seRouterResponse\022/\n\013update_time\030\001 \001(\0132\032." + + "google.protobuf.Timestamp\0229\n\006result\030\002 \001(" + + "\0132).google.cloud.edgenetwork.v1.RouterSt" + + "atus\"N\n\025InitializeZoneRequest\0225\n\004name\030\001 " + + "\001(\tB\'\340A\002\372A!\n\037edgenetwork.googleapis.com/" + + "Zone\"\030\n\026InitializeZoneResponse2\251+\n\013EdgeN" + + "etwork\022\301\001\n\016InitializeZone\0222.google.cloud" + + ".edgenetwork.v1.InitializeZoneRequest\0323." + + "google.cloud.edgenetwork.v1.InitializeZo" + + "neResponse\"F\332A\004name\202\323\344\223\0029\"4/v1/{name=pro" + + "jects/*/locations/*/zones/*}:initialize:" + + "\001*\022\251\001\n\tListZones\022-.google.cloud.edgenetw" + + "ork.v1.ListZonesRequest\032..google.cloud.e" + + "dgenetwork.v1.ListZonesResponse\"=\210\002\001\332A\006p" + + "arent\202\323\344\223\002+\022)/v1/{parent=projects/*/loca" + + "tions/*}/zones\022\226\001\n\007GetZone\022+.google.clou" + + "d.edgenetwork.v1.GetZoneRequest\032!.google" + + ".cloud.edgenetwork.v1.Zone\";\210\002\001\332A\004name\202\323" + + "\344\223\002+\022)/v1/{name=projects/*/locations/*/z" + + "ones/*}\022\272\001\n\014ListNetworks\0220.google.cloud." + + "edgenetwork.v1.ListNetworksRequest\0321.goo" + + "gle.cloud.edgenetwork.v1.ListNetworksRes" + + "ponse\"E\332A\006parent\202\323\344\223\0026\0224/v1/{parent=proj" + + "ects/*/locations/*/zones/*}/networks\022\247\001\n" + + "\nGetNetwork\022..google.cloud.edgenetwork.v" + + "1.GetNetworkRequest\032$.google.cloud.edgen" + + "etwork.v1.Network\"C\332A\004name\202\323\344\223\0026\0224/v1/{n" + + "ame=projects/*/locations/*/zones/*/netwo" + + "rks/*}\022\312\001\n\017DiagnoseNetwork\0223.google.clou" + + "d.edgenetwork.v1.DiagnoseNetworkRequest\032" + + "4.google.cloud.edgenetwork.v1.DiagnoseNe" + + "tworkResponse\"L\332A\004name\202\323\344\223\002?\022=/v1/{name=" + + "projects/*/locations/*/zones/*/networks/" + + "*}:diagnose\022\344\001\n\rCreateNetwork\0221.google.c" + + "loud.edgenetwork.v1.CreateNetworkRequest" + + "\032\035.google.longrunning.Operation\"\200\001\312A\034\n\007N" + + "etwork\022\021OperationMetadata\332A\031parent,netwo" + + "rk,network_id\202\323\344\223\002?\"4/v1/{parent=project" + + "s/*/locations/*/zones/*}/networks:\007netwo" + + "rk\022\323\001\n\rDeleteNetwork\0221.google.cloud.edge" + + "network.v1.DeleteNetworkRequest\032\035.google" + + ".longrunning.Operation\"p\312A*\n\025google.prot" + + "obuf.Empty\022\021OperationMetadata\332A\004name\202\323\344\223" + + "\0026*4/v1/{name=projects/*/locations/*/zon" + + "es/*/networks/*}\022\266\001\n\013ListSubnets\022/.googl" + + "e.cloud.edgenetwork.v1.ListSubnetsReques" + + "t\0320.google.cloud.edgenetwork.v1.ListSubn" + + "etsResponse\"D\332A\006parent\202\323\344\223\0025\0223/v1/{paren" + + "t=projects/*/locations/*/zones/*}/subnet" + + "s\022\243\001\n\tGetSubnet\022-.google.cloud.edgenetwo" + + "rk.v1.GetSubnetRequest\032#.google.cloud.ed" + + "genetwork.v1.Subnet\"B\332A\004name\202\323\344\223\0025\0223/v1/" + + "{name=projects/*/locations/*/zones/*/sub" + + "nets/*}\022\334\001\n\014CreateSubnet\0220.google.cloud." + + "edgenetwork.v1.CreateSubnetRequest\032\035.goo" + + "gle.longrunning.Operation\"{\312A\033\n\006Subnet\022\021" + + "OperationMetadata\332A\027parent,subnet,subnet" + + "_id\202\323\344\223\002=\"3/v1/{parent=projects/*/locati" + + "ons/*/zones/*}/subnets:\006subnet\022\336\001\n\014Updat" + + "eSubnet\0220.google.cloud.edgenetwork.v1.Up" + + "dateSubnetRequest\032\035.google.longrunning.O" + + "peration\"}\312A\033\n\006Subnet\022\021OperationMetadata" + + "\332A\022subnet,update_mask\202\323\344\223\002D2:/v1/{subnet" + + ".name=projects/*/locations/*/zones/*/sub" + + "nets/*}:\006subnet\022\320\001\n\014DeleteSubnet\0220.googl" + + "e.cloud.edgenetwork.v1.DeleteSubnetReque" + + "st\032\035.google.longrunning.Operation\"o\312A*\n\025" + + "google.protobuf.Empty\022\021OperationMetadata" + + "\332A\004name\202\323\344\223\0025*3/v1/{name=projects/*/loca" + + "tions/*/zones/*/subnets/*}\022\316\001\n\021ListInter" + + "connects\0225.google.cloud.edgenetwork.v1.L" + + "istInterconnectsRequest\0326.google.cloud.e" + + "dgenetwork.v1.ListInterconnectsResponse\"" + + "J\332A\006parent\202\323\344\223\002;\0229/v1/{parent=projects/*" + + "/locations/*/zones/*}/interconnects\022\273\001\n\017" + + "GetInterconnect\0223.google.cloud.edgenetwo" + + "rk.v1.GetInterconnectRequest\032).google.cl" + + "oud.edgenetwork.v1.Interconnect\"H\332A\004name" + + "\202\323\344\223\002;\0229/v1/{name=projects/*/locations/*" + + "/zones/*/interconnects/*}\022\336\001\n\024DiagnoseIn" + + "terconnect\0228.google.cloud.edgenetwork.v1" + + ".DiagnoseInterconnectRequest\0329.google.cl" + + "oud.edgenetwork.v1.DiagnoseInterconnectR" + + "esponse\"Q\332A\004name\202\323\344\223\002D\022B/v1/{name=projec" + + "ts/*/locations/*/zones/*/interconnects/*" + + "}:diagnose\022\366\001\n\033ListInterconnectAttachmen" + + "ts\022?.google.cloud.edgenetwork.v1.ListInt" + + "erconnectAttachmentsRequest\032@.google.clo" + + "ud.edgenetwork.v1.ListInterconnectAttach" + + "mentsResponse\"T\332A\006parent\202\323\344\223\002E\022C/v1/{par" + + "ent=projects/*/locations/*/zones/*}/inte" + + "rconnectAttachments\022\343\001\n\031GetInterconnectA" + + "ttachment\022=.google.cloud.edgenetwork.v1." + + "GetInterconnectAttachmentRequest\0323.googl" + + "e.cloud.edgenetwork.v1.InterconnectAttac" + + "hment\"R\332A\004name\202\323\344\223\002E\022C/v1/{name=projects" + + "/*/locations/*/zones/*/interconnectAttac" + + "hments/*}\022\320\002\n\034CreateInterconnectAttachme" + + "nt\022@.google.cloud.edgenetwork.v1.CreateI" + + "nterconnectAttachmentRequest\032\035.google.lo" + + "ngrunning.Operation\"\316\001\312A+\n\026InterconnectA" + + "ttachment\022\021OperationMetadata\332A9parent,in" + + "terconnect_attachment,interconnect_attac" + + "hment_id\202\323\344\223\002^\"C/v1/{parent=projects/*/l" + + "ocations/*/zones/*}/interconnectAttachme" + + "nts:\027interconnect_attachment\022\200\002\n\034DeleteI" + + "nterconnectAttachment\022@.google.cloud.edg" + + "enetwork.v1.DeleteInterconnectAttachment" + + "Request\032\035.google.longrunning.Operation\"\177" + + "\312A*\n\025google.protobuf.Empty\022\021OperationMet" + + "adata\332A\004name\202\323\344\223\002E*C/v1/{name=projects/*" + + "/locations/*/zones/*/interconnectAttachm" + + "ents/*}\022\266\001\n\013ListRouters\022/.google.cloud.e" + + "dgenetwork.v1.ListRoutersRequest\0320.googl" + + "e.cloud.edgenetwork.v1.ListRoutersRespon" + + "se\"D\332A\006parent\202\323\344\223\0025\0223/v1/{parent=project" + + "s/*/locations/*/zones/*}/routers\022\243\001\n\tGet" + + "Router\022-.google.cloud.edgenetwork.v1.Get" + + "RouterRequest\032#.google.cloud.edgenetwork" + + ".v1.Router\"B\332A\004name\202\323\344\223\0025\0223/v1/{name=pro" + + "jects/*/locations/*/zones/*/routers/*}\022\306" + + "\001\n\016DiagnoseRouter\0222.google.cloud.edgenet" + + "work.v1.DiagnoseRouterRequest\0323.google.c" + + "loud.edgenetwork.v1.DiagnoseRouterRespon" + + "se\"K\332A\004name\202\323\344\223\002>\022 * Message describing Subnet object *
* * Protobuf type {@code google.cloud.edgenetwork.v1.Subnet} */ -public final class Subnet extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Subnet extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.Subnet) SubnetOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Subnet.newBuilder() to construct. private Subnet(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Subnet() { name_ = ""; description_ = ""; network_ = ""; - ipv4Cidr_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - ipv6Cidr_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + ipv4Cidr_ = com.google.protobuf.LazyStringArrayList.emptyList(); + ipv6Cidr_ = com.google.protobuf.LazyStringArrayList.emptyList(); state_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Subnet(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Subnet_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Subnet_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -51,28 +66,34 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 4: 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.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Subnet_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Subnet_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.Subnet.class, com.google.cloud.edgenetwork.v1.Subnet.Builder.class); + com.google.cloud.edgenetwork.v1.Subnet.class, + com.google.cloud.edgenetwork.v1.Subnet.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The canonical resource name of the subnet.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -81,29 +102,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The canonical resource name of the subnet.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -114,11 +135,15 @@ public java.lang.String getName() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time when the subnet was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -126,11 +151,15 @@ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Output only. The time when the subnet was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -138,11 +167,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time when the subnet was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -152,11 +184,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The time when the subnet was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -164,11 +200,15 @@ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Output only. The time when the subnet was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -176,11 +216,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time when the subnet was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -188,32 +231,34 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 4; + 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.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Subnet_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.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Subnet_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - 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_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels associated with this resource.
    * 
@@ -221,20 +266,21 @@ public int getLabelsCount() { * map<string, string> labels = 4; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Labels associated with this resource.
    * 
@@ -246,6 +292,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Labels associated with this resource.
    * 
@@ -253,17 +301,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Labels associated with this resource.
    * 
@@ -271,11 +321,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -283,15 +333,19 @@ public java.lang.String getLabelsOrThrow( } public static final int DESCRIPTION_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. A free-text description of the resource. Max length 1024
    * characters.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -300,30 +354,30 @@ 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. A free-text description of the resource. Max length 1024
    * characters.
    * 
* * string description = 5 [(.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 { @@ -332,14 +386,20 @@ public java.lang.String getDescription() { } public static final int NETWORK_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object network_ = ""; /** + * + * *
    * Required. The network that this subnetwork belongs to.
    * 
* - * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The network. */ @java.lang.Override @@ -348,29 +408,31 @@ 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; } } /** + * + * *
    * Required. The network that this subnetwork belongs to.
    * 
* - * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -379,38 +441,47 @@ public java.lang.String getNetwork() { } public static final int IPV4_CIDR_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList ipv4Cidr_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * The ranges of ipv4 addresses that are owned by this subnetwork.
    * 
* * repeated string ipv4_cidr = 7; + * * @return A list containing the ipv4Cidr. */ - public com.google.protobuf.ProtocolStringList - getIpv4CidrList() { + public com.google.protobuf.ProtocolStringList getIpv4CidrList() { return ipv4Cidr_; } /** + * + * *
    * The ranges of ipv4 addresses that are owned by this subnetwork.
    * 
* * repeated string ipv4_cidr = 7; + * * @return The count of ipv4Cidr. */ public int getIpv4CidrCount() { return ipv4Cidr_.size(); } /** + * + * *
    * The ranges of ipv4 addresses that are owned by this subnetwork.
    * 
* * repeated string ipv4_cidr = 7; + * * @param index The index of the element to return. * @return The ipv4Cidr at the given index. */ @@ -418,52 +489,63 @@ public java.lang.String getIpv4Cidr(int index) { return ipv4Cidr_.get(index); } /** + * + * *
    * The ranges of ipv4 addresses that are owned by this subnetwork.
    * 
* * repeated string ipv4_cidr = 7; + * * @param index The index of the value to return. * @return The bytes of the ipv4Cidr at the given index. */ - public com.google.protobuf.ByteString - getIpv4CidrBytes(int index) { + public com.google.protobuf.ByteString getIpv4CidrBytes(int index) { return ipv4Cidr_.getByteString(index); } public static final int IPV6_CIDR_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList ipv6Cidr_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * The ranges of ipv6 addresses that are owned by this subnetwork.
    * 
* * repeated string ipv6_cidr = 8; + * * @return A list containing the ipv6Cidr. */ - public com.google.protobuf.ProtocolStringList - getIpv6CidrList() { + public com.google.protobuf.ProtocolStringList getIpv6CidrList() { return ipv6Cidr_; } /** + * + * *
    * The ranges of ipv6 addresses that are owned by this subnetwork.
    * 
* * repeated string ipv6_cidr = 8; + * * @return The count of ipv6Cidr. */ public int getIpv6CidrCount() { return ipv6Cidr_.size(); } /** + * + * *
    * The ranges of ipv6 addresses that are owned by this subnetwork.
    * 
* * repeated string ipv6_cidr = 8; + * * @param index The index of the element to return. * @return The ipv6Cidr at the given index. */ @@ -471,28 +553,33 @@ public java.lang.String getIpv6Cidr(int index) { return ipv6Cidr_.get(index); } /** + * + * *
    * The ranges of ipv6 addresses that are owned by this subnetwork.
    * 
* * repeated string ipv6_cidr = 8; + * * @param index The index of the value to return. * @return The bytes of the ipv6Cidr at the given index. */ - public com.google.protobuf.ByteString - getIpv6CidrBytes(int index) { + public com.google.protobuf.ByteString getIpv6CidrBytes(int index) { return ipv6Cidr_.getByteString(index); } public static final int VLAN_ID_FIELD_NUMBER = 9; private int vlanId_ = 0; /** + * + * *
    * Optional. VLAN id provided by user. If not specified we assign one
    * automatically.
    * 
* * int32 vlan_id = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The vlanId. */ @java.lang.Override @@ -503,30 +590,44 @@ public int getVlanId() { public static final int STATE_FIELD_NUMBER = 10; private int state_ = 0; /** + * + * *
    * Output only. Current stage of the resource to the device by config push.
    * 
* - * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. Current stage of the resource to the device by config push.
    * 
* - * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.edgenetwork.v1.ResourceState getState() { - com.google.cloud.edgenetwork.v1.ResourceState result = com.google.cloud.edgenetwork.v1.ResourceState.forNumber(state_); + @java.lang.Override + public com.google.cloud.edgenetwork.v1.ResourceState getState() { + com.google.cloud.edgenetwork.v1.ResourceState result = + com.google.cloud.edgenetwork.v1.ResourceState.forNumber(state_); return result == null ? com.google.cloud.edgenetwork.v1.ResourceState.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -538,8 +639,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -549,12 +649,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_); } @@ -586,22 +682,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, 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(4, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, 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(4, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); @@ -626,12 +720,10 @@ public int getSerializedSize() { size += 1 * getIpv6CidrList().size(); } if (vlanId_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(9, vlanId_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, vlanId_); } if (state_ != com.google.cloud.edgenetwork.v1.ResourceState.STATE_UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, state_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -641,37 +733,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.edgenetwork.v1.Subnet)) { return super.equals(obj); } com.google.cloud.edgenetwork.v1.Subnet other = (com.google.cloud.edgenetwork.v1.Subnet) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) 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 (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getNetwork() - .equals(other.getNetwork())) return false; - if (!getIpv4CidrList() - .equals(other.getIpv4CidrList())) return false; - if (!getIpv6CidrList() - .equals(other.getIpv6CidrList())) return false; - if (getVlanId() - != other.getVlanId()) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getNetwork().equals(other.getNetwork())) return false; + if (!getIpv4CidrList().equals(other.getIpv4CidrList())) return false; + if (!getIpv6CidrList().equals(other.getIpv6CidrList())) return false; + if (getVlanId() != other.getVlanId()) return false; if (state_ != other.state_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -719,112 +802,117 @@ public int hashCode() { return hash; } - public static com.google.cloud.edgenetwork.v1.Subnet parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.edgenetwork.v1.Subnet parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.Subnet parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Subnet parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.Subnet parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Subnet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.Subnet parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Subnet parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.Subnet parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.edgenetwork.v1.Subnet parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.Subnet parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Subnet parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.Subnet parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.Subnet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 describing Subnet object
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.Subnet} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.Subnet) com.google.cloud.edgenetwork.v1.SubnetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Subnet_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Subnet_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -834,10 +922,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 4: 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.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { @@ -845,16 +933,18 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi case 4: 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.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Subnet_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Subnet_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.Subnet.class, com.google.cloud.edgenetwork.v1.Subnet.Builder.class); + com.google.cloud.edgenetwork.v1.Subnet.class, + com.google.cloud.edgenetwork.v1.Subnet.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.Subnet.newBuilder() @@ -862,18 +952,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCreateTimeFieldBuilder(); getUpdateTimeFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -892,19 +982,17 @@ public Builder clear() { internalGetMutableLabels().clear(); description_ = ""; network_ = ""; - ipv4Cidr_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - ipv6Cidr_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + ipv4Cidr_ = com.google.protobuf.LazyStringArrayList.emptyList(); + ipv6Cidr_ = com.google.protobuf.LazyStringArrayList.emptyList(); vlanId_ = 0; state_ = 0; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Subnet_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Subnet_descriptor; } @java.lang.Override @@ -923,8 +1011,11 @@ public com.google.cloud.edgenetwork.v1.Subnet build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.Subnet buildPartial() { - com.google.cloud.edgenetwork.v1.Subnet result = new com.google.cloud.edgenetwork.v1.Subnet(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.Subnet result = + new com.google.cloud.edgenetwork.v1.Subnet(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -936,15 +1027,11 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.Subnet result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { @@ -978,38 +1065,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.Subnet result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.Subnet) { - return mergeFrom((com.google.cloud.edgenetwork.v1.Subnet)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.Subnet) other); } else { super.mergeFrom(other); return this; @@ -1029,8 +1117,7 @@ public Builder mergeFrom(com.google.cloud.edgenetwork.v1.Subnet other) { if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); bitField0_ |= 0x00000008; if (!other.getDescription().isEmpty()) { description_ = other.description_; @@ -1094,72 +1181,81 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - network_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - ensureIpv4CidrIsMutable(); - ipv4Cidr_.add(s); - break; - } // case 58 - case 66: { - java.lang.String s = input.readStringRequireUtf8(); - ensureIpv6CidrIsMutable(); - ipv6Cidr_.add(s); - break; - } // case 66 - case 72: { - vlanId_ = input.readInt32(); - bitField0_ |= 0x00000100; - break; - } // case 72 - case 80: { - state_ = input.readEnum(); - bitField0_ |= 0x00000200; - break; - } // case 80 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + network_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureIpv4CidrIsMutable(); + ipv4Cidr_.add(s); + break; + } // case 58 + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureIpv6CidrIsMutable(); + ipv6Cidr_.add(s); + break; + } // case 66 + case 72: + { + vlanId_ = input.readInt32(); + bitField0_ |= 0x00000100; + break; + } // case 72 + case 80: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000200; + break; + } // case 80 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1169,22 +1265,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The canonical resource name of the subnet.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -1193,20 +1292,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The canonical resource name of the subnet.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -1214,28 +1314,35 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The canonical resource name of the subnet.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The canonical resource name of the subnet.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1245,17 +1352,21 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The canonical resource name of the subnet.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1265,39 +1376,58 @@ public Builder setNameBytes( 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 when the subnet was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The time when the subnet was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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 when the subnet was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1313,14 +1443,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the subnet was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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(); } else { @@ -1331,17 +1464,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time when the subnet was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1356,11 +1493,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the subnet was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1373,11 +1514,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time when the subnet was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000002; @@ -1385,36 +1530,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the subnet was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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 when the subnet was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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_; @@ -1422,39 +1579,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 when the subnet was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The time when the subnet was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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 when the subnet was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1470,14 +1646,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the subnet was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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(); } else { @@ -1488,17 +1667,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time when the subnet was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1513,11 +1696,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the subnet was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1530,11 +1717,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time when the subnet was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1542,56 +1733,66 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the subnet was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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 when the subnet was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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() { 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(); @@ -1600,10 +1801,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels associated with this resource.
      * 
@@ -1611,20 +1815,21 @@ public int getLabelsCount() { * map<string, string> labels = 4; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Labels associated with this resource.
      * 
@@ -1636,6 +1841,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels associated with this resource.
      * 
@@ -1643,17 +1850,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Labels associated with this resource.
      * 
@@ -1661,92 +1870,96 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000008); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Labels associated with this resource.
      * 
* * map<string, string> labels = 4; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000008; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Labels associated with this resource.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000008; return this; } /** + * + * *
      * Labels associated with this resource.
      * 
* * map<string, string> labels = 4; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000008; return this; } private java.lang.Object description_ = ""; /** + * + * *
      * Optional. A free-text description of the resource. Max length 1024
      * characters.
      * 
* * string description = 5 [(.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; @@ -1755,21 +1968,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. A free-text description of the resource. Max length 1024
      * characters.
      * 
* * string description = 5 [(.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 { @@ -1777,30 +1991,37 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. A free-text description of the resource. Max length 1024
      * characters.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. A free-text description of the resource. Max length 1024
      * characters.
      * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1810,18 +2031,22 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. A free-text description of the resource. Max length 1024
      * characters.
      * 
* * string description = 5 [(.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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000010; @@ -1831,18 +2056,22 @@ public Builder setDescriptionBytes( private java.lang.Object network_ = ""; /** + * + * *
      * Required. The network that this subnetwork belongs to.
      * 
* - * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -1851,20 +2080,23 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * Required. The network that this subnetwork belongs to.
      * 
* - * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -1872,28 +2104,39 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * Required. The network that this subnetwork belongs to.
      * 
* - * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetwork(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } network_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Required. The network that this subnetwork belongs to.
      * 
* - * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearNetwork() { @@ -1903,17 +2146,23 @@ public Builder clearNetwork() { return this; } /** + * + * *
      * Required. The network that this subnetwork belongs to.
      * 
* - * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); network_ = value; bitField0_ |= 0x00000020; @@ -1923,6 +2172,7 @@ public Builder setNetworkBytes( private com.google.protobuf.LazyStringArrayList ipv4Cidr_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureIpv4CidrIsMutable() { if (!ipv4Cidr_.isModifiable()) { ipv4Cidr_ = new com.google.protobuf.LazyStringArrayList(ipv4Cidr_); @@ -1930,35 +2180,43 @@ private void ensureIpv4CidrIsMutable() { bitField0_ |= 0x00000040; } /** + * + * *
      * The ranges of ipv4 addresses that are owned by this subnetwork.
      * 
* * repeated string ipv4_cidr = 7; + * * @return A list containing the ipv4Cidr. */ - public com.google.protobuf.ProtocolStringList - getIpv4CidrList() { + public com.google.protobuf.ProtocolStringList getIpv4CidrList() { ipv4Cidr_.makeImmutable(); return ipv4Cidr_; } /** + * + * *
      * The ranges of ipv4 addresses that are owned by this subnetwork.
      * 
* * repeated string ipv4_cidr = 7; + * * @return The count of ipv4Cidr. */ public int getIpv4CidrCount() { return ipv4Cidr_.size(); } /** + * + * *
      * The ranges of ipv4 addresses that are owned by this subnetwork.
      * 
* * repeated string ipv4_cidr = 7; + * * @param index The index of the element to return. * @return The ipv4Cidr at the given index. */ @@ -1966,31 +2224,37 @@ public java.lang.String getIpv4Cidr(int index) { return ipv4Cidr_.get(index); } /** + * + * *
      * The ranges of ipv4 addresses that are owned by this subnetwork.
      * 
* * repeated string ipv4_cidr = 7; + * * @param index The index of the value to return. * @return The bytes of the ipv4Cidr at the given index. */ - public com.google.protobuf.ByteString - getIpv4CidrBytes(int index) { + public com.google.protobuf.ByteString getIpv4CidrBytes(int index) { return ipv4Cidr_.getByteString(index); } /** + * + * *
      * The ranges of ipv4 addresses that are owned by this subnetwork.
      * 
* * repeated string ipv4_cidr = 7; + * * @param index The index to set the value at. * @param value The ipv4Cidr to set. * @return This builder for chaining. */ - public Builder setIpv4Cidr( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIpv4Cidr(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureIpv4CidrIsMutable(); ipv4Cidr_.set(index, value); bitField0_ |= 0x00000040; @@ -1998,17 +2262,21 @@ public Builder setIpv4Cidr( return this; } /** + * + * *
      * The ranges of ipv4 addresses that are owned by this subnetwork.
      * 
* * repeated string ipv4_cidr = 7; + * * @param value The ipv4Cidr to add. * @return This builder for chaining. */ - public Builder addIpv4Cidr( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addIpv4Cidr(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureIpv4CidrIsMutable(); ipv4Cidr_.add(value); bitField0_ |= 0x00000040; @@ -2016,50 +2284,58 @@ public Builder addIpv4Cidr( return this; } /** + * + * *
      * The ranges of ipv4 addresses that are owned by this subnetwork.
      * 
* * repeated string ipv4_cidr = 7; + * * @param values The ipv4Cidr to add. * @return This builder for chaining. */ - public Builder addAllIpv4Cidr( - java.lang.Iterable values) { + public Builder addAllIpv4Cidr(java.lang.Iterable values) { ensureIpv4CidrIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, ipv4Cidr_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ipv4Cidr_); bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * The ranges of ipv4 addresses that are owned by this subnetwork.
      * 
* * repeated string ipv4_cidr = 7; + * * @return This builder for chaining. */ public Builder clearIpv4Cidr() { - ipv4Cidr_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000040);; + ipv4Cidr_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040); + ; onChanged(); return this; } /** + * + * *
      * The ranges of ipv4 addresses that are owned by this subnetwork.
      * 
* * repeated string ipv4_cidr = 7; + * * @param value The bytes of the ipv4Cidr to add. * @return This builder for chaining. */ - public Builder addIpv4CidrBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addIpv4CidrBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureIpv4CidrIsMutable(); ipv4Cidr_.add(value); @@ -2070,6 +2346,7 @@ public Builder addIpv4CidrBytes( private com.google.protobuf.LazyStringArrayList ipv6Cidr_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureIpv6CidrIsMutable() { if (!ipv6Cidr_.isModifiable()) { ipv6Cidr_ = new com.google.protobuf.LazyStringArrayList(ipv6Cidr_); @@ -2077,35 +2354,43 @@ private void ensureIpv6CidrIsMutable() { bitField0_ |= 0x00000080; } /** + * + * *
      * The ranges of ipv6 addresses that are owned by this subnetwork.
      * 
* * repeated string ipv6_cidr = 8; + * * @return A list containing the ipv6Cidr. */ - public com.google.protobuf.ProtocolStringList - getIpv6CidrList() { + public com.google.protobuf.ProtocolStringList getIpv6CidrList() { ipv6Cidr_.makeImmutable(); return ipv6Cidr_; } /** + * + * *
      * The ranges of ipv6 addresses that are owned by this subnetwork.
      * 
* * repeated string ipv6_cidr = 8; + * * @return The count of ipv6Cidr. */ public int getIpv6CidrCount() { return ipv6Cidr_.size(); } /** + * + * *
      * The ranges of ipv6 addresses that are owned by this subnetwork.
      * 
* * repeated string ipv6_cidr = 8; + * * @param index The index of the element to return. * @return The ipv6Cidr at the given index. */ @@ -2113,31 +2398,37 @@ public java.lang.String getIpv6Cidr(int index) { return ipv6Cidr_.get(index); } /** + * + * *
      * The ranges of ipv6 addresses that are owned by this subnetwork.
      * 
* * repeated string ipv6_cidr = 8; + * * @param index The index of the value to return. * @return The bytes of the ipv6Cidr at the given index. */ - public com.google.protobuf.ByteString - getIpv6CidrBytes(int index) { + public com.google.protobuf.ByteString getIpv6CidrBytes(int index) { return ipv6Cidr_.getByteString(index); } /** + * + * *
      * The ranges of ipv6 addresses that are owned by this subnetwork.
      * 
* * repeated string ipv6_cidr = 8; + * * @param index The index to set the value at. * @param value The ipv6Cidr to set. * @return This builder for chaining. */ - public Builder setIpv6Cidr( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIpv6Cidr(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureIpv6CidrIsMutable(); ipv6Cidr_.set(index, value); bitField0_ |= 0x00000080; @@ -2145,17 +2436,21 @@ public Builder setIpv6Cidr( return this; } /** + * + * *
      * The ranges of ipv6 addresses that are owned by this subnetwork.
      * 
* * repeated string ipv6_cidr = 8; + * * @param value The ipv6Cidr to add. * @return This builder for chaining. */ - public Builder addIpv6Cidr( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addIpv6Cidr(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureIpv6CidrIsMutable(); ipv6Cidr_.add(value); bitField0_ |= 0x00000080; @@ -2163,50 +2458,58 @@ public Builder addIpv6Cidr( return this; } /** + * + * *
      * The ranges of ipv6 addresses that are owned by this subnetwork.
      * 
* * repeated string ipv6_cidr = 8; + * * @param values The ipv6Cidr to add. * @return This builder for chaining. */ - public Builder addAllIpv6Cidr( - java.lang.Iterable values) { + public Builder addAllIpv6Cidr(java.lang.Iterable values) { ensureIpv6CidrIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, ipv6Cidr_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ipv6Cidr_); bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * The ranges of ipv6 addresses that are owned by this subnetwork.
      * 
* * repeated string ipv6_cidr = 8; + * * @return This builder for chaining. */ public Builder clearIpv6Cidr() { - ipv6Cidr_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080);; + ipv6Cidr_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000080); + ; onChanged(); return this; } /** + * + * *
      * The ranges of ipv6 addresses that are owned by this subnetwork.
      * 
* * repeated string ipv6_cidr = 8; + * * @param value The bytes of the ipv6Cidr to add. * @return This builder for chaining. */ - public Builder addIpv6CidrBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addIpv6CidrBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureIpv6CidrIsMutable(); ipv6Cidr_.add(value); @@ -2215,14 +2518,17 @@ public Builder addIpv6CidrBytes( return this; } - private int vlanId_ ; + private int vlanId_; /** + * + * *
      * Optional. VLAN id provided by user. If not specified we assign one
      * automatically.
      * 
* * int32 vlan_id = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The vlanId. */ @java.lang.Override @@ -2230,12 +2536,15 @@ public int getVlanId() { return vlanId_; } /** + * + * *
      * Optional. VLAN id provided by user. If not specified we assign one
      * automatically.
      * 
* * int32 vlan_id = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The vlanId to set. * @return This builder for chaining. */ @@ -2247,12 +2556,15 @@ public Builder setVlanId(int value) { return this; } /** + * + * *
      * Optional. VLAN id provided by user. If not specified we assign one
      * automatically.
      * 
* * int32 vlan_id = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearVlanId() { @@ -2264,22 +2576,33 @@ public Builder clearVlanId() { private int state_ = 0; /** + * + * *
      * Output only. Current stage of the resource to the device by config push.
      * 
* - * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. Current stage of the resource to the device by config push.
      * 
* - * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2290,24 +2613,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. Current stage of the resource to the device by config push.
      * 
* - * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.edgenetwork.v1.ResourceState getState() { - com.google.cloud.edgenetwork.v1.ResourceState result = com.google.cloud.edgenetwork.v1.ResourceState.forNumber(state_); + com.google.cloud.edgenetwork.v1.ResourceState result = + com.google.cloud.edgenetwork.v1.ResourceState.forNumber(state_); return result == null ? com.google.cloud.edgenetwork.v1.ResourceState.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Current stage of the resource to the device by config push.
      * 
* - * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -2321,11 +2655,16 @@ public Builder setState(com.google.cloud.edgenetwork.v1.ResourceState value) { return this; } /** + * + * *
      * Output only. Current stage of the resource to the device by config push.
      * 
* - * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -2334,9 +2673,9 @@ public Builder clearState() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2346,12 +2685,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.Subnet) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.Subnet) private static final com.google.cloud.edgenetwork.v1.Subnet DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.Subnet(); } @@ -2360,27 +2699,27 @@ public static com.google.cloud.edgenetwork.v1.Subnet getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Subnet parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Subnet parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2395,6 +2734,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.Subnet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/SubnetName.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/SubnetName.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/SubnetName.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/SubnetName.java diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/SubnetOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/SubnetOrBuilder.java similarity index 71% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/SubnetOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/SubnetOrBuilder.java index 70095e348331..0d666111634b 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/SubnetOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/SubnetOrBuilder.java @@ -1,88 +1,133 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/resources.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface SubnetOrBuilder extends +public interface SubnetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.Subnet) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The canonical resource name of the subnet.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The canonical resource name of the subnet.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. The time when the subnet was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time when the subnet was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time when the subnet was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time when the subnet was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The time when the subnet was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The time when the subnet was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Labels associated with this resource.
    * 
@@ -91,30 +136,31 @@ public interface SubnetOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Labels associated with this resource.
    * 
* * map<string, string> labels = 4; */ - 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(); /** + * + * *
    * Labels associated with this resource.
    * 
* * map<string, string> labels = 4; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Labels associated with this resource.
    * 
@@ -122,170 +168,218 @@ boolean containsLabels( * map<string, string> labels = 4; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Labels associated with this resource.
    * 
* * map<string, string> labels = 4; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Optional. A free-text description of the resource. Max length 1024
    * characters.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. A free-text description of the resource. Max length 1024
    * characters.
    * 
* * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Required. The network that this subnetwork belongs to.
    * 
* - * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The network. */ java.lang.String getNetwork(); /** + * + * *
    * Required. The network that this subnetwork belongs to.
    * 
* - * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for network. */ - com.google.protobuf.ByteString - getNetworkBytes(); + com.google.protobuf.ByteString getNetworkBytes(); /** + * + * *
    * The ranges of ipv4 addresses that are owned by this subnetwork.
    * 
* * repeated string ipv4_cidr = 7; + * * @return A list containing the ipv4Cidr. */ - java.util.List - getIpv4CidrList(); + java.util.List getIpv4CidrList(); /** + * + * *
    * The ranges of ipv4 addresses that are owned by this subnetwork.
    * 
* * repeated string ipv4_cidr = 7; + * * @return The count of ipv4Cidr. */ int getIpv4CidrCount(); /** + * + * *
    * The ranges of ipv4 addresses that are owned by this subnetwork.
    * 
* * repeated string ipv4_cidr = 7; + * * @param index The index of the element to return. * @return The ipv4Cidr at the given index. */ java.lang.String getIpv4Cidr(int index); /** + * + * *
    * The ranges of ipv4 addresses that are owned by this subnetwork.
    * 
* * repeated string ipv4_cidr = 7; + * * @param index The index of the value to return. * @return The bytes of the ipv4Cidr at the given index. */ - com.google.protobuf.ByteString - getIpv4CidrBytes(int index); + com.google.protobuf.ByteString getIpv4CidrBytes(int index); /** + * + * *
    * The ranges of ipv6 addresses that are owned by this subnetwork.
    * 
* * repeated string ipv6_cidr = 8; + * * @return A list containing the ipv6Cidr. */ - java.util.List - getIpv6CidrList(); + java.util.List getIpv6CidrList(); /** + * + * *
    * The ranges of ipv6 addresses that are owned by this subnetwork.
    * 
* * repeated string ipv6_cidr = 8; + * * @return The count of ipv6Cidr. */ int getIpv6CidrCount(); /** + * + * *
    * The ranges of ipv6 addresses that are owned by this subnetwork.
    * 
* * repeated string ipv6_cidr = 8; + * * @param index The index of the element to return. * @return The ipv6Cidr at the given index. */ java.lang.String getIpv6Cidr(int index); /** + * + * *
    * The ranges of ipv6 addresses that are owned by this subnetwork.
    * 
* * repeated string ipv6_cidr = 8; + * * @param index The index of the value to return. * @return The bytes of the ipv6Cidr at the given index. */ - com.google.protobuf.ByteString - getIpv6CidrBytes(int index); + com.google.protobuf.ByteString getIpv6CidrBytes(int index); /** + * + * *
    * Optional. VLAN id provided by user. If not specified we assign one
    * automatically.
    * 
* * int32 vlan_id = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The vlanId. */ int getVlanId(); /** + * + * *
    * Output only. Current stage of the resource to the device by config push.
    * 
* - * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. Current stage of the resource to the device by config push.
    * 
* - * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.edgenetwork.v1.ResourceState getState(); diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/SubnetStatus.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/SubnetStatus.java similarity index 74% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/SubnetStatus.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/SubnetStatus.java index deb9eacfeea6..8bc8f7d16753 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/SubnetStatus.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/SubnetStatus.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/resources.proto @@ -5,6 +20,8 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * SubnetStatus contains detailed and current technical information about this
  * subnet resource.
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.edgenetwork.v1.SubnetStatus}
  */
-public final class SubnetStatus extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SubnetStatus extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.SubnetStatus)
     SubnetStatusOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SubnetStatus.newBuilder() to construct.
   private SubnetStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SubnetStatus() {
     name_ = "";
     macAddress_ = "";
@@ -29,33 +47,38 @@ private SubnetStatus() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SubnetStatus();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_SubnetStatus_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.edgenetwork.v1.ResourcesProto
+        .internal_static_google_cloud_edgenetwork_v1_SubnetStatus_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_SubnetStatus_fieldAccessorTable
+    return com.google.cloud.edgenetwork.v1.ResourcesProto
+        .internal_static_google_cloud_edgenetwork_v1_SubnetStatus_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.edgenetwork.v1.SubnetStatus.class, com.google.cloud.edgenetwork.v1.SubnetStatus.Builder.class);
+            com.google.cloud.edgenetwork.v1.SubnetStatus.class,
+            com.google.cloud.edgenetwork.v1.SubnetStatus.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The name of CCFE subnet resource.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -64,29 +87,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of CCFE subnet resource.
    * 
* * 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 { @@ -95,14 +118,18 @@ public java.lang.String getName() { } public static final int MAC_ADDRESS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object macAddress_ = ""; /** + * + * *
    * BVI MAC address.
    * 
* * string mac_address = 2; + * * @return The macAddress. */ @java.lang.Override @@ -111,29 +138,29 @@ public java.lang.String getMacAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); macAddress_ = s; return s; } } /** + * + * *
    * BVI MAC address.
    * 
* * string mac_address = 2; + * * @return The bytes for macAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getMacAddressBytes() { + public com.google.protobuf.ByteString getMacAddressBytes() { java.lang.Object ref = macAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); macAddress_ = b; return b; } else { @@ -142,9 +169,12 @@ public java.lang.String getMacAddress() { } public static final int LINK_LAYER_ADDRESSES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List linkLayerAddresses_; /** + * + * *
    * A list of LinkLayerAddress, describing the ip address and corresponding
    * link-layer address of the neighbors for this subnet.
@@ -153,10 +183,13 @@ public java.lang.String getMacAddress() {
    * repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 3;
    */
   @java.lang.Override
-  public java.util.List getLinkLayerAddressesList() {
+  public java.util.List
+      getLinkLayerAddressesList() {
     return linkLayerAddresses_;
   }
   /**
+   *
+   *
    * 
    * A list of LinkLayerAddress, describing the ip address and corresponding
    * link-layer address of the neighbors for this subnet.
@@ -165,11 +198,13 @@ public java.util.List getLinkL
    * repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getLinkLayerAddressesOrBuilderList() {
     return linkLayerAddresses_;
   }
   /**
+   *
+   *
    * 
    * A list of LinkLayerAddress, describing the ip address and corresponding
    * link-layer address of the neighbors for this subnet.
@@ -182,6 +217,8 @@ public int getLinkLayerAddressesCount() {
     return linkLayerAddresses_.size();
   }
   /**
+   *
+   *
    * 
    * A list of LinkLayerAddress, describing the ip address and corresponding
    * link-layer address of the neighbors for this subnet.
@@ -194,6 +231,8 @@ public com.google.cloud.edgenetwork.v1.LinkLayerAddress getLinkLayerAddresses(in
     return linkLayerAddresses_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of LinkLayerAddress, describing the ip address and corresponding
    * link-layer address of the neighbors for this subnet.
@@ -208,6 +247,7 @@ public com.google.cloud.edgenetwork.v1.LinkLayerAddressOrBuilder getLinkLayerAdd
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -219,8 +259,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -246,8 +285,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, macAddress_);
     }
     for (int i = 0; i < linkLayerAddresses_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, linkLayerAddresses_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(3, linkLayerAddresses_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -257,19 +296,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.edgenetwork.v1.SubnetStatus)) {
       return super.equals(obj);
     }
-    com.google.cloud.edgenetwork.v1.SubnetStatus other = (com.google.cloud.edgenetwork.v1.SubnetStatus) obj;
+    com.google.cloud.edgenetwork.v1.SubnetStatus other =
+        (com.google.cloud.edgenetwork.v1.SubnetStatus) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getMacAddress()
-        .equals(other.getMacAddress())) return false;
-    if (!getLinkLayerAddressesList()
-        .equals(other.getLinkLayerAddressesList())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getMacAddress().equals(other.getMacAddress())) return false;
+    if (!getLinkLayerAddressesList().equals(other.getLinkLayerAddressesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -294,99 +331,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.edgenetwork.v1.SubnetStatus parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.edgenetwork.v1.SubnetStatus parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.edgenetwork.v1.SubnetStatus parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.edgenetwork.v1.SubnetStatus parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.edgenetwork.v1.SubnetStatus parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.edgenetwork.v1.SubnetStatus parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.edgenetwork.v1.SubnetStatus parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.edgenetwork.v1.SubnetStatus parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.edgenetwork.v1.SubnetStatus parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.edgenetwork.v1.SubnetStatus parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.edgenetwork.v1.SubnetStatus parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.edgenetwork.v1.SubnetStatus parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.edgenetwork.v1.SubnetStatus parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.edgenetwork.v1.SubnetStatus parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.edgenetwork.v1.SubnetStatus prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * SubnetStatus contains detailed and current technical information about this
    * subnet resource.
@@ -394,33 +436,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.edgenetwork.v1.SubnetStatus}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.SubnetStatus)
       com.google.cloud.edgenetwork.v1.SubnetStatusOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_SubnetStatus_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.edgenetwork.v1.ResourcesProto
+          .internal_static_google_cloud_edgenetwork_v1_SubnetStatus_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_SubnetStatus_fieldAccessorTable
+      return com.google.cloud.edgenetwork.v1.ResourcesProto
+          .internal_static_google_cloud_edgenetwork_v1_SubnetStatus_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.edgenetwork.v1.SubnetStatus.class, com.google.cloud.edgenetwork.v1.SubnetStatus.Builder.class);
+              com.google.cloud.edgenetwork.v1.SubnetStatus.class,
+              com.google.cloud.edgenetwork.v1.SubnetStatus.Builder.class);
     }
 
     // Construct using com.google.cloud.edgenetwork.v1.SubnetStatus.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -438,9 +479,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_SubnetStatus_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.edgenetwork.v1.ResourcesProto
+          .internal_static_google_cloud_edgenetwork_v1_SubnetStatus_descriptor;
     }
 
     @java.lang.Override
@@ -459,9 +500,12 @@ public com.google.cloud.edgenetwork.v1.SubnetStatus build() {
 
     @java.lang.Override
     public com.google.cloud.edgenetwork.v1.SubnetStatus buildPartial() {
-      com.google.cloud.edgenetwork.v1.SubnetStatus result = new com.google.cloud.edgenetwork.v1.SubnetStatus(this);
+      com.google.cloud.edgenetwork.v1.SubnetStatus result =
+          new com.google.cloud.edgenetwork.v1.SubnetStatus(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -492,38 +536,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.SubnetStatus result)
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.edgenetwork.v1.SubnetStatus) {
-        return mergeFrom((com.google.cloud.edgenetwork.v1.SubnetStatus)other);
+        return mergeFrom((com.google.cloud.edgenetwork.v1.SubnetStatus) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -560,9 +605,10 @@ public Builder mergeFrom(com.google.cloud.edgenetwork.v1.SubnetStatus other) {
             linkLayerAddressesBuilder_ = null;
             linkLayerAddresses_ = other.linkLayerAddresses_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            linkLayerAddressesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getLinkLayerAddressesFieldBuilder() : null;
+            linkLayerAddressesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getLinkLayerAddressesFieldBuilder()
+                    : null;
           } else {
             linkLayerAddressesBuilder_.addAllMessages(other.linkLayerAddresses_);
           }
@@ -594,35 +640,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              macAddress_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              com.google.cloud.edgenetwork.v1.LinkLayerAddress m =
-                  input.readMessage(
-                      com.google.cloud.edgenetwork.v1.LinkLayerAddress.parser(),
-                      extensionRegistry);
-              if (linkLayerAddressesBuilder_ == null) {
-                ensureLinkLayerAddressesIsMutable();
-                linkLayerAddresses_.add(m);
-              } else {
-                linkLayerAddressesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                macAddress_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.cloud.edgenetwork.v1.LinkLayerAddress m =
+                    input.readMessage(
+                        com.google.cloud.edgenetwork.v1.LinkLayerAddress.parser(),
+                        extensionRegistry);
+                if (linkLayerAddressesBuilder_ == null) {
+                  ensureLinkLayerAddressesIsMutable();
+                  linkLayerAddresses_.add(m);
+                } else {
+                  linkLayerAddressesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -632,22 +682,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of CCFE subnet resource.
      * 
* * 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; @@ -656,20 +709,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of CCFE subnet resource.
      * 
* * 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 { @@ -677,28 +731,35 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of CCFE subnet resource.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The name of CCFE subnet resource.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -708,17 +769,21 @@ public Builder clearName() { return this; } /** + * + * *
      * The name of CCFE subnet resource.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -728,18 +793,20 @@ public Builder setNameBytes( private java.lang.Object macAddress_ = ""; /** + * + * *
      * BVI MAC address.
      * 
* * string mac_address = 2; + * * @return The macAddress. */ public java.lang.String getMacAddress() { java.lang.Object ref = macAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); macAddress_ = s; return s; @@ -748,20 +815,21 @@ public java.lang.String getMacAddress() { } } /** + * + * *
      * BVI MAC address.
      * 
* * string mac_address = 2; + * * @return The bytes for macAddress. */ - public com.google.protobuf.ByteString - getMacAddressBytes() { + public com.google.protobuf.ByteString getMacAddressBytes() { java.lang.Object ref = macAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); macAddress_ = b; return b; } else { @@ -769,28 +837,35 @@ public java.lang.String getMacAddress() { } } /** + * + * *
      * BVI MAC address.
      * 
* * string mac_address = 2; + * * @param value The macAddress to set. * @return This builder for chaining. */ - public Builder setMacAddress( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMacAddress(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } macAddress_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * BVI MAC address.
      * 
* * string mac_address = 2; + * * @return This builder for chaining. */ public Builder clearMacAddress() { @@ -800,17 +875,21 @@ public Builder clearMacAddress() { return this; } /** + * + * *
      * BVI MAC address.
      * 
* * string mac_address = 2; + * * @param value The bytes for macAddress to set. * @return This builder for chaining. */ - public Builder setMacAddressBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMacAddressBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); macAddress_ = value; bitField0_ |= 0x00000002; @@ -819,18 +898,26 @@ public Builder setMacAddressBytes( } private java.util.List linkLayerAddresses_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureLinkLayerAddressesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - linkLayerAddresses_ = new java.util.ArrayList(linkLayerAddresses_); + linkLayerAddresses_ = + new java.util.ArrayList( + linkLayerAddresses_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.edgenetwork.v1.LinkLayerAddress, com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder, com.google.cloud.edgenetwork.v1.LinkLayerAddressOrBuilder> linkLayerAddressesBuilder_; + com.google.cloud.edgenetwork.v1.LinkLayerAddress, + com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder, + com.google.cloud.edgenetwork.v1.LinkLayerAddressOrBuilder> + linkLayerAddressesBuilder_; /** + * + * *
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this subnet.
@@ -838,7 +925,8 @@ private void ensureLinkLayerAddressesIsMutable() {
      *
      * repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 3;
      */
-    public java.util.List getLinkLayerAddressesList() {
+    public java.util.List
+        getLinkLayerAddressesList() {
       if (linkLayerAddressesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(linkLayerAddresses_);
       } else {
@@ -846,6 +934,8 @@ public java.util.List getLinkL
       }
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this subnet.
@@ -861,6 +951,8 @@ public int getLinkLayerAddressesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this subnet.
@@ -876,6 +968,8 @@ public com.google.cloud.edgenetwork.v1.LinkLayerAddress getLinkLayerAddresses(in
       }
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this subnet.
@@ -898,6 +992,8 @@ public Builder setLinkLayerAddresses(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this subnet.
@@ -917,6 +1013,8 @@ public Builder setLinkLayerAddresses(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this subnet.
@@ -938,6 +1036,8 @@ public Builder addLinkLayerAddresses(com.google.cloud.edgenetwork.v1.LinkLayerAd
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this subnet.
@@ -960,6 +1060,8 @@ public Builder addLinkLayerAddresses(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this subnet.
@@ -979,6 +1081,8 @@ public Builder addLinkLayerAddresses(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this subnet.
@@ -998,6 +1102,8 @@ public Builder addLinkLayerAddresses(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this subnet.
@@ -1009,8 +1115,7 @@ public Builder addAllLinkLayerAddresses(
         java.lang.Iterable values) {
       if (linkLayerAddressesBuilder_ == null) {
         ensureLinkLayerAddressesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, linkLayerAddresses_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, linkLayerAddresses_);
         onChanged();
       } else {
         linkLayerAddressesBuilder_.addAllMessages(values);
@@ -1018,6 +1123,8 @@ public Builder addAllLinkLayerAddresses(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this subnet.
@@ -1036,6 +1143,8 @@ public Builder clearLinkLayerAddresses() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this subnet.
@@ -1054,6 +1163,8 @@ public Builder removeLinkLayerAddresses(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this subnet.
@@ -1066,6 +1177,8 @@ public com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder getLinkLayerAddr
       return getLinkLayerAddressesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this subnet.
@@ -1076,11 +1189,14 @@ public com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder getLinkLayerAddr
     public com.google.cloud.edgenetwork.v1.LinkLayerAddressOrBuilder getLinkLayerAddressesOrBuilder(
         int index) {
       if (linkLayerAddressesBuilder_ == null) {
-        return linkLayerAddresses_.get(index);  } else {
+        return linkLayerAddresses_.get(index);
+      } else {
         return linkLayerAddressesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this subnet.
@@ -1088,8 +1204,8 @@ public com.google.cloud.edgenetwork.v1.LinkLayerAddressOrBuilder getLinkLayerAdd
      *
      * repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 3;
      */
-    public java.util.List 
-         getLinkLayerAddressesOrBuilderList() {
+    public java.util.List
+        getLinkLayerAddressesOrBuilderList() {
       if (linkLayerAddressesBuilder_ != null) {
         return linkLayerAddressesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1097,6 +1213,8 @@ public com.google.cloud.edgenetwork.v1.LinkLayerAddressOrBuilder getLinkLayerAdd
       }
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this subnet.
@@ -1105,10 +1223,12 @@ public com.google.cloud.edgenetwork.v1.LinkLayerAddressOrBuilder getLinkLayerAdd
      * repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 3;
      */
     public com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder addLinkLayerAddressesBuilder() {
-      return getLinkLayerAddressesFieldBuilder().addBuilder(
-          com.google.cloud.edgenetwork.v1.LinkLayerAddress.getDefaultInstance());
+      return getLinkLayerAddressesFieldBuilder()
+          .addBuilder(com.google.cloud.edgenetwork.v1.LinkLayerAddress.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this subnet.
@@ -1118,10 +1238,12 @@ public com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder addLinkLayerAddr
      */
     public com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder addLinkLayerAddressesBuilder(
         int index) {
-      return getLinkLayerAddressesFieldBuilder().addBuilder(
-          index, com.google.cloud.edgenetwork.v1.LinkLayerAddress.getDefaultInstance());
+      return getLinkLayerAddressesFieldBuilder()
+          .addBuilder(index, com.google.cloud.edgenetwork.v1.LinkLayerAddress.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of LinkLayerAddress, describing the ip address and corresponding
      * link-layer address of the neighbors for this subnet.
@@ -1129,16 +1251,22 @@ public com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder addLinkLayerAddr
      *
      * repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 3;
      */
-    public java.util.List 
-         getLinkLayerAddressesBuilderList() {
+    public java.util.List
+        getLinkLayerAddressesBuilderList() {
       return getLinkLayerAddressesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.edgenetwork.v1.LinkLayerAddress, com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder, com.google.cloud.edgenetwork.v1.LinkLayerAddressOrBuilder> 
+            com.google.cloud.edgenetwork.v1.LinkLayerAddress,
+            com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder,
+            com.google.cloud.edgenetwork.v1.LinkLayerAddressOrBuilder>
         getLinkLayerAddressesFieldBuilder() {
       if (linkLayerAddressesBuilder_ == null) {
-        linkLayerAddressesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.edgenetwork.v1.LinkLayerAddress, com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder, com.google.cloud.edgenetwork.v1.LinkLayerAddressOrBuilder>(
+        linkLayerAddressesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.edgenetwork.v1.LinkLayerAddress,
+                com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder,
+                com.google.cloud.edgenetwork.v1.LinkLayerAddressOrBuilder>(
                 linkLayerAddresses_,
                 ((bitField0_ & 0x00000004) != 0),
                 getParentForChildren(),
@@ -1147,9 +1275,9 @@ public com.google.cloud.edgenetwork.v1.LinkLayerAddress.Builder addLinkLayerAddr
       }
       return linkLayerAddressesBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1159,12 +1287,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.SubnetStatus)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.SubnetStatus)
   private static final com.google.cloud.edgenetwork.v1.SubnetStatus DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.SubnetStatus();
   }
@@ -1173,27 +1301,27 @@ public static com.google.cloud.edgenetwork.v1.SubnetStatus getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public SubnetStatus parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public SubnetStatus parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1208,6 +1336,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.edgenetwork.v1.SubnetStatus getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/SubnetStatusOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/SubnetStatusOrBuilder.java
similarity index 74%
rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/SubnetStatusOrBuilder.java
rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/SubnetStatusOrBuilder.java
index daa4385b8f7b..01567df1c672 100644
--- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/SubnetStatusOrBuilder.java
+++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/SubnetStatusOrBuilder.java
@@ -1,54 +1,82 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/edgenetwork/v1/resources.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.cloud.edgenetwork.v1;
 
-public interface SubnetStatusOrBuilder extends
+public interface SubnetStatusOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.SubnetStatus)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The name of CCFE subnet resource.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of CCFE subnet resource.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * BVI MAC address.
    * 
* * string mac_address = 2; + * * @return The macAddress. */ java.lang.String getMacAddress(); /** + * + * *
    * BVI MAC address.
    * 
* * string mac_address = 2; + * * @return The bytes for macAddress. */ - com.google.protobuf.ByteString - getMacAddressBytes(); + com.google.protobuf.ByteString getMacAddressBytes(); /** + * + * *
    * A list of LinkLayerAddress, describing the ip address and corresponding
    * link-layer address of the neighbors for this subnet.
@@ -56,9 +84,10 @@ public interface SubnetStatusOrBuilder extends
    *
    * repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 3;
    */
-  java.util.List 
-      getLinkLayerAddressesList();
+  java.util.List getLinkLayerAddressesList();
   /**
+   *
+   *
    * 
    * A list of LinkLayerAddress, describing the ip address and corresponding
    * link-layer address of the neighbors for this subnet.
@@ -68,6 +97,8 @@ public interface SubnetStatusOrBuilder extends
    */
   com.google.cloud.edgenetwork.v1.LinkLayerAddress getLinkLayerAddresses(int index);
   /**
+   *
+   *
    * 
    * A list of LinkLayerAddress, describing the ip address and corresponding
    * link-layer address of the neighbors for this subnet.
@@ -77,6 +108,8 @@ public interface SubnetStatusOrBuilder extends
    */
   int getLinkLayerAddressesCount();
   /**
+   *
+   *
    * 
    * A list of LinkLayerAddress, describing the ip address and corresponding
    * link-layer address of the neighbors for this subnet.
@@ -84,9 +117,11 @@ public interface SubnetStatusOrBuilder extends
    *
    * repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 3;
    */
-  java.util.List 
+  java.util.List
       getLinkLayerAddressesOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of LinkLayerAddress, describing the ip address and corresponding
    * link-layer address of the neighbors for this subnet.
diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateRouterRequest.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateRouterRequest.java
similarity index 72%
rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateRouterRequest.java
rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateRouterRequest.java
index a78f752f18a8..b0ee4b5ccfb4 100644
--- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateRouterRequest.java
+++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateRouterRequest.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/edgenetwork/v1/service.proto
 
@@ -5,49 +20,55 @@
 package com.google.cloud.edgenetwork.v1;
 
 /**
+ *
+ *
  * 
  * Message for updating a Router
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.UpdateRouterRequest} */ -public final class UpdateRouterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateRouterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.UpdateRouterRequest) UpdateRouterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateRouterRequest.newBuilder() to construct. private UpdateRouterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateRouterRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateRouterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_UpdateRouterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_UpdateRouterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_UpdateRouterRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_UpdateRouterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.UpdateRouterRequest.class, com.google.cloud.edgenetwork.v1.UpdateRouterRequest.Builder.class); + com.google.cloud.edgenetwork.v1.UpdateRouterRequest.class, + com.google.cloud.edgenetwork.v1.UpdateRouterRequest.Builder.class); } private int bitField0_; public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * Router resource by the update.
@@ -56,7 +77,9 @@ protected java.lang.Object newInstance(
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -64,6 +87,8 @@ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * Router resource by the update.
@@ -72,7 +97,9 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -80,6 +107,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * Router resource by the update.
@@ -88,7 +117,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -98,11 +128,15 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int ROUTER_FIELD_NUMBER = 2; private com.google.cloud.edgenetwork.v1.Router router_; /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the router field is set. */ @java.lang.Override @@ -110,11 +144,15 @@ public boolean hasRouter() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The router. */ @java.lang.Override @@ -122,11 +160,14 @@ public com.google.cloud.edgenetwork.v1.Router getRouter() { return router_ == null ? com.google.cloud.edgenetwork.v1.Router.getDefaultInstance() : router_; } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.edgenetwork.v1.RouterOrBuilder getRouterOrBuilder() { @@ -134,9 +175,12 @@ public com.google.cloud.edgenetwork.v1.RouterOrBuilder getRouterOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -154,6 +198,7 @@ public com.google.cloud.edgenetwork.v1.RouterOrBuilder getRouterOrBuilder() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -162,14 +207,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -187,16 +233,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -205,6 +250,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,8 +262,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getUpdateMask()); } @@ -237,12 +282,10 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRouter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRouter()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -255,25 +298,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.edgenetwork.v1.UpdateRouterRequest)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.UpdateRouterRequest other = (com.google.cloud.edgenetwork.v1.UpdateRouterRequest) obj; + com.google.cloud.edgenetwork.v1.UpdateRouterRequest other = + (com.google.cloud.edgenetwork.v1.UpdateRouterRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasRouter() != other.hasRouter()) return false; if (hasRouter()) { - if (!getRouter() - .equals(other.getRouter())) return false; + if (!getRouter().equals(other.getRouter())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -301,119 +342,126 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.UpdateRouterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.UpdateRouterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.UpdateRouterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.UpdateRouterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.UpdateRouterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.UpdateRouterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.UpdateRouterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.UpdateRouterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.UpdateRouterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.UpdateRouterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.UpdateRouterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.UpdateRouterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.UpdateRouterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.UpdateRouterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.UpdateRouterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for updating a Router
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.UpdateRouterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.UpdateRouterRequest) com.google.cloud.edgenetwork.v1.UpdateRouterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_UpdateRouterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_UpdateRouterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_UpdateRouterRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_UpdateRouterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.UpdateRouterRequest.class, com.google.cloud.edgenetwork.v1.UpdateRouterRequest.Builder.class); + com.google.cloud.edgenetwork.v1.UpdateRouterRequest.class, + com.google.cloud.edgenetwork.v1.UpdateRouterRequest.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.UpdateRouterRequest.newBuilder() @@ -421,18 +469,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getUpdateMaskFieldBuilder(); getRouterFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -452,9 +500,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_UpdateRouterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_UpdateRouterRequest_descriptor; } @java.lang.Override @@ -473,8 +521,11 @@ public com.google.cloud.edgenetwork.v1.UpdateRouterRequest build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.UpdateRouterRequest buildPartial() { - com.google.cloud.edgenetwork.v1.UpdateRouterRequest result = new com.google.cloud.edgenetwork.v1.UpdateRouterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.UpdateRouterRequest result = + new com.google.cloud.edgenetwork.v1.UpdateRouterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -483,15 +534,11 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.UpdateRouterRequest r int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.router_ = routerBuilder_ == null - ? router_ - : routerBuilder_.build(); + result.router_ = routerBuilder_ == null ? router_ : routerBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { @@ -504,38 +551,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.UpdateRouterRequest r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.UpdateRouterRequest) { - return mergeFrom((com.google.cloud.edgenetwork.v1.UpdateRouterRequest)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.UpdateRouterRequest) other); } else { super.mergeFrom(other); return this; @@ -543,7 +591,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.UpdateRouterRequest other) { - if (other == com.google.cloud.edgenetwork.v1.UpdateRouterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.UpdateRouterRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -581,31 +630,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getRouterFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getRouterFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -615,12 +664,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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. Field mask is used to specify the fields to be overwritten in the
      * Router resource by the update.
@@ -629,13 +684,17 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * Router resource by the update.
@@ -644,17 +703,23 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.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. Field mask is used to specify the fields to be overwritten in the
      * Router resource by the update.
@@ -663,7 +728,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -679,6 +745,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * Router resource by the update.
@@ -687,10 +755,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.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(); } else { @@ -701,6 +769,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * Router resource by the update.
@@ -709,13 +779,14 @@ public Builder setUpdateMask(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -730,6 +801,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * Router resource by the update.
@@ -738,7 +811,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -751,6 +825,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * Router resource by the update.
@@ -759,7 +835,8 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -767,6 +844,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * Router resource by the update.
@@ -775,17 +854,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.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. Field mask is used to specify the fields to be overwritten in the
      * Router resource by the update.
@@ -794,17 +877,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.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_; @@ -812,39 +899,58 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.edgenetwork.v1.Router router_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Router, com.google.cloud.edgenetwork.v1.Router.Builder, com.google.cloud.edgenetwork.v1.RouterOrBuilder> routerBuilder_; + com.google.cloud.edgenetwork.v1.Router, + com.google.cloud.edgenetwork.v1.Router.Builder, + com.google.cloud.edgenetwork.v1.RouterOrBuilder> + routerBuilder_; /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the router field is set. */ public boolean hasRouter() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The router. */ public com.google.cloud.edgenetwork.v1.Router getRouter() { if (routerBuilder_ == null) { - return router_ == null ? com.google.cloud.edgenetwork.v1.Router.getDefaultInstance() : router_; + return router_ == null + ? com.google.cloud.edgenetwork.v1.Router.getDefaultInstance() + : router_; } else { return routerBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRouter(com.google.cloud.edgenetwork.v1.Router value) { if (routerBuilder_ == null) { @@ -860,14 +966,17 @@ public Builder setRouter(com.google.cloud.edgenetwork.v1.Router value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setRouter( - com.google.cloud.edgenetwork.v1.Router.Builder builderForValue) { + public Builder setRouter(com.google.cloud.edgenetwork.v1.Router.Builder builderForValue) { if (routerBuilder_ == null) { router_ = builderForValue.build(); } else { @@ -878,17 +987,21 @@ public Builder setRouter( return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRouter(com.google.cloud.edgenetwork.v1.Router value) { if (routerBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - router_ != null && - router_ != com.google.cloud.edgenetwork.v1.Router.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && router_ != null + && router_ != com.google.cloud.edgenetwork.v1.Router.getDefaultInstance()) { getRouterBuilder().mergeFrom(value); } else { router_ = value; @@ -903,11 +1016,15 @@ public Builder mergeRouter(com.google.cloud.edgenetwork.v1.Router value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRouter() { bitField0_ = (bitField0_ & ~0x00000002); @@ -920,11 +1037,15 @@ public Builder clearRouter() { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.edgenetwork.v1.Router.Builder getRouterBuilder() { bitField0_ |= 0x00000002; @@ -932,36 +1053,48 @@ public com.google.cloud.edgenetwork.v1.Router.Builder getRouterBuilder() { return getRouterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.edgenetwork.v1.RouterOrBuilder getRouterOrBuilder() { if (routerBuilder_ != null) { return routerBuilder_.getMessageOrBuilder(); } else { - return router_ == null ? - com.google.cloud.edgenetwork.v1.Router.getDefaultInstance() : router_; + return router_ == null + ? com.google.cloud.edgenetwork.v1.Router.getDefaultInstance() + : router_; } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Router, com.google.cloud.edgenetwork.v1.Router.Builder, com.google.cloud.edgenetwork.v1.RouterOrBuilder> + com.google.cloud.edgenetwork.v1.Router, + com.google.cloud.edgenetwork.v1.Router.Builder, + com.google.cloud.edgenetwork.v1.RouterOrBuilder> getRouterFieldBuilder() { if (routerBuilder_ == null) { - routerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Router, com.google.cloud.edgenetwork.v1.Router.Builder, com.google.cloud.edgenetwork.v1.RouterOrBuilder>( - getRouter(), - getParentForChildren(), - isClean()); + routerBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgenetwork.v1.Router, + com.google.cloud.edgenetwork.v1.Router.Builder, + com.google.cloud.edgenetwork.v1.RouterOrBuilder>( + getRouter(), getParentForChildren(), isClean()); router_ = null; } return routerBuilder_; @@ -969,6 +1102,8 @@ public com.google.cloud.edgenetwork.v1.RouterOrBuilder getRouterOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -986,13 +1121,13 @@ public com.google.cloud.edgenetwork.v1.RouterOrBuilder getRouterOrBuilder() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1001,6 +1136,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1018,15 +1155,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1034,6 +1170,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1051,18 +1189,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1080,6 +1222,7 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1089,6 +1232,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1106,21 +1251,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1130,12 +1277,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.UpdateRouterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.UpdateRouterRequest) private static final com.google.cloud.edgenetwork.v1.UpdateRouterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.UpdateRouterRequest(); } @@ -1144,27 +1291,27 @@ public static com.google.cloud.edgenetwork.v1.UpdateRouterRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateRouterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateRouterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1179,6 +1326,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.UpdateRouterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateRouterRequestOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateRouterRequestOrBuilder.java similarity index 80% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateRouterRequestOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateRouterRequestOrBuilder.java index 6636f1322928..53832e5b429f 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateRouterRequestOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateRouterRequestOrBuilder.java @@ -1,14 +1,32 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface UpdateRouterRequestOrBuilder extends +public interface UpdateRouterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.UpdateRouterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * Router resource by the update.
@@ -17,11 +35,15 @@ public interface UpdateRouterRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * Router resource by the update.
@@ -30,11 +52,15 @@ public interface UpdateRouterRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * Router resource by the update.
@@ -43,38 +69,52 @@ public interface UpdateRouterRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the router field is set. */ boolean hasRouter(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The router. */ com.google.cloud.edgenetwork.v1.Router getRouter(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.edgenetwork.v1.Router router = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.edgenetwork.v1.RouterOrBuilder getRouterOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -92,10 +132,13 @@ public interface UpdateRouterRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -113,8 +156,8 @@ public interface UpdateRouterRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateSubnetRequest.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateSubnetRequest.java similarity index 72% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateSubnetRequest.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateSubnetRequest.java index 1f6d8eb60bb3..7c7ca0951e93 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateSubnetRequest.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateSubnetRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto @@ -5,49 +20,55 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * Message for updating a Subnet
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.UpdateSubnetRequest} */ -public final class UpdateSubnetRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateSubnetRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.UpdateSubnetRequest) UpdateSubnetRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateSubnetRequest.newBuilder() to construct. private UpdateSubnetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateSubnetRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateSubnetRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_UpdateSubnetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_UpdateSubnetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_UpdateSubnetRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_UpdateSubnetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.UpdateSubnetRequest.class, com.google.cloud.edgenetwork.v1.UpdateSubnetRequest.Builder.class); + com.google.cloud.edgenetwork.v1.UpdateSubnetRequest.class, + com.google.cloud.edgenetwork.v1.UpdateSubnetRequest.Builder.class); } private int bitField0_; public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * Subnet resource by the update.
@@ -56,7 +77,9 @@ protected java.lang.Object newInstance(
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -64,6 +87,8 @@ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * Subnet resource by the update.
@@ -72,7 +97,9 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -80,6 +107,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * Subnet resource by the update.
@@ -88,7 +117,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -98,11 +128,15 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int SUBNET_FIELD_NUMBER = 2; private com.google.cloud.edgenetwork.v1.Subnet subnet_; /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the subnet field is set. */ @java.lang.Override @@ -110,11 +144,15 @@ public boolean hasSubnet() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The subnet. */ @java.lang.Override @@ -122,11 +160,14 @@ public com.google.cloud.edgenetwork.v1.Subnet getSubnet() { return subnet_ == null ? com.google.cloud.edgenetwork.v1.Subnet.getDefaultInstance() : subnet_; } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.edgenetwork.v1.SubnetOrBuilder getSubnetOrBuilder() { @@ -134,9 +175,12 @@ public com.google.cloud.edgenetwork.v1.SubnetOrBuilder getSubnetOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -154,6 +198,7 @@ public com.google.cloud.edgenetwork.v1.SubnetOrBuilder getSubnetOrBuilder() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -162,14 +207,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -187,16 +233,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -205,6 +250,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,8 +262,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getUpdateMask()); } @@ -237,12 +282,10 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSubnet()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSubnet()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -255,25 +298,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.edgenetwork.v1.UpdateSubnetRequest)) { return super.equals(obj); } - com.google.cloud.edgenetwork.v1.UpdateSubnetRequest other = (com.google.cloud.edgenetwork.v1.UpdateSubnetRequest) obj; + com.google.cloud.edgenetwork.v1.UpdateSubnetRequest other = + (com.google.cloud.edgenetwork.v1.UpdateSubnetRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasSubnet() != other.hasSubnet()) return false; if (hasSubnet()) { - if (!getSubnet() - .equals(other.getSubnet())) return false; + if (!getSubnet().equals(other.getSubnet())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -301,119 +342,126 @@ public int hashCode() { } public static com.google.cloud.edgenetwork.v1.UpdateSubnetRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.UpdateSubnetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.UpdateSubnetRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.UpdateSubnetRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.UpdateSubnetRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.UpdateSubnetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.UpdateSubnetRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.edgenetwork.v1.UpdateSubnetRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.UpdateSubnetRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.UpdateSubnetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.edgenetwork.v1.UpdateSubnetRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.UpdateSubnetRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.UpdateSubnetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.UpdateSubnetRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.UpdateSubnetRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for updating a Subnet
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.UpdateSubnetRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.UpdateSubnetRequest) com.google.cloud.edgenetwork.v1.UpdateSubnetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_UpdateSubnetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_UpdateSubnetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_UpdateSubnetRequest_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_UpdateSubnetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.UpdateSubnetRequest.class, com.google.cloud.edgenetwork.v1.UpdateSubnetRequest.Builder.class); + com.google.cloud.edgenetwork.v1.UpdateSubnetRequest.class, + com.google.cloud.edgenetwork.v1.UpdateSubnetRequest.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.UpdateSubnetRequest.newBuilder() @@ -421,18 +469,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getUpdateMaskFieldBuilder(); getSubnetFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -452,9 +500,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ServiceProto.internal_static_google_cloud_edgenetwork_v1_UpdateSubnetRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ServiceProto + .internal_static_google_cloud_edgenetwork_v1_UpdateSubnetRequest_descriptor; } @java.lang.Override @@ -473,8 +521,11 @@ public com.google.cloud.edgenetwork.v1.UpdateSubnetRequest build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.UpdateSubnetRequest buildPartial() { - com.google.cloud.edgenetwork.v1.UpdateSubnetRequest result = new com.google.cloud.edgenetwork.v1.UpdateSubnetRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.edgenetwork.v1.UpdateSubnetRequest result = + new com.google.cloud.edgenetwork.v1.UpdateSubnetRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -483,15 +534,11 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.UpdateSubnetRequest r int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.subnet_ = subnetBuilder_ == null - ? subnet_ - : subnetBuilder_.build(); + result.subnet_ = subnetBuilder_ == null ? subnet_ : subnetBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { @@ -504,38 +551,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.UpdateSubnetRequest r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.UpdateSubnetRequest) { - return mergeFrom((com.google.cloud.edgenetwork.v1.UpdateSubnetRequest)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.UpdateSubnetRequest) other); } else { super.mergeFrom(other); return this; @@ -543,7 +591,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.edgenetwork.v1.UpdateSubnetRequest other) { - if (other == com.google.cloud.edgenetwork.v1.UpdateSubnetRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.edgenetwork.v1.UpdateSubnetRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -581,31 +630,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getSubnetFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getSubnetFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -615,12 +664,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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. Field mask is used to specify the fields to be overwritten in the
      * Subnet resource by the update.
@@ -629,13 +684,17 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * Subnet resource by the update.
@@ -644,17 +703,23 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.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. Field mask is used to specify the fields to be overwritten in the
      * Subnet resource by the update.
@@ -663,7 +728,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -679,6 +745,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * Subnet resource by the update.
@@ -687,10 +755,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.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(); } else { @@ -701,6 +769,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * Subnet resource by the update.
@@ -709,13 +779,14 @@ public Builder setUpdateMask(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -730,6 +801,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * Subnet resource by the update.
@@ -738,7 +811,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -751,6 +825,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * Subnet resource by the update.
@@ -759,7 +835,8 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -767,6 +844,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * Subnet resource by the update.
@@ -775,17 +854,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.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. Field mask is used to specify the fields to be overwritten in the
      * Subnet resource by the update.
@@ -794,17 +877,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.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_; @@ -812,39 +899,58 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.edgenetwork.v1.Subnet subnet_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Subnet, com.google.cloud.edgenetwork.v1.Subnet.Builder, com.google.cloud.edgenetwork.v1.SubnetOrBuilder> subnetBuilder_; + com.google.cloud.edgenetwork.v1.Subnet, + com.google.cloud.edgenetwork.v1.Subnet.Builder, + com.google.cloud.edgenetwork.v1.SubnetOrBuilder> + subnetBuilder_; /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the subnet field is set. */ public boolean hasSubnet() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The subnet. */ public com.google.cloud.edgenetwork.v1.Subnet getSubnet() { if (subnetBuilder_ == null) { - return subnet_ == null ? com.google.cloud.edgenetwork.v1.Subnet.getDefaultInstance() : subnet_; + return subnet_ == null + ? com.google.cloud.edgenetwork.v1.Subnet.getDefaultInstance() + : subnet_; } else { return subnetBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSubnet(com.google.cloud.edgenetwork.v1.Subnet value) { if (subnetBuilder_ == null) { @@ -860,14 +966,17 @@ public Builder setSubnet(com.google.cloud.edgenetwork.v1.Subnet value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setSubnet( - com.google.cloud.edgenetwork.v1.Subnet.Builder builderForValue) { + public Builder setSubnet(com.google.cloud.edgenetwork.v1.Subnet.Builder builderForValue) { if (subnetBuilder_ == null) { subnet_ = builderForValue.build(); } else { @@ -878,17 +987,21 @@ public Builder setSubnet( return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeSubnet(com.google.cloud.edgenetwork.v1.Subnet value) { if (subnetBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - subnet_ != null && - subnet_ != com.google.cloud.edgenetwork.v1.Subnet.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && subnet_ != null + && subnet_ != com.google.cloud.edgenetwork.v1.Subnet.getDefaultInstance()) { getSubnetBuilder().mergeFrom(value); } else { subnet_ = value; @@ -903,11 +1016,15 @@ public Builder mergeSubnet(com.google.cloud.edgenetwork.v1.Subnet value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSubnet() { bitField0_ = (bitField0_ & ~0x00000002); @@ -920,11 +1037,15 @@ public Builder clearSubnet() { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.edgenetwork.v1.Subnet.Builder getSubnetBuilder() { bitField0_ |= 0x00000002; @@ -932,36 +1053,48 @@ public com.google.cloud.edgenetwork.v1.Subnet.Builder getSubnetBuilder() { return getSubnetFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.edgenetwork.v1.SubnetOrBuilder getSubnetOrBuilder() { if (subnetBuilder_ != null) { return subnetBuilder_.getMessageOrBuilder(); } else { - return subnet_ == null ? - com.google.cloud.edgenetwork.v1.Subnet.getDefaultInstance() : subnet_; + return subnet_ == null + ? com.google.cloud.edgenetwork.v1.Subnet.getDefaultInstance() + : subnet_; } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Subnet, com.google.cloud.edgenetwork.v1.Subnet.Builder, com.google.cloud.edgenetwork.v1.SubnetOrBuilder> + com.google.cloud.edgenetwork.v1.Subnet, + com.google.cloud.edgenetwork.v1.Subnet.Builder, + com.google.cloud.edgenetwork.v1.SubnetOrBuilder> getSubnetFieldBuilder() { if (subnetBuilder_ == null) { - subnetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgenetwork.v1.Subnet, com.google.cloud.edgenetwork.v1.Subnet.Builder, com.google.cloud.edgenetwork.v1.SubnetOrBuilder>( - getSubnet(), - getParentForChildren(), - isClean()); + subnetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgenetwork.v1.Subnet, + com.google.cloud.edgenetwork.v1.Subnet.Builder, + com.google.cloud.edgenetwork.v1.SubnetOrBuilder>( + getSubnet(), getParentForChildren(), isClean()); subnet_ = null; } return subnetBuilder_; @@ -969,6 +1102,8 @@ public com.google.cloud.edgenetwork.v1.SubnetOrBuilder getSubnetOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -986,13 +1121,13 @@ public com.google.cloud.edgenetwork.v1.SubnetOrBuilder getSubnetOrBuilder() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1001,6 +1136,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1018,15 +1155,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1034,6 +1170,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1051,18 +1189,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1080,6 +1222,7 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1089,6 +1232,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1106,21 +1251,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1130,12 +1277,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.UpdateSubnetRequest) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.UpdateSubnetRequest) private static final com.google.cloud.edgenetwork.v1.UpdateSubnetRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.UpdateSubnetRequest(); } @@ -1144,27 +1291,27 @@ public static com.google.cloud.edgenetwork.v1.UpdateSubnetRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateSubnetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateSubnetRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1179,6 +1326,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.UpdateSubnetRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateSubnetRequestOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateSubnetRequestOrBuilder.java similarity index 80% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateSubnetRequestOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateSubnetRequestOrBuilder.java index 5c76b148d14f..ec1267d9b677 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateSubnetRequestOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/UpdateSubnetRequestOrBuilder.java @@ -1,14 +1,32 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/service.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface UpdateSubnetRequestOrBuilder extends +public interface UpdateSubnetRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.UpdateSubnetRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * Subnet resource by the update.
@@ -17,11 +35,15 @@ public interface UpdateSubnetRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * Subnet resource by the update.
@@ -30,11 +52,15 @@ public interface UpdateSubnetRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. Field mask is used to specify the fields to be overwritten in the
    * Subnet resource by the update.
@@ -43,38 +69,52 @@ public interface UpdateSubnetRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the subnet field is set. */ boolean hasSubnet(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The subnet. */ com.google.cloud.edgenetwork.v1.Subnet getSubnet(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.edgenetwork.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.edgenetwork.v1.SubnetOrBuilder getSubnetOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -92,10 +132,13 @@ public interface UpdateSubnetRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -113,8 +156,8 @@ public interface UpdateSubnetRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Zone.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Zone.java similarity index 61% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Zone.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Zone.java index 80f336efe290..0028028b8086 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Zone.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/Zone.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/resources.proto @@ -5,21 +20,24 @@ package com.google.cloud.edgenetwork.v1; /** + * + * *
  * A Google Edge Cloud zone.
  * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.Zone} */ -public final class Zone extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Zone extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.edgenetwork.v1.Zone) ZoneOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Zone.newBuilder() to construct. private Zone(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Zone() { name_ = ""; layoutName_ = ""; @@ -27,14 +45,13 @@ private Zone() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Zone(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Zone_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Zone_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -45,28 +62,34 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 4: 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.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Zone_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Zone_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.Zone.class, com.google.cloud.edgenetwork.v1.Zone.Builder.class); + com.google.cloud.edgenetwork.v1.Zone.class, + com.google.cloud.edgenetwork.v1.Zone.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the zone.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -75,29 +98,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the zone.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -108,11 +131,15 @@ public java.lang.String getName() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time when the zone was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -120,11 +147,15 @@ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Output only. The time when the zone was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -132,11 +163,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time when the zone was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -146,11 +180,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The time when the zone was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -158,11 +196,15 @@ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Output only. The time when the zone was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -170,11 +212,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time when the zone was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -182,32 +227,35 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 4; + 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.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Zone_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.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Zone_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - 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_; } - @java.lang.Deprecated public int getLabelsCount() { + + @java.lang.Deprecated + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Deprecated: not implemented.
    * Labels as key value pairs.
@@ -216,20 +264,22 @@ private static final class LabelsDefaultEntryHolder {
    * map<string, string> labels = 4 [deprecated = true];
    */
   @java.lang.Override
-  @java.lang.Deprecated public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  @java.lang.Deprecated
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
+   *
+   *
    * 
    * Deprecated: not implemented.
    * Labels as key value pairs.
@@ -238,10 +288,13 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 4 [deprecated = true];
    */
   @java.lang.Override
-  @java.lang.Deprecated public java.util.Map getLabelsMap() {
+  @java.lang.Deprecated
+  public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Deprecated: not implemented.
    * Labels as key value pairs.
@@ -250,17 +303,20 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 4 [deprecated = true];
    */
   @java.lang.Override
-  @java.lang.Deprecated public /* nullable */
-java.lang.String getLabelsOrDefault(
+  @java.lang.Deprecated
+  public /* nullable */ java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Deprecated: not implemented.
    * Labels as key value pairs.
@@ -269,11 +325,12 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 4 [deprecated = true];
    */
   @java.lang.Override
-  @java.lang.Deprecated public java.lang.String getLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  @java.lang.Deprecated
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -281,51 +338,57 @@ java.lang.String getLabelsOrDefault(
   }
 
   public static final int LAYOUT_NAME_FIELD_NUMBER = 5;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object layoutName_ = "";
   /**
+   *
+   *
    * 
    * Deprecated: not implemented.
    * The deployment layout type.
    * 
* * string layout_name = 5 [deprecated = true]; - * @deprecated google.cloud.edgenetwork.v1.Zone.layout_name is deprecated. - * See google/cloud/edgenetwork/v1/resources.proto;l=79 + * + * @deprecated google.cloud.edgenetwork.v1.Zone.layout_name is deprecated. See + * google/cloud/edgenetwork/v1/resources.proto;l=79 * @return The layoutName. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getLayoutName() { + @java.lang.Deprecated + public java.lang.String getLayoutName() { java.lang.Object ref = layoutName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); layoutName_ = s; return s; } } /** + * + * *
    * Deprecated: not implemented.
    * The deployment layout type.
    * 
* * string layout_name = 5 [deprecated = true]; - * @deprecated google.cloud.edgenetwork.v1.Zone.layout_name is deprecated. - * See google/cloud/edgenetwork/v1/resources.proto;l=79 + * + * @deprecated google.cloud.edgenetwork.v1.Zone.layout_name is deprecated. See + * google/cloud/edgenetwork/v1/resources.proto;l=79 * @return The bytes for layoutName. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getLayoutNameBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getLayoutNameBytes() { java.lang.Object ref = layoutName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); layoutName_ = b; return b; } else { @@ -334,6 +397,7 @@ java.lang.String getLabelsOrDefault( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -345,8 +409,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -356,12 +419,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(layoutName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, layoutName_); } @@ -378,22 +437,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, 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(4, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, 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(4, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(layoutName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, layoutName_); @@ -406,29 +463,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.edgenetwork.v1.Zone)) { return super.equals(obj); } com.google.cloud.edgenetwork.v1.Zone other = (com.google.cloud.edgenetwork.v1.Zone) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) 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 (!getLayoutName() - .equals(other.getLayoutName())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getLayoutName().equals(other.getLayoutName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -461,112 +513,116 @@ public int hashCode() { return hash; } - public static com.google.cloud.edgenetwork.v1.Zone parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.edgenetwork.v1.Zone parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.Zone parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.edgenetwork.v1.Zone parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.edgenetwork.v1.Zone parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.Zone parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Zone parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.edgenetwork.v1.Zone parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Zone parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.Zone parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.edgenetwork.v1.Zone parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.edgenetwork.v1.Zone parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.edgenetwork.v1.Zone parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.edgenetwork.v1.Zone parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.edgenetwork.v1.Zone prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Google Edge Cloud zone.
    * 
* * Protobuf type {@code google.cloud.edgenetwork.v1.Zone} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.edgenetwork.v1.Zone) com.google.cloud.edgenetwork.v1.ZoneOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Zone_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Zone_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -576,10 +632,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 4: 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.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { @@ -587,16 +643,18 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi case 4: 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.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Zone_fieldAccessorTable + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Zone_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.edgenetwork.v1.Zone.class, com.google.cloud.edgenetwork.v1.Zone.Builder.class); + com.google.cloud.edgenetwork.v1.Zone.class, + com.google.cloud.edgenetwork.v1.Zone.Builder.class); } // Construct using com.google.cloud.edgenetwork.v1.Zone.newBuilder() @@ -604,18 +662,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCreateTimeFieldBuilder(); getUpdateTimeFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -637,9 +695,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.edgenetwork.v1.ResourcesProto.internal_static_google_cloud_edgenetwork_v1_Zone_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgenetwork.v1.ResourcesProto + .internal_static_google_cloud_edgenetwork_v1_Zone_descriptor; } @java.lang.Override @@ -659,7 +717,9 @@ public com.google.cloud.edgenetwork.v1.Zone build() { @java.lang.Override public com.google.cloud.edgenetwork.v1.Zone buildPartial() { com.google.cloud.edgenetwork.v1.Zone result = new com.google.cloud.edgenetwork.v1.Zone(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -671,15 +731,11 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.Zone result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { @@ -696,38 +752,39 @@ private void buildPartial0(com.google.cloud.edgenetwork.v1.Zone result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.edgenetwork.v1.Zone) { - return mergeFrom((com.google.cloud.edgenetwork.v1.Zone)other); + return mergeFrom((com.google.cloud.edgenetwork.v1.Zone) other); } else { super.mergeFrom(other); return this; @@ -747,8 +804,7 @@ public Builder mergeFrom(com.google.cloud.edgenetwork.v1.Zone other) { if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); bitField0_ |= 0x00000008; if (!other.getLayoutName().isEmpty()) { layoutName_ = other.layoutName_; @@ -781,45 +837,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - layoutName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + layoutName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -829,22 +889,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the zone.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -853,20 +916,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the zone.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -874,28 +938,35 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the zone.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the zone.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -905,17 +976,21 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the zone.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -925,39 +1000,58 @@ public Builder setNameBytes( 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 when the zone was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The time when the zone was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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 when the zone was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -973,14 +1067,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the zone was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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(); } else { @@ -991,17 +1088,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time when the zone was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1016,11 +1117,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the zone was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1033,11 +1138,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time when the zone was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000002; @@ -1045,36 +1154,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the zone was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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 when the zone was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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_; @@ -1082,39 +1203,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 when the zone was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The time when the zone was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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 when the zone was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1130,14 +1270,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the zone was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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(); } else { @@ -1148,17 +1291,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time when the zone was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1173,11 +1320,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the zone was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1190,11 +1341,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time when the zone was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1202,56 +1357,68 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the zone was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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 when the zone was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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_; - @java.lang.Deprecated private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + @java.lang.Deprecated + 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_; } - @java.lang.Deprecated private com.google.protobuf.MapField + + @java.lang.Deprecated + private com.google.protobuf.MapField internalGetMutableLabels() { 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(); @@ -1260,10 +1427,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { onChanged(); return labels_; } - @java.lang.Deprecated public int getLabelsCount() { + + @java.lang.Deprecated + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Deprecated: not implemented.
      * Labels as key value pairs.
@@ -1272,20 +1443,22 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * map<string, string> labels = 4 [deprecated = true];
      */
     @java.lang.Override
-    @java.lang.Deprecated public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    @java.lang.Deprecated
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
+     *
+     *
      * 
      * Deprecated: not implemented.
      * Labels as key value pairs.
@@ -1294,10 +1467,13 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 4 [deprecated = true];
      */
     @java.lang.Override
-    @java.lang.Deprecated public java.util.Map getLabelsMap() {
+    @java.lang.Deprecated
+    public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Deprecated: not implemented.
      * Labels as key value pairs.
@@ -1306,17 +1482,20 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 4 [deprecated = true];
      */
     @java.lang.Override
-    @java.lang.Deprecated public /* nullable */
-java.lang.String getLabelsOrDefault(
+    @java.lang.Deprecated
+    public /* nullable */ java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Deprecated: not implemented.
      * Labels as key value pairs.
@@ -1325,23 +1504,27 @@ java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 4 [deprecated = true];
      */
     @java.lang.Override
-    @java.lang.Deprecated public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    @java.lang.Deprecated
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-    @java.lang.Deprecated public Builder clearLabels() {
+
+    @java.lang.Deprecated
+    public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000008);
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Deprecated: not implemented.
      * Labels as key value pairs.
@@ -1349,23 +1532,23 @@ java.lang.String getLabelsOrDefault(
      *
      * map<string, string> labels = 4 [deprecated = true];
      */
-    @java.lang.Deprecated public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    @java.lang.Deprecated
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       bitField0_ |= 0x00000008;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Deprecated: not implemented.
      * Labels as key value pairs.
@@ -1373,17 +1556,21 @@ java.lang.String getLabelsOrDefault(
      *
      * map<string, string> labels = 4 [deprecated = true];
      */
-    @java.lang.Deprecated public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+    @java.lang.Deprecated
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableLabels().getMutableMap().put(key, value);
       bitField0_ |= 0x00000008;
       return this;
     }
     /**
+     *
+     *
      * 
      * Deprecated: not implemented.
      * Labels as key value pairs.
@@ -1391,31 +1578,33 @@ java.lang.String getLabelsOrDefault(
      *
      * map<string, string> labels = 4 [deprecated = true];
      */
-    @java.lang.Deprecated public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    @java.lang.Deprecated
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       bitField0_ |= 0x00000008;
       return this;
     }
 
     private java.lang.Object layoutName_ = "";
     /**
+     *
+     *
      * 
      * Deprecated: not implemented.
      * The deployment layout type.
      * 
* * string layout_name = 5 [deprecated = true]; - * @deprecated google.cloud.edgenetwork.v1.Zone.layout_name is deprecated. - * See google/cloud/edgenetwork/v1/resources.proto;l=79 + * + * @deprecated google.cloud.edgenetwork.v1.Zone.layout_name is deprecated. See + * google/cloud/edgenetwork/v1/resources.proto;l=79 * @return The layoutName. */ - @java.lang.Deprecated public java.lang.String getLayoutName() { + @java.lang.Deprecated + public java.lang.String getLayoutName() { java.lang.Object ref = layoutName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); layoutName_ = s; return s; @@ -1424,23 +1613,25 @@ java.lang.String getLabelsOrDefault( } } /** + * + * *
      * Deprecated: not implemented.
      * The deployment layout type.
      * 
* * string layout_name = 5 [deprecated = true]; - * @deprecated google.cloud.edgenetwork.v1.Zone.layout_name is deprecated. - * See google/cloud/edgenetwork/v1/resources.proto;l=79 + * + * @deprecated google.cloud.edgenetwork.v1.Zone.layout_name is deprecated. See + * google/cloud/edgenetwork/v1/resources.proto;l=79 * @return The bytes for layoutName. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getLayoutNameBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getLayoutNameBytes() { java.lang.Object ref = layoutName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); layoutName_ = b; return b; } else { @@ -1448,66 +1639,80 @@ java.lang.String getLabelsOrDefault( } } /** + * + * *
      * Deprecated: not implemented.
      * The deployment layout type.
      * 
* * string layout_name = 5 [deprecated = true]; - * @deprecated google.cloud.edgenetwork.v1.Zone.layout_name is deprecated. - * See google/cloud/edgenetwork/v1/resources.proto;l=79 + * + * @deprecated google.cloud.edgenetwork.v1.Zone.layout_name is deprecated. See + * google/cloud/edgenetwork/v1/resources.proto;l=79 * @param value The layoutName to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setLayoutName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setLayoutName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } layoutName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Deprecated: not implemented.
      * The deployment layout type.
      * 
* * string layout_name = 5 [deprecated = true]; - * @deprecated google.cloud.edgenetwork.v1.Zone.layout_name is deprecated. - * See google/cloud/edgenetwork/v1/resources.proto;l=79 + * + * @deprecated google.cloud.edgenetwork.v1.Zone.layout_name is deprecated. See + * google/cloud/edgenetwork/v1/resources.proto;l=79 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearLayoutName() { + @java.lang.Deprecated + public Builder clearLayoutName() { layoutName_ = getDefaultInstance().getLayoutName(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** + * + * *
      * Deprecated: not implemented.
      * The deployment layout type.
      * 
* * string layout_name = 5 [deprecated = true]; - * @deprecated google.cloud.edgenetwork.v1.Zone.layout_name is deprecated. - * See google/cloud/edgenetwork/v1/resources.proto;l=79 + * + * @deprecated google.cloud.edgenetwork.v1.Zone.layout_name is deprecated. See + * google/cloud/edgenetwork/v1/resources.proto;l=79 * @param value The bytes for layoutName to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setLayoutNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setLayoutNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); layoutName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1517,12 +1722,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.edgenetwork.v1.Zone) } // @@protoc_insertion_point(class_scope:google.cloud.edgenetwork.v1.Zone) private static final com.google.cloud.edgenetwork.v1.Zone DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.edgenetwork.v1.Zone(); } @@ -1531,27 +1736,27 @@ public static com.google.cloud.edgenetwork.v1.Zone getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Zone parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Zone parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1566,6 +1771,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.edgenetwork.v1.Zone getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ZoneName.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ZoneName.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ZoneName.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ZoneName.java diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ZoneOrBuilder.java b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ZoneOrBuilder.java similarity index 65% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ZoneOrBuilder.java rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ZoneOrBuilder.java index 6aee3097c8c9..af096141e836 100644 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ZoneOrBuilder.java +++ b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ZoneOrBuilder.java @@ -1,88 +1,133 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/edgenetwork/v1/resources.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.edgenetwork.v1; -public interface ZoneOrBuilder extends +public interface ZoneOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.Zone) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the zone.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the zone.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. The time when the zone was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time when the zone was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time when the zone was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time when the zone was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The time when the zone was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The time when the zone was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Deprecated: not implemented.
    * Labels as key value pairs.
@@ -90,8 +135,11 @@ public interface ZoneOrBuilder extends
    *
    * map<string, string> labels = 4 [deprecated = true];
    */
-  @java.lang.Deprecated int getLabelsCount();
+  @java.lang.Deprecated
+  int getLabelsCount();
   /**
+   *
+   *
    * 
    * Deprecated: not implemented.
    * Labels as key value pairs.
@@ -99,15 +147,14 @@ public interface ZoneOrBuilder extends
    *
    * map<string, string> labels = 4 [deprecated = true];
    */
-  @java.lang.Deprecated boolean containsLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
   @java.lang.Deprecated
-  java.util.Map
-  getLabels();
+  boolean containsLabels(java.lang.String key);
+  /** Use {@link #getLabelsMap()} instead. */
+  @java.lang.Deprecated
+  java.util.Map getLabels();
   /**
+   *
+   *
    * 
    * Deprecated: not implemented.
    * Labels as key value pairs.
@@ -115,9 +162,11 @@ public interface ZoneOrBuilder extends
    *
    * map<string, string> labels = 4 [deprecated = true];
    */
-  @java.lang.Deprecated java.util.Map
-  getLabelsMap();
+  @java.lang.Deprecated
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Deprecated: not implemented.
    * Labels as key value pairs.
@@ -126,11 +175,13 @@ public interface ZoneOrBuilder extends
    * map<string, string> labels = 4 [deprecated = true];
    */
   @java.lang.Deprecated /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Deprecated: not implemented.
    * Labels as key value pairs.
@@ -138,32 +189,39 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 4 [deprecated = true];
    */
-  @java.lang.Deprecated java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  @java.lang.Deprecated
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Deprecated: not implemented.
    * The deployment layout type.
    * 
* * string layout_name = 5 [deprecated = true]; - * @deprecated google.cloud.edgenetwork.v1.Zone.layout_name is deprecated. - * See google/cloud/edgenetwork/v1/resources.proto;l=79 + * + * @deprecated google.cloud.edgenetwork.v1.Zone.layout_name is deprecated. See + * google/cloud/edgenetwork/v1/resources.proto;l=79 * @return The layoutName. */ - @java.lang.Deprecated java.lang.String getLayoutName(); + @java.lang.Deprecated + java.lang.String getLayoutName(); /** + * + * *
    * Deprecated: not implemented.
    * The deployment layout type.
    * 
* * string layout_name = 5 [deprecated = true]; - * @deprecated google.cloud.edgenetwork.v1.Zone.layout_name is deprecated. - * See google/cloud/edgenetwork/v1/resources.proto;l=79 + * + * @deprecated google.cloud.edgenetwork.v1.Zone.layout_name is deprecated. See + * google/cloud/edgenetwork/v1/resources.proto;l=79 * @return The bytes for layoutName. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getLayoutNameBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getLayoutNameBytes(); } diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/proto/google/cloud/edgenetwork/v1/resources.proto b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/proto/google/cloud/edgenetwork/v1/resources.proto similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/proto/google/cloud/edgenetwork/v1/resources.proto rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/proto/google/cloud/edgenetwork/v1/resources.proto diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/proto/google/cloud/edgenetwork/v1/service.proto b/java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/proto/google/cloud/edgenetwork/v1/service.proto similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/proto/google/cloud/edgenetwork/v1/service.proto rename to java-edgenetwork/proto-google-cloud-edgenetwork-v1/src/main/proto/google/cloud/edgenetwork/v1/service.proto diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/create/SyncCreateSetCredentialsProvider.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/create/SyncCreateSetCredentialsProvider.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/create/SyncCreateSetCredentialsProvider1.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/create/SyncCreateSetCredentialsProvider1.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/create/SyncCreateSetEndpoint.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/create/SyncCreateSetEndpoint.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createinterconnectattachment/AsyncCreateInterconnectAttachment.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createinterconnectattachment/AsyncCreateInterconnectAttachment.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createinterconnectattachment/AsyncCreateInterconnectAttachment.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createinterconnectattachment/AsyncCreateInterconnectAttachment.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createinterconnectattachment/AsyncCreateInterconnectAttachmentLRO.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createinterconnectattachment/AsyncCreateInterconnectAttachmentLRO.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createinterconnectattachment/AsyncCreateInterconnectAttachmentLRO.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createinterconnectattachment/AsyncCreateInterconnectAttachmentLRO.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createinterconnectattachment/SyncCreateInterconnectAttachment.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createinterconnectattachment/SyncCreateInterconnectAttachment.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createinterconnectattachment/SyncCreateInterconnectAttachment.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createinterconnectattachment/SyncCreateInterconnectAttachment.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createinterconnectattachment/SyncCreateInterconnectAttachmentStringInterconnectattachmentString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createinterconnectattachment/SyncCreateInterconnectAttachmentStringInterconnectattachmentString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createinterconnectattachment/SyncCreateInterconnectAttachmentStringInterconnectattachmentString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createinterconnectattachment/SyncCreateInterconnectAttachmentStringInterconnectattachmentString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createinterconnectattachment/SyncCreateInterconnectAttachmentZonenameInterconnectattachmentString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createinterconnectattachment/SyncCreateInterconnectAttachmentZonenameInterconnectattachmentString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createinterconnectattachment/SyncCreateInterconnectAttachmentZonenameInterconnectattachmentString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createinterconnectattachment/SyncCreateInterconnectAttachmentZonenameInterconnectattachmentString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createnetwork/AsyncCreateNetwork.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createnetwork/AsyncCreateNetwork.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createnetwork/AsyncCreateNetwork.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createnetwork/AsyncCreateNetwork.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createnetwork/AsyncCreateNetworkLRO.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createnetwork/AsyncCreateNetworkLRO.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createnetwork/AsyncCreateNetworkLRO.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createnetwork/AsyncCreateNetworkLRO.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createnetwork/SyncCreateNetwork.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createnetwork/SyncCreateNetwork.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createnetwork/SyncCreateNetwork.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createnetwork/SyncCreateNetwork.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createnetwork/SyncCreateNetworkStringNetworkString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createnetwork/SyncCreateNetworkStringNetworkString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createnetwork/SyncCreateNetworkStringNetworkString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createnetwork/SyncCreateNetworkStringNetworkString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createnetwork/SyncCreateNetworkZonenameNetworkString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createnetwork/SyncCreateNetworkZonenameNetworkString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createnetwork/SyncCreateNetworkZonenameNetworkString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createnetwork/SyncCreateNetworkZonenameNetworkString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createrouter/AsyncCreateRouter.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createrouter/AsyncCreateRouter.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createrouter/AsyncCreateRouter.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createrouter/AsyncCreateRouter.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createrouter/AsyncCreateRouterLRO.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createrouter/AsyncCreateRouterLRO.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createrouter/AsyncCreateRouterLRO.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createrouter/AsyncCreateRouterLRO.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createrouter/SyncCreateRouter.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createrouter/SyncCreateRouter.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createrouter/SyncCreateRouter.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createrouter/SyncCreateRouter.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createrouter/SyncCreateRouterStringRouterString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createrouter/SyncCreateRouterStringRouterString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createrouter/SyncCreateRouterStringRouterString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createrouter/SyncCreateRouterStringRouterString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createrouter/SyncCreateRouterZonenameRouterString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createrouter/SyncCreateRouterZonenameRouterString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createrouter/SyncCreateRouterZonenameRouterString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createrouter/SyncCreateRouterZonenameRouterString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createsubnet/AsyncCreateSubnet.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createsubnet/AsyncCreateSubnet.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createsubnet/AsyncCreateSubnet.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createsubnet/AsyncCreateSubnet.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createsubnet/AsyncCreateSubnetLRO.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createsubnet/AsyncCreateSubnetLRO.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createsubnet/AsyncCreateSubnetLRO.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createsubnet/AsyncCreateSubnetLRO.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createsubnet/SyncCreateSubnet.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createsubnet/SyncCreateSubnet.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createsubnet/SyncCreateSubnet.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createsubnet/SyncCreateSubnet.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createsubnet/SyncCreateSubnetStringSubnetString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createsubnet/SyncCreateSubnetStringSubnetString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createsubnet/SyncCreateSubnetStringSubnetString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createsubnet/SyncCreateSubnetStringSubnetString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createsubnet/SyncCreateSubnetZonenameSubnetString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createsubnet/SyncCreateSubnetZonenameSubnetString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createsubnet/SyncCreateSubnetZonenameSubnetString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/createsubnet/SyncCreateSubnetZonenameSubnetString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleteinterconnectattachment/AsyncDeleteInterconnectAttachment.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleteinterconnectattachment/AsyncDeleteInterconnectAttachment.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleteinterconnectattachment/AsyncDeleteInterconnectAttachment.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleteinterconnectattachment/AsyncDeleteInterconnectAttachment.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleteinterconnectattachment/AsyncDeleteInterconnectAttachmentLRO.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleteinterconnectattachment/AsyncDeleteInterconnectAttachmentLRO.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleteinterconnectattachment/AsyncDeleteInterconnectAttachmentLRO.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleteinterconnectattachment/AsyncDeleteInterconnectAttachmentLRO.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleteinterconnectattachment/SyncDeleteInterconnectAttachment.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleteinterconnectattachment/SyncDeleteInterconnectAttachment.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleteinterconnectattachment/SyncDeleteInterconnectAttachment.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleteinterconnectattachment/SyncDeleteInterconnectAttachment.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleteinterconnectattachment/SyncDeleteInterconnectAttachmentInterconnectattachmentname.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleteinterconnectattachment/SyncDeleteInterconnectAttachmentInterconnectattachmentname.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleteinterconnectattachment/SyncDeleteInterconnectAttachmentInterconnectattachmentname.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleteinterconnectattachment/SyncDeleteInterconnectAttachmentInterconnectattachmentname.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleteinterconnectattachment/SyncDeleteInterconnectAttachmentString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleteinterconnectattachment/SyncDeleteInterconnectAttachmentString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleteinterconnectattachment/SyncDeleteInterconnectAttachmentString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleteinterconnectattachment/SyncDeleteInterconnectAttachmentString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletenetwork/AsyncDeleteNetwork.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletenetwork/AsyncDeleteNetwork.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletenetwork/AsyncDeleteNetwork.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletenetwork/AsyncDeleteNetwork.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletenetwork/AsyncDeleteNetworkLRO.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletenetwork/AsyncDeleteNetworkLRO.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletenetwork/AsyncDeleteNetworkLRO.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletenetwork/AsyncDeleteNetworkLRO.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletenetwork/SyncDeleteNetwork.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletenetwork/SyncDeleteNetwork.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletenetwork/SyncDeleteNetwork.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletenetwork/SyncDeleteNetwork.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletenetwork/SyncDeleteNetworkNetworkname.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletenetwork/SyncDeleteNetworkNetworkname.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletenetwork/SyncDeleteNetworkNetworkname.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletenetwork/SyncDeleteNetworkNetworkname.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletenetwork/SyncDeleteNetworkString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletenetwork/SyncDeleteNetworkString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletenetwork/SyncDeleteNetworkString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletenetwork/SyncDeleteNetworkString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleterouter/AsyncDeleteRouter.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleterouter/AsyncDeleteRouter.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleterouter/AsyncDeleteRouter.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleterouter/AsyncDeleteRouter.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleterouter/AsyncDeleteRouterLRO.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleterouter/AsyncDeleteRouterLRO.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleterouter/AsyncDeleteRouterLRO.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleterouter/AsyncDeleteRouterLRO.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleterouter/SyncDeleteRouter.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleterouter/SyncDeleteRouter.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleterouter/SyncDeleteRouter.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleterouter/SyncDeleteRouter.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleterouter/SyncDeleteRouterRoutername.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleterouter/SyncDeleteRouterRoutername.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleterouter/SyncDeleteRouterRoutername.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleterouter/SyncDeleteRouterRoutername.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleterouter/SyncDeleteRouterString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleterouter/SyncDeleteRouterString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleterouter/SyncDeleteRouterString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deleterouter/SyncDeleteRouterString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletesubnet/AsyncDeleteSubnet.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletesubnet/AsyncDeleteSubnet.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletesubnet/AsyncDeleteSubnet.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletesubnet/AsyncDeleteSubnet.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletesubnet/AsyncDeleteSubnetLRO.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletesubnet/AsyncDeleteSubnetLRO.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletesubnet/AsyncDeleteSubnetLRO.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletesubnet/AsyncDeleteSubnetLRO.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletesubnet/SyncDeleteSubnet.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletesubnet/SyncDeleteSubnet.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletesubnet/SyncDeleteSubnet.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletesubnet/SyncDeleteSubnet.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletesubnet/SyncDeleteSubnetString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletesubnet/SyncDeleteSubnetString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletesubnet/SyncDeleteSubnetString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletesubnet/SyncDeleteSubnetString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletesubnet/SyncDeleteSubnetSubnetname.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletesubnet/SyncDeleteSubnetSubnetname.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletesubnet/SyncDeleteSubnetSubnetname.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/deletesubnet/SyncDeleteSubnetSubnetname.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoseinterconnect/AsyncDiagnoseInterconnect.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoseinterconnect/AsyncDiagnoseInterconnect.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoseinterconnect/AsyncDiagnoseInterconnect.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoseinterconnect/AsyncDiagnoseInterconnect.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoseinterconnect/SyncDiagnoseInterconnect.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoseinterconnect/SyncDiagnoseInterconnect.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoseinterconnect/SyncDiagnoseInterconnect.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoseinterconnect/SyncDiagnoseInterconnect.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoseinterconnect/SyncDiagnoseInterconnectInterconnectname.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoseinterconnect/SyncDiagnoseInterconnectInterconnectname.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoseinterconnect/SyncDiagnoseInterconnectInterconnectname.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoseinterconnect/SyncDiagnoseInterconnectInterconnectname.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoseinterconnect/SyncDiagnoseInterconnectString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoseinterconnect/SyncDiagnoseInterconnectString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoseinterconnect/SyncDiagnoseInterconnectString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoseinterconnect/SyncDiagnoseInterconnectString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnosenetwork/AsyncDiagnoseNetwork.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnosenetwork/AsyncDiagnoseNetwork.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnosenetwork/AsyncDiagnoseNetwork.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnosenetwork/AsyncDiagnoseNetwork.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnosenetwork/SyncDiagnoseNetwork.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnosenetwork/SyncDiagnoseNetwork.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnosenetwork/SyncDiagnoseNetwork.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnosenetwork/SyncDiagnoseNetwork.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnosenetwork/SyncDiagnoseNetworkNetworkname.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnosenetwork/SyncDiagnoseNetworkNetworkname.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnosenetwork/SyncDiagnoseNetworkNetworkname.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnosenetwork/SyncDiagnoseNetworkNetworkname.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnosenetwork/SyncDiagnoseNetworkString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnosenetwork/SyncDiagnoseNetworkString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnosenetwork/SyncDiagnoseNetworkString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnosenetwork/SyncDiagnoseNetworkString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoserouter/AsyncDiagnoseRouter.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoserouter/AsyncDiagnoseRouter.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoserouter/AsyncDiagnoseRouter.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoserouter/AsyncDiagnoseRouter.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoserouter/SyncDiagnoseRouter.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoserouter/SyncDiagnoseRouter.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoserouter/SyncDiagnoseRouter.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoserouter/SyncDiagnoseRouter.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoserouter/SyncDiagnoseRouterRoutername.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoserouter/SyncDiagnoseRouterRoutername.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoserouter/SyncDiagnoseRouterRoutername.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoserouter/SyncDiagnoseRouterRoutername.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoserouter/SyncDiagnoseRouterString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoserouter/SyncDiagnoseRouterString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoserouter/SyncDiagnoseRouterString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/diagnoserouter/SyncDiagnoseRouterString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnect/AsyncGetInterconnect.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnect/AsyncGetInterconnect.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnect/AsyncGetInterconnect.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnect/AsyncGetInterconnect.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnect/SyncGetInterconnect.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnect/SyncGetInterconnect.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnect/SyncGetInterconnect.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnect/SyncGetInterconnect.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnect/SyncGetInterconnectInterconnectname.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnect/SyncGetInterconnectInterconnectname.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnect/SyncGetInterconnectInterconnectname.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnect/SyncGetInterconnectInterconnectname.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnect/SyncGetInterconnectString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnect/SyncGetInterconnectString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnect/SyncGetInterconnectString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnect/SyncGetInterconnectString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnectattachment/AsyncGetInterconnectAttachment.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnectattachment/AsyncGetInterconnectAttachment.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnectattachment/AsyncGetInterconnectAttachment.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnectattachment/AsyncGetInterconnectAttachment.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnectattachment/SyncGetInterconnectAttachment.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnectattachment/SyncGetInterconnectAttachment.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnectattachment/SyncGetInterconnectAttachment.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnectattachment/SyncGetInterconnectAttachment.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnectattachment/SyncGetInterconnectAttachmentInterconnectattachmentname.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnectattachment/SyncGetInterconnectAttachmentInterconnectattachmentname.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnectattachment/SyncGetInterconnectAttachmentInterconnectattachmentname.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnectattachment/SyncGetInterconnectAttachmentInterconnectattachmentname.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnectattachment/SyncGetInterconnectAttachmentString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnectattachment/SyncGetInterconnectAttachmentString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnectattachment/SyncGetInterconnectAttachmentString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getinterconnectattachment/SyncGetInterconnectAttachmentString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getlocation/AsyncGetLocation.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getlocation/AsyncGetLocation.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getlocation/AsyncGetLocation.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getlocation/AsyncGetLocation.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getlocation/SyncGetLocation.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getlocation/SyncGetLocation.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getlocation/SyncGetLocation.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getlocation/SyncGetLocation.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getnetwork/AsyncGetNetwork.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getnetwork/AsyncGetNetwork.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getnetwork/AsyncGetNetwork.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getnetwork/AsyncGetNetwork.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getnetwork/SyncGetNetwork.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getnetwork/SyncGetNetwork.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getnetwork/SyncGetNetwork.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getnetwork/SyncGetNetwork.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getnetwork/SyncGetNetworkNetworkname.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getnetwork/SyncGetNetworkNetworkname.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getnetwork/SyncGetNetworkNetworkname.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getnetwork/SyncGetNetworkNetworkname.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getnetwork/SyncGetNetworkString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getnetwork/SyncGetNetworkString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getnetwork/SyncGetNetworkString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getnetwork/SyncGetNetworkString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getrouter/AsyncGetRouter.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getrouter/AsyncGetRouter.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getrouter/AsyncGetRouter.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getrouter/AsyncGetRouter.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getrouter/SyncGetRouter.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getrouter/SyncGetRouter.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getrouter/SyncGetRouter.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getrouter/SyncGetRouter.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getrouter/SyncGetRouterRoutername.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getrouter/SyncGetRouterRoutername.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getrouter/SyncGetRouterRoutername.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getrouter/SyncGetRouterRoutername.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getrouter/SyncGetRouterString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getrouter/SyncGetRouterString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getrouter/SyncGetRouterString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getrouter/SyncGetRouterString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getsubnet/AsyncGetSubnet.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getsubnet/AsyncGetSubnet.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getsubnet/AsyncGetSubnet.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getsubnet/AsyncGetSubnet.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getsubnet/SyncGetSubnet.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getsubnet/SyncGetSubnet.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getsubnet/SyncGetSubnet.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getsubnet/SyncGetSubnet.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getsubnet/SyncGetSubnetString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getsubnet/SyncGetSubnetString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getsubnet/SyncGetSubnetString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getsubnet/SyncGetSubnetString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getsubnet/SyncGetSubnetSubnetname.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getsubnet/SyncGetSubnetSubnetname.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getsubnet/SyncGetSubnetSubnetname.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getsubnet/SyncGetSubnetSubnetname.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getzone/AsyncGetZone.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getzone/AsyncGetZone.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getzone/AsyncGetZone.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getzone/AsyncGetZone.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getzone/SyncGetZone.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getzone/SyncGetZone.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getzone/SyncGetZone.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getzone/SyncGetZone.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getzone/SyncGetZoneString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getzone/SyncGetZoneString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getzone/SyncGetZoneString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getzone/SyncGetZoneString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getzone/SyncGetZoneZonename.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getzone/SyncGetZoneZonename.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getzone/SyncGetZoneZonename.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/getzone/SyncGetZoneZonename.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/initializezone/AsyncInitializeZone.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/initializezone/AsyncInitializeZone.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/initializezone/AsyncInitializeZone.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/initializezone/AsyncInitializeZone.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/initializezone/SyncInitializeZone.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/initializezone/SyncInitializeZone.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/initializezone/SyncInitializeZone.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/initializezone/SyncInitializeZone.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/initializezone/SyncInitializeZoneString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/initializezone/SyncInitializeZoneString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/initializezone/SyncInitializeZoneString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/initializezone/SyncInitializeZoneString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/initializezone/SyncInitializeZoneZonename.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/initializezone/SyncInitializeZoneZonename.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/initializezone/SyncInitializeZoneZonename.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/initializezone/SyncInitializeZoneZonename.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnectattachments/AsyncListInterconnectAttachments.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnectattachments/AsyncListInterconnectAttachments.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnectattachments/AsyncListInterconnectAttachments.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnectattachments/AsyncListInterconnectAttachments.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnectattachments/AsyncListInterconnectAttachmentsPaged.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnectattachments/AsyncListInterconnectAttachmentsPaged.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnectattachments/AsyncListInterconnectAttachmentsPaged.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnectattachments/AsyncListInterconnectAttachmentsPaged.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnectattachments/SyncListInterconnectAttachments.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnectattachments/SyncListInterconnectAttachments.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnectattachments/SyncListInterconnectAttachments.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnectattachments/SyncListInterconnectAttachments.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnectattachments/SyncListInterconnectAttachmentsString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnectattachments/SyncListInterconnectAttachmentsString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnectattachments/SyncListInterconnectAttachmentsString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnectattachments/SyncListInterconnectAttachmentsString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnectattachments/SyncListInterconnectAttachmentsZonename.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnectattachments/SyncListInterconnectAttachmentsZonename.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnectattachments/SyncListInterconnectAttachmentsZonename.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnectattachments/SyncListInterconnectAttachmentsZonename.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnects/AsyncListInterconnects.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnects/AsyncListInterconnects.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnects/AsyncListInterconnects.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnects/AsyncListInterconnects.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnects/AsyncListInterconnectsPaged.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnects/AsyncListInterconnectsPaged.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnects/AsyncListInterconnectsPaged.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnects/AsyncListInterconnectsPaged.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnects/SyncListInterconnects.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnects/SyncListInterconnects.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnects/SyncListInterconnects.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnects/SyncListInterconnects.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnects/SyncListInterconnectsString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnects/SyncListInterconnectsString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnects/SyncListInterconnectsString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnects/SyncListInterconnectsString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnects/SyncListInterconnectsZonename.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnects/SyncListInterconnectsZonename.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnects/SyncListInterconnectsZonename.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listinterconnects/SyncListInterconnectsZonename.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listlocations/AsyncListLocations.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listlocations/AsyncListLocations.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listlocations/AsyncListLocations.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listlocations/AsyncListLocations.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listlocations/AsyncListLocationsPaged.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listlocations/AsyncListLocationsPaged.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listlocations/AsyncListLocationsPaged.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listlocations/SyncListLocations.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listlocations/SyncListLocations.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listlocations/SyncListLocations.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listlocations/SyncListLocations.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listnetworks/AsyncListNetworks.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listnetworks/AsyncListNetworks.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listnetworks/AsyncListNetworks.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listnetworks/AsyncListNetworks.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listnetworks/AsyncListNetworksPaged.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listnetworks/AsyncListNetworksPaged.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listnetworks/AsyncListNetworksPaged.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listnetworks/AsyncListNetworksPaged.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listnetworks/SyncListNetworks.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listnetworks/SyncListNetworks.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listnetworks/SyncListNetworks.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listnetworks/SyncListNetworks.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listnetworks/SyncListNetworksString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listnetworks/SyncListNetworksString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listnetworks/SyncListNetworksString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listnetworks/SyncListNetworksString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listnetworks/SyncListNetworksZonename.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listnetworks/SyncListNetworksZonename.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listnetworks/SyncListNetworksZonename.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listnetworks/SyncListNetworksZonename.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listrouters/AsyncListRouters.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listrouters/AsyncListRouters.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listrouters/AsyncListRouters.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listrouters/AsyncListRouters.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listrouters/AsyncListRoutersPaged.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listrouters/AsyncListRoutersPaged.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listrouters/AsyncListRoutersPaged.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listrouters/AsyncListRoutersPaged.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listrouters/SyncListRouters.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listrouters/SyncListRouters.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listrouters/SyncListRouters.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listrouters/SyncListRouters.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listrouters/SyncListRoutersString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listrouters/SyncListRoutersString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listrouters/SyncListRoutersString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listrouters/SyncListRoutersString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listrouters/SyncListRoutersZonename.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listrouters/SyncListRoutersZonename.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listrouters/SyncListRoutersZonename.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listrouters/SyncListRoutersZonename.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listsubnets/AsyncListSubnets.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listsubnets/AsyncListSubnets.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listsubnets/AsyncListSubnets.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listsubnets/AsyncListSubnets.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listsubnets/AsyncListSubnetsPaged.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listsubnets/AsyncListSubnetsPaged.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listsubnets/AsyncListSubnetsPaged.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listsubnets/AsyncListSubnetsPaged.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listsubnets/SyncListSubnets.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listsubnets/SyncListSubnets.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listsubnets/SyncListSubnets.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listsubnets/SyncListSubnets.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listsubnets/SyncListSubnetsString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listsubnets/SyncListSubnetsString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listsubnets/SyncListSubnetsString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listsubnets/SyncListSubnetsString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listsubnets/SyncListSubnetsZonename.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listsubnets/SyncListSubnetsZonename.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listsubnets/SyncListSubnetsZonename.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listsubnets/SyncListSubnetsZonename.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listzones/AsyncListZones.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listzones/AsyncListZones.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listzones/AsyncListZones.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listzones/AsyncListZones.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listzones/AsyncListZonesPaged.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listzones/AsyncListZonesPaged.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listzones/AsyncListZonesPaged.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listzones/AsyncListZonesPaged.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listzones/SyncListZones.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listzones/SyncListZones.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listzones/SyncListZones.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listzones/SyncListZones.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listzones/SyncListZonesLocationname.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listzones/SyncListZonesLocationname.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listzones/SyncListZonesLocationname.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listzones/SyncListZonesLocationname.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listzones/SyncListZonesString.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listzones/SyncListZonesString.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listzones/SyncListZonesString.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/listzones/SyncListZonesString.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updaterouter/AsyncUpdateRouter.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updaterouter/AsyncUpdateRouter.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updaterouter/AsyncUpdateRouter.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updaterouter/AsyncUpdateRouter.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updaterouter/AsyncUpdateRouterLRO.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updaterouter/AsyncUpdateRouterLRO.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updaterouter/AsyncUpdateRouterLRO.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updaterouter/AsyncUpdateRouterLRO.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updaterouter/SyncUpdateRouter.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updaterouter/SyncUpdateRouter.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updaterouter/SyncUpdateRouter.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updaterouter/SyncUpdateRouter.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updaterouter/SyncUpdateRouterRouterFieldmask.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updaterouter/SyncUpdateRouterRouterFieldmask.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updaterouter/SyncUpdateRouterRouterFieldmask.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updaterouter/SyncUpdateRouterRouterFieldmask.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updatesubnet/AsyncUpdateSubnet.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updatesubnet/AsyncUpdateSubnet.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updatesubnet/AsyncUpdateSubnet.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updatesubnet/AsyncUpdateSubnet.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updatesubnet/AsyncUpdateSubnetLRO.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updatesubnet/AsyncUpdateSubnetLRO.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updatesubnet/AsyncUpdateSubnetLRO.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updatesubnet/AsyncUpdateSubnetLRO.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updatesubnet/SyncUpdateSubnet.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updatesubnet/SyncUpdateSubnet.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updatesubnet/SyncUpdateSubnet.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updatesubnet/SyncUpdateSubnet.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updatesubnet/SyncUpdateSubnetSubnetFieldmask.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updatesubnet/SyncUpdateSubnetSubnetFieldmask.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updatesubnet/SyncUpdateSubnetSubnetFieldmask.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetwork/updatesubnet/SyncUpdateSubnetSubnetFieldmask.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetworksettings/initializezone/SyncInitializeZone.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetworksettings/initializezone/SyncInitializeZone.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetworksettings/initializezone/SyncInitializeZone.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/edgenetworksettings/initializezone/SyncInitializeZone.java diff --git a/owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/stub/edgenetworkstubsettings/initializezone/SyncInitializeZone.java b/java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/stub/edgenetworkstubsettings/initializezone/SyncInitializeZone.java similarity index 100% rename from owl-bot-staging/java-edgenetwork/v1/samples/snippets/generated/com/google/cloud/edgenetwork/v1/stub/edgenetworkstubsettings/initializezone/SyncInitializeZone.java rename to java-edgenetwork/samples/snippets/generated/com/google/cloud/edgenetwork/v1/stub/edgenetworkstubsettings/initializezone/SyncInitializeZone.java diff --git a/owl-bot-staging/java-edgenetwork/v1/grpc-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/EdgeNetworkGrpc.java b/owl-bot-staging/java-edgenetwork/v1/grpc-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/EdgeNetworkGrpc.java deleted file mode 100644 index d59e0d76083d..000000000000 --- a/owl-bot-staging/java-edgenetwork/v1/grpc-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/EdgeNetworkGrpc.java +++ /dev/null @@ -1,2507 +0,0 @@ -package com.google.cloud.edgenetwork.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * EdgeNetwork API provides managed, highly available cloud dynamic network
- * configuration service to the GEC customer to enable edge application and
- * network function solutions. This allows the customers to easily define and
- * configure the network setup and property to meet the workload requirement.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/edgenetwork/v1/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class EdgeNetworkGrpc { - - private EdgeNetworkGrpc() {} - - public static final java.lang.String SERVICE_NAME = "google.cloud.edgenetwork.v1.EdgeNetwork"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getInitializeZoneMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "InitializeZone", - requestType = com.google.cloud.edgenetwork.v1.InitializeZoneRequest.class, - responseType = com.google.cloud.edgenetwork.v1.InitializeZoneResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getInitializeZoneMethod() { - io.grpc.MethodDescriptor getInitializeZoneMethod; - if ((getInitializeZoneMethod = EdgeNetworkGrpc.getInitializeZoneMethod) == null) { - synchronized (EdgeNetworkGrpc.class) { - if ((getInitializeZoneMethod = EdgeNetworkGrpc.getInitializeZoneMethod) == null) { - EdgeNetworkGrpc.getInitializeZoneMethod = getInitializeZoneMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InitializeZone")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.InitializeZoneRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.InitializeZoneResponse.getDefaultInstance())) - .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("InitializeZone")) - .build(); - } - } - } - return getInitializeZoneMethod; - } - - private static volatile io.grpc.MethodDescriptor getListZonesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListZones", - requestType = com.google.cloud.edgenetwork.v1.ListZonesRequest.class, - responseType = com.google.cloud.edgenetwork.v1.ListZonesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListZonesMethod() { - io.grpc.MethodDescriptor getListZonesMethod; - if ((getListZonesMethod = EdgeNetworkGrpc.getListZonesMethod) == null) { - synchronized (EdgeNetworkGrpc.class) { - if ((getListZonesMethod = EdgeNetworkGrpc.getListZonesMethod) == null) { - EdgeNetworkGrpc.getListZonesMethod = getListZonesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListZones")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.ListZonesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.ListZonesResponse.getDefaultInstance())) - .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("ListZones")) - .build(); - } - } - } - return getListZonesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetZoneMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetZone", - requestType = com.google.cloud.edgenetwork.v1.GetZoneRequest.class, - responseType = com.google.cloud.edgenetwork.v1.Zone.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetZoneMethod() { - io.grpc.MethodDescriptor getGetZoneMethod; - if ((getGetZoneMethod = EdgeNetworkGrpc.getGetZoneMethod) == null) { - synchronized (EdgeNetworkGrpc.class) { - if ((getGetZoneMethod = EdgeNetworkGrpc.getGetZoneMethod) == null) { - EdgeNetworkGrpc.getGetZoneMethod = getGetZoneMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetZone")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.GetZoneRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.Zone.getDefaultInstance())) - .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("GetZone")) - .build(); - } - } - } - return getGetZoneMethod; - } - - private static volatile io.grpc.MethodDescriptor getListNetworksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListNetworks", - requestType = com.google.cloud.edgenetwork.v1.ListNetworksRequest.class, - responseType = com.google.cloud.edgenetwork.v1.ListNetworksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListNetworksMethod() { - io.grpc.MethodDescriptor getListNetworksMethod; - if ((getListNetworksMethod = EdgeNetworkGrpc.getListNetworksMethod) == null) { - synchronized (EdgeNetworkGrpc.class) { - if ((getListNetworksMethod = EdgeNetworkGrpc.getListNetworksMethod) == null) { - EdgeNetworkGrpc.getListNetworksMethod = getListNetworksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListNetworks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.ListNetworksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.ListNetworksResponse.getDefaultInstance())) - .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("ListNetworks")) - .build(); - } - } - } - return getListNetworksMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetNetworkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetNetwork", - requestType = com.google.cloud.edgenetwork.v1.GetNetworkRequest.class, - responseType = com.google.cloud.edgenetwork.v1.Network.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetNetworkMethod() { - io.grpc.MethodDescriptor getGetNetworkMethod; - if ((getGetNetworkMethod = EdgeNetworkGrpc.getGetNetworkMethod) == null) { - synchronized (EdgeNetworkGrpc.class) { - if ((getGetNetworkMethod = EdgeNetworkGrpc.getGetNetworkMethod) == null) { - EdgeNetworkGrpc.getGetNetworkMethod = getGetNetworkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNetwork")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.GetNetworkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.Network.getDefaultInstance())) - .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("GetNetwork")) - .build(); - } - } - } - return getGetNetworkMethod; - } - - private static volatile io.grpc.MethodDescriptor getDiagnoseNetworkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DiagnoseNetwork", - requestType = com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest.class, - responseType = com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDiagnoseNetworkMethod() { - io.grpc.MethodDescriptor getDiagnoseNetworkMethod; - if ((getDiagnoseNetworkMethod = EdgeNetworkGrpc.getDiagnoseNetworkMethod) == null) { - synchronized (EdgeNetworkGrpc.class) { - if ((getDiagnoseNetworkMethod = EdgeNetworkGrpc.getDiagnoseNetworkMethod) == null) { - EdgeNetworkGrpc.getDiagnoseNetworkMethod = getDiagnoseNetworkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DiagnoseNetwork")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.getDefaultInstance())) - .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("DiagnoseNetwork")) - .build(); - } - } - } - return getDiagnoseNetworkMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateNetworkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateNetwork", - requestType = com.google.cloud.edgenetwork.v1.CreateNetworkRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateNetworkMethod() { - io.grpc.MethodDescriptor getCreateNetworkMethod; - if ((getCreateNetworkMethod = EdgeNetworkGrpc.getCreateNetworkMethod) == null) { - synchronized (EdgeNetworkGrpc.class) { - if ((getCreateNetworkMethod = EdgeNetworkGrpc.getCreateNetworkMethod) == null) { - EdgeNetworkGrpc.getCreateNetworkMethod = getCreateNetworkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateNetwork")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.CreateNetworkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("CreateNetwork")) - .build(); - } - } - } - return getCreateNetworkMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteNetworkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteNetwork", - requestType = com.google.cloud.edgenetwork.v1.DeleteNetworkRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteNetworkMethod() { - io.grpc.MethodDescriptor getDeleteNetworkMethod; - if ((getDeleteNetworkMethod = EdgeNetworkGrpc.getDeleteNetworkMethod) == null) { - synchronized (EdgeNetworkGrpc.class) { - if ((getDeleteNetworkMethod = EdgeNetworkGrpc.getDeleteNetworkMethod) == null) { - EdgeNetworkGrpc.getDeleteNetworkMethod = getDeleteNetworkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteNetwork")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.DeleteNetworkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("DeleteNetwork")) - .build(); - } - } - } - return getDeleteNetworkMethod; - } - - private static volatile io.grpc.MethodDescriptor getListSubnetsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListSubnets", - requestType = com.google.cloud.edgenetwork.v1.ListSubnetsRequest.class, - responseType = com.google.cloud.edgenetwork.v1.ListSubnetsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListSubnetsMethod() { - io.grpc.MethodDescriptor getListSubnetsMethod; - if ((getListSubnetsMethod = EdgeNetworkGrpc.getListSubnetsMethod) == null) { - synchronized (EdgeNetworkGrpc.class) { - if ((getListSubnetsMethod = EdgeNetworkGrpc.getListSubnetsMethod) == null) { - EdgeNetworkGrpc.getListSubnetsMethod = getListSubnetsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSubnets")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.ListSubnetsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.ListSubnetsResponse.getDefaultInstance())) - .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("ListSubnets")) - .build(); - } - } - } - return getListSubnetsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetSubnetMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetSubnet", - requestType = com.google.cloud.edgenetwork.v1.GetSubnetRequest.class, - responseType = com.google.cloud.edgenetwork.v1.Subnet.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetSubnetMethod() { - io.grpc.MethodDescriptor getGetSubnetMethod; - if ((getGetSubnetMethod = EdgeNetworkGrpc.getGetSubnetMethod) == null) { - synchronized (EdgeNetworkGrpc.class) { - if ((getGetSubnetMethod = EdgeNetworkGrpc.getGetSubnetMethod) == null) { - EdgeNetworkGrpc.getGetSubnetMethod = getGetSubnetMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSubnet")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.GetSubnetRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.Subnet.getDefaultInstance())) - .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("GetSubnet")) - .build(); - } - } - } - return getGetSubnetMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateSubnetMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateSubnet", - requestType = com.google.cloud.edgenetwork.v1.CreateSubnetRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateSubnetMethod() { - io.grpc.MethodDescriptor getCreateSubnetMethod; - if ((getCreateSubnetMethod = EdgeNetworkGrpc.getCreateSubnetMethod) == null) { - synchronized (EdgeNetworkGrpc.class) { - if ((getCreateSubnetMethod = EdgeNetworkGrpc.getCreateSubnetMethod) == null) { - EdgeNetworkGrpc.getCreateSubnetMethod = getCreateSubnetMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSubnet")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.CreateSubnetRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("CreateSubnet")) - .build(); - } - } - } - return getCreateSubnetMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateSubnetMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateSubnet", - requestType = com.google.cloud.edgenetwork.v1.UpdateSubnetRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateSubnetMethod() { - io.grpc.MethodDescriptor getUpdateSubnetMethod; - if ((getUpdateSubnetMethod = EdgeNetworkGrpc.getUpdateSubnetMethod) == null) { - synchronized (EdgeNetworkGrpc.class) { - if ((getUpdateSubnetMethod = EdgeNetworkGrpc.getUpdateSubnetMethod) == null) { - EdgeNetworkGrpc.getUpdateSubnetMethod = getUpdateSubnetMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateSubnet")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.UpdateSubnetRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("UpdateSubnet")) - .build(); - } - } - } - return getUpdateSubnetMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteSubnetMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteSubnet", - requestType = com.google.cloud.edgenetwork.v1.DeleteSubnetRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteSubnetMethod() { - io.grpc.MethodDescriptor getDeleteSubnetMethod; - if ((getDeleteSubnetMethod = EdgeNetworkGrpc.getDeleteSubnetMethod) == null) { - synchronized (EdgeNetworkGrpc.class) { - if ((getDeleteSubnetMethod = EdgeNetworkGrpc.getDeleteSubnetMethod) == null) { - EdgeNetworkGrpc.getDeleteSubnetMethod = getDeleteSubnetMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteSubnet")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.DeleteSubnetRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("DeleteSubnet")) - .build(); - } - } - } - return getDeleteSubnetMethod; - } - - private static volatile io.grpc.MethodDescriptor getListInterconnectsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInterconnects", - requestType = com.google.cloud.edgenetwork.v1.ListInterconnectsRequest.class, - responseType = com.google.cloud.edgenetwork.v1.ListInterconnectsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListInterconnectsMethod() { - io.grpc.MethodDescriptor getListInterconnectsMethod; - if ((getListInterconnectsMethod = EdgeNetworkGrpc.getListInterconnectsMethod) == null) { - synchronized (EdgeNetworkGrpc.class) { - if ((getListInterconnectsMethod = EdgeNetworkGrpc.getListInterconnectsMethod) == null) { - EdgeNetworkGrpc.getListInterconnectsMethod = getListInterconnectsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInterconnects")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.ListInterconnectsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.ListInterconnectsResponse.getDefaultInstance())) - .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("ListInterconnects")) - .build(); - } - } - } - return getListInterconnectsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetInterconnectMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetInterconnect", - requestType = com.google.cloud.edgenetwork.v1.GetInterconnectRequest.class, - responseType = com.google.cloud.edgenetwork.v1.Interconnect.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetInterconnectMethod() { - io.grpc.MethodDescriptor getGetInterconnectMethod; - if ((getGetInterconnectMethod = EdgeNetworkGrpc.getGetInterconnectMethod) == null) { - synchronized (EdgeNetworkGrpc.class) { - if ((getGetInterconnectMethod = EdgeNetworkGrpc.getGetInterconnectMethod) == null) { - EdgeNetworkGrpc.getGetInterconnectMethod = getGetInterconnectMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInterconnect")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.GetInterconnectRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.Interconnect.getDefaultInstance())) - .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("GetInterconnect")) - .build(); - } - } - } - return getGetInterconnectMethod; - } - - private static volatile io.grpc.MethodDescriptor getDiagnoseInterconnectMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DiagnoseInterconnect", - requestType = com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest.class, - responseType = com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDiagnoseInterconnectMethod() { - io.grpc.MethodDescriptor getDiagnoseInterconnectMethod; - if ((getDiagnoseInterconnectMethod = EdgeNetworkGrpc.getDiagnoseInterconnectMethod) == null) { - synchronized (EdgeNetworkGrpc.class) { - if ((getDiagnoseInterconnectMethod = EdgeNetworkGrpc.getDiagnoseInterconnectMethod) == null) { - EdgeNetworkGrpc.getDiagnoseInterconnectMethod = getDiagnoseInterconnectMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DiagnoseInterconnect")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse.getDefaultInstance())) - .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("DiagnoseInterconnect")) - .build(); - } - } - } - return getDiagnoseInterconnectMethod; - } - - private static volatile io.grpc.MethodDescriptor getListInterconnectAttachmentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInterconnectAttachments", - requestType = com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest.class, - responseType = com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListInterconnectAttachmentsMethod() { - io.grpc.MethodDescriptor getListInterconnectAttachmentsMethod; - if ((getListInterconnectAttachmentsMethod = EdgeNetworkGrpc.getListInterconnectAttachmentsMethod) == null) { - synchronized (EdgeNetworkGrpc.class) { - if ((getListInterconnectAttachmentsMethod = EdgeNetworkGrpc.getListInterconnectAttachmentsMethod) == null) { - EdgeNetworkGrpc.getListInterconnectAttachmentsMethod = getListInterconnectAttachmentsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInterconnectAttachments")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse.getDefaultInstance())) - .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("ListInterconnectAttachments")) - .build(); - } - } - } - return getListInterconnectAttachmentsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetInterconnectAttachmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetInterconnectAttachment", - requestType = com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest.class, - responseType = com.google.cloud.edgenetwork.v1.InterconnectAttachment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetInterconnectAttachmentMethod() { - io.grpc.MethodDescriptor getGetInterconnectAttachmentMethod; - if ((getGetInterconnectAttachmentMethod = EdgeNetworkGrpc.getGetInterconnectAttachmentMethod) == null) { - synchronized (EdgeNetworkGrpc.class) { - if ((getGetInterconnectAttachmentMethod = EdgeNetworkGrpc.getGetInterconnectAttachmentMethod) == null) { - EdgeNetworkGrpc.getGetInterconnectAttachmentMethod = getGetInterconnectAttachmentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInterconnectAttachment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.InterconnectAttachment.getDefaultInstance())) - .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("GetInterconnectAttachment")) - .build(); - } - } - } - return getGetInterconnectAttachmentMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateInterconnectAttachmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateInterconnectAttachment", - requestType = com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateInterconnectAttachmentMethod() { - io.grpc.MethodDescriptor getCreateInterconnectAttachmentMethod; - if ((getCreateInterconnectAttachmentMethod = EdgeNetworkGrpc.getCreateInterconnectAttachmentMethod) == null) { - synchronized (EdgeNetworkGrpc.class) { - if ((getCreateInterconnectAttachmentMethod = EdgeNetworkGrpc.getCreateInterconnectAttachmentMethod) == null) { - EdgeNetworkGrpc.getCreateInterconnectAttachmentMethod = getCreateInterconnectAttachmentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInterconnectAttachment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("CreateInterconnectAttachment")) - .build(); - } - } - } - return getCreateInterconnectAttachmentMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteInterconnectAttachmentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteInterconnectAttachment", - requestType = com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteInterconnectAttachmentMethod() { - io.grpc.MethodDescriptor getDeleteInterconnectAttachmentMethod; - if ((getDeleteInterconnectAttachmentMethod = EdgeNetworkGrpc.getDeleteInterconnectAttachmentMethod) == null) { - synchronized (EdgeNetworkGrpc.class) { - if ((getDeleteInterconnectAttachmentMethod = EdgeNetworkGrpc.getDeleteInterconnectAttachmentMethod) == null) { - EdgeNetworkGrpc.getDeleteInterconnectAttachmentMethod = getDeleteInterconnectAttachmentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInterconnectAttachment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("DeleteInterconnectAttachment")) - .build(); - } - } - } - return getDeleteInterconnectAttachmentMethod; - } - - private static volatile io.grpc.MethodDescriptor getListRoutersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRouters", - requestType = com.google.cloud.edgenetwork.v1.ListRoutersRequest.class, - responseType = com.google.cloud.edgenetwork.v1.ListRoutersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListRoutersMethod() { - io.grpc.MethodDescriptor getListRoutersMethod; - if ((getListRoutersMethod = EdgeNetworkGrpc.getListRoutersMethod) == null) { - synchronized (EdgeNetworkGrpc.class) { - if ((getListRoutersMethod = EdgeNetworkGrpc.getListRoutersMethod) == null) { - EdgeNetworkGrpc.getListRoutersMethod = getListRoutersMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRouters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.ListRoutersRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.ListRoutersResponse.getDefaultInstance())) - .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("ListRouters")) - .build(); - } - } - } - return getListRoutersMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetRouterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRouter", - requestType = com.google.cloud.edgenetwork.v1.GetRouterRequest.class, - responseType = com.google.cloud.edgenetwork.v1.Router.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetRouterMethod() { - io.grpc.MethodDescriptor getGetRouterMethod; - if ((getGetRouterMethod = EdgeNetworkGrpc.getGetRouterMethod) == null) { - synchronized (EdgeNetworkGrpc.class) { - if ((getGetRouterMethod = EdgeNetworkGrpc.getGetRouterMethod) == null) { - EdgeNetworkGrpc.getGetRouterMethod = getGetRouterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRouter")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.GetRouterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.Router.getDefaultInstance())) - .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("GetRouter")) - .build(); - } - } - } - return getGetRouterMethod; - } - - private static volatile io.grpc.MethodDescriptor getDiagnoseRouterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DiagnoseRouter", - requestType = com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest.class, - responseType = com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDiagnoseRouterMethod() { - io.grpc.MethodDescriptor getDiagnoseRouterMethod; - if ((getDiagnoseRouterMethod = EdgeNetworkGrpc.getDiagnoseRouterMethod) == null) { - synchronized (EdgeNetworkGrpc.class) { - if ((getDiagnoseRouterMethod = EdgeNetworkGrpc.getDiagnoseRouterMethod) == null) { - EdgeNetworkGrpc.getDiagnoseRouterMethod = getDiagnoseRouterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DiagnoseRouter")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse.getDefaultInstance())) - .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("DiagnoseRouter")) - .build(); - } - } - } - return getDiagnoseRouterMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateRouterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateRouter", - requestType = com.google.cloud.edgenetwork.v1.CreateRouterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateRouterMethod() { - io.grpc.MethodDescriptor getCreateRouterMethod; - if ((getCreateRouterMethod = EdgeNetworkGrpc.getCreateRouterMethod) == null) { - synchronized (EdgeNetworkGrpc.class) { - if ((getCreateRouterMethod = EdgeNetworkGrpc.getCreateRouterMethod) == null) { - EdgeNetworkGrpc.getCreateRouterMethod = getCreateRouterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRouter")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.CreateRouterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("CreateRouter")) - .build(); - } - } - } - return getCreateRouterMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateRouterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateRouter", - requestType = com.google.cloud.edgenetwork.v1.UpdateRouterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateRouterMethod() { - io.grpc.MethodDescriptor getUpdateRouterMethod; - if ((getUpdateRouterMethod = EdgeNetworkGrpc.getUpdateRouterMethod) == null) { - synchronized (EdgeNetworkGrpc.class) { - if ((getUpdateRouterMethod = EdgeNetworkGrpc.getUpdateRouterMethod) == null) { - EdgeNetworkGrpc.getUpdateRouterMethod = getUpdateRouterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRouter")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.UpdateRouterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("UpdateRouter")) - .build(); - } - } - } - return getUpdateRouterMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteRouterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRouter", - requestType = com.google.cloud.edgenetwork.v1.DeleteRouterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteRouterMethod() { - io.grpc.MethodDescriptor getDeleteRouterMethod; - if ((getDeleteRouterMethod = EdgeNetworkGrpc.getDeleteRouterMethod) == null) { - synchronized (EdgeNetworkGrpc.class) { - if ((getDeleteRouterMethod = EdgeNetworkGrpc.getDeleteRouterMethod) == null) { - EdgeNetworkGrpc.getDeleteRouterMethod = getDeleteRouterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRouter")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.edgenetwork.v1.DeleteRouterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new EdgeNetworkMethodDescriptorSupplier("DeleteRouter")) - .build(); - } - } - } - return getDeleteRouterMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static EdgeNetworkStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EdgeNetworkStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EdgeNetworkStub(channel, callOptions); - } - }; - return EdgeNetworkStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static EdgeNetworkBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EdgeNetworkBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EdgeNetworkBlockingStub(channel, callOptions); - } - }; - return EdgeNetworkBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static EdgeNetworkFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EdgeNetworkFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EdgeNetworkFutureStub(channel, callOptions); - } - }; - return EdgeNetworkFutureStub.newStub(factory, channel); - } - - /** - *
-   * EdgeNetwork API provides managed, highly available cloud dynamic network
-   * configuration service to the GEC customer to enable edge application and
-   * network function solutions. This allows the customers to easily define and
-   * configure the network setup and property to meet the workload requirement.
-   * 
- */ - public interface AsyncService { - - /** - *
-     * InitializeZone will initialize resources for a zone in a project.
-     * 
- */ - default void initializeZone(com.google.cloud.edgenetwork.v1.InitializeZoneRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInitializeZoneMethod(), responseObserver); - } - - /** - *
-     * Deprecated: not implemented.
-     * Lists Zones in a given project and location.
-     * 
- */ - @java.lang.Deprecated - default void listZones(com.google.cloud.edgenetwork.v1.ListZonesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListZonesMethod(), responseObserver); - } - - /** - *
-     * Deprecated: not implemented.
-     * Gets details of a single Zone.
-     * 
- */ - @java.lang.Deprecated - default void getZone(com.google.cloud.edgenetwork.v1.GetZoneRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetZoneMethod(), responseObserver); - } - - /** - *
-     * Lists Networks in a given project and location.
-     * 
- */ - default void listNetworks(com.google.cloud.edgenetwork.v1.ListNetworksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListNetworksMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single Network.
-     * 
- */ - default void getNetwork(com.google.cloud.edgenetwork.v1.GetNetworkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetNetworkMethod(), responseObserver); - } - - /** - *
-     * Get the diagnostics of a single network resource.
-     * 
- */ - default void diagnoseNetwork(com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDiagnoseNetworkMethod(), responseObserver); - } - - /** - *
-     * Creates a new Network in a given project and location.
-     * 
- */ - default void createNetwork(com.google.cloud.edgenetwork.v1.CreateNetworkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateNetworkMethod(), responseObserver); - } - - /** - *
-     * Deletes a single Network.
-     * 
- */ - default void deleteNetwork(com.google.cloud.edgenetwork.v1.DeleteNetworkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteNetworkMethod(), responseObserver); - } - - /** - *
-     * Lists Subnets in a given project and location.
-     * 
- */ - default void listSubnets(com.google.cloud.edgenetwork.v1.ListSubnetsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSubnetsMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single Subnet.
-     * 
- */ - default void getSubnet(com.google.cloud.edgenetwork.v1.GetSubnetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSubnetMethod(), responseObserver); - } - - /** - *
-     * Creates a new Subnet in a given project and location.
-     * 
- */ - default void createSubnet(com.google.cloud.edgenetwork.v1.CreateSubnetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateSubnetMethod(), responseObserver); - } - - /** - *
-     * Updates the parameters of a single Subnet.
-     * 
- */ - default void updateSubnet(com.google.cloud.edgenetwork.v1.UpdateSubnetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateSubnetMethod(), responseObserver); - } - - /** - *
-     * Deletes a single Subnet.
-     * 
- */ - default void deleteSubnet(com.google.cloud.edgenetwork.v1.DeleteSubnetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteSubnetMethod(), responseObserver); - } - - /** - *
-     * Lists Interconnects in a given project and location.
-     * 
- */ - default void listInterconnects(com.google.cloud.edgenetwork.v1.ListInterconnectsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInterconnectsMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single Interconnect.
-     * 
- */ - default void getInterconnect(com.google.cloud.edgenetwork.v1.GetInterconnectRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInterconnectMethod(), responseObserver); - } - - /** - *
-     * Get the diagnostics of a single interconnect resource.
-     * 
- */ - default void diagnoseInterconnect(com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDiagnoseInterconnectMethod(), responseObserver); - } - - /** - *
-     * Lists InterconnectAttachments in a given project and location.
-     * 
- */ - default void listInterconnectAttachments(com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInterconnectAttachmentsMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single InterconnectAttachment.
-     * 
- */ - default void getInterconnectAttachment(com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInterconnectAttachmentMethod(), responseObserver); - } - - /** - *
-     * Creates a new InterconnectAttachment in a given project and location.
-     * 
- */ - default void createInterconnectAttachment(com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInterconnectAttachmentMethod(), responseObserver); - } - - /** - *
-     * Deletes a single InterconnectAttachment.
-     * 
- */ - default void deleteInterconnectAttachment(com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInterconnectAttachmentMethod(), responseObserver); - } - - /** - *
-     * Lists Routers in a given project and location.
-     * 
- */ - default void listRouters(com.google.cloud.edgenetwork.v1.ListRoutersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRoutersMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single Router.
-     * 
- */ - default void getRouter(com.google.cloud.edgenetwork.v1.GetRouterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRouterMethod(), responseObserver); - } - - /** - *
-     * Get the diagnostics of a single router resource.
-     * 
- */ - default void diagnoseRouter(com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDiagnoseRouterMethod(), responseObserver); - } - - /** - *
-     * Creates a new Router in a given project and location.
-     * 
- */ - default void createRouter(com.google.cloud.edgenetwork.v1.CreateRouterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRouterMethod(), responseObserver); - } - - /** - *
-     * Updates the parameters of a single Router.
-     * 
- */ - default void updateRouter(com.google.cloud.edgenetwork.v1.UpdateRouterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRouterMethod(), responseObserver); - } - - /** - *
-     * Deletes a single Router.
-     * 
- */ - default void deleteRouter(com.google.cloud.edgenetwork.v1.DeleteRouterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRouterMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service EdgeNetwork. - *
-   * EdgeNetwork API provides managed, highly available cloud dynamic network
-   * configuration service to the GEC customer to enable edge application and
-   * network function solutions. This allows the customers to easily define and
-   * configure the network setup and property to meet the workload requirement.
-   * 
- */ - public static abstract class EdgeNetworkImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return EdgeNetworkGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service EdgeNetwork. - *
-   * EdgeNetwork API provides managed, highly available cloud dynamic network
-   * configuration service to the GEC customer to enable edge application and
-   * network function solutions. This allows the customers to easily define and
-   * configure the network setup and property to meet the workload requirement.
-   * 
- */ - public static final class EdgeNetworkStub - extends io.grpc.stub.AbstractAsyncStub { - private EdgeNetworkStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected EdgeNetworkStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EdgeNetworkStub(channel, callOptions); - } - - /** - *
-     * InitializeZone will initialize resources for a zone in a project.
-     * 
- */ - public void initializeZone(com.google.cloud.edgenetwork.v1.InitializeZoneRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getInitializeZoneMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deprecated: not implemented.
-     * Lists Zones in a given project and location.
-     * 
- */ - @java.lang.Deprecated - public void listZones(com.google.cloud.edgenetwork.v1.ListZonesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListZonesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deprecated: not implemented.
-     * Gets details of a single Zone.
-     * 
- */ - @java.lang.Deprecated - public void getZone(com.google.cloud.edgenetwork.v1.GetZoneRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetZoneMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists Networks in a given project and location.
-     * 
- */ - public void listNetworks(com.google.cloud.edgenetwork.v1.ListNetworksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListNetworksMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single Network.
-     * 
- */ - public void getNetwork(com.google.cloud.edgenetwork.v1.GetNetworkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetNetworkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get the diagnostics of a single network resource.
-     * 
- */ - public void diagnoseNetwork(com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDiagnoseNetworkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Network in a given project and location.
-     * 
- */ - public void createNetwork(com.google.cloud.edgenetwork.v1.CreateNetworkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateNetworkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single Network.
-     * 
- */ - public void deleteNetwork(com.google.cloud.edgenetwork.v1.DeleteNetworkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteNetworkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists Subnets in a given project and location.
-     * 
- */ - public void listSubnets(com.google.cloud.edgenetwork.v1.ListSubnetsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListSubnetsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single Subnet.
-     * 
- */ - public void getSubnet(com.google.cloud.edgenetwork.v1.GetSubnetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetSubnetMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Subnet in a given project and location.
-     * 
- */ - public void createSubnet(com.google.cloud.edgenetwork.v1.CreateSubnetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateSubnetMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the parameters of a single Subnet.
-     * 
- */ - public void updateSubnet(com.google.cloud.edgenetwork.v1.UpdateSubnetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateSubnetMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single Subnet.
-     * 
- */ - public void deleteSubnet(com.google.cloud.edgenetwork.v1.DeleteSubnetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteSubnetMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists Interconnects in a given project and location.
-     * 
- */ - public void listInterconnects(com.google.cloud.edgenetwork.v1.ListInterconnectsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInterconnectsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single Interconnect.
-     * 
- */ - public void getInterconnect(com.google.cloud.edgenetwork.v1.GetInterconnectRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInterconnectMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get the diagnostics of a single interconnect resource.
-     * 
- */ - public void diagnoseInterconnect(com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDiagnoseInterconnectMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists InterconnectAttachments in a given project and location.
-     * 
- */ - public void listInterconnectAttachments(com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInterconnectAttachmentsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single InterconnectAttachment.
-     * 
- */ - public void getInterconnectAttachment(com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInterconnectAttachmentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new InterconnectAttachment in a given project and location.
-     * 
- */ - public void createInterconnectAttachment(com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateInterconnectAttachmentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single InterconnectAttachment.
-     * 
- */ - public void deleteInterconnectAttachment(com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteInterconnectAttachmentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists Routers in a given project and location.
-     * 
- */ - public void listRouters(com.google.cloud.edgenetwork.v1.ListRoutersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRoutersMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single Router.
-     * 
- */ - public void getRouter(com.google.cloud.edgenetwork.v1.GetRouterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRouterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get the diagnostics of a single router resource.
-     * 
- */ - public void diagnoseRouter(com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDiagnoseRouterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Router in a given project and location.
-     * 
- */ - public void createRouter(com.google.cloud.edgenetwork.v1.CreateRouterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateRouterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the parameters of a single Router.
-     * 
- */ - public void updateRouter(com.google.cloud.edgenetwork.v1.UpdateRouterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateRouterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single Router.
-     * 
- */ - public void deleteRouter(com.google.cloud.edgenetwork.v1.DeleteRouterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRouterMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service EdgeNetwork. - *
-   * EdgeNetwork API provides managed, highly available cloud dynamic network
-   * configuration service to the GEC customer to enable edge application and
-   * network function solutions. This allows the customers to easily define and
-   * configure the network setup and property to meet the workload requirement.
-   * 
- */ - public static final class EdgeNetworkBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private EdgeNetworkBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected EdgeNetworkBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EdgeNetworkBlockingStub(channel, callOptions); - } - - /** - *
-     * InitializeZone will initialize resources for a zone in a project.
-     * 
- */ - public com.google.cloud.edgenetwork.v1.InitializeZoneResponse initializeZone(com.google.cloud.edgenetwork.v1.InitializeZoneRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getInitializeZoneMethod(), getCallOptions(), request); - } - - /** - *
-     * Deprecated: not implemented.
-     * Lists Zones in a given project and location.
-     * 
- */ - @java.lang.Deprecated - public com.google.cloud.edgenetwork.v1.ListZonesResponse listZones(com.google.cloud.edgenetwork.v1.ListZonesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListZonesMethod(), getCallOptions(), request); - } - - /** - *
-     * Deprecated: not implemented.
-     * Gets details of a single Zone.
-     * 
- */ - @java.lang.Deprecated - public com.google.cloud.edgenetwork.v1.Zone getZone(com.google.cloud.edgenetwork.v1.GetZoneRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetZoneMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists Networks in a given project and location.
-     * 
- */ - public com.google.cloud.edgenetwork.v1.ListNetworksResponse listNetworks(com.google.cloud.edgenetwork.v1.ListNetworksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListNetworksMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single Network.
-     * 
- */ - public com.google.cloud.edgenetwork.v1.Network getNetwork(com.google.cloud.edgenetwork.v1.GetNetworkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetNetworkMethod(), getCallOptions(), request); - } - - /** - *
-     * Get the diagnostics of a single network resource.
-     * 
- */ - public com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse diagnoseNetwork(com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDiagnoseNetworkMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Network in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createNetwork(com.google.cloud.edgenetwork.v1.CreateNetworkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateNetworkMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single Network.
-     * 
- */ - public com.google.longrunning.Operation deleteNetwork(com.google.cloud.edgenetwork.v1.DeleteNetworkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteNetworkMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists Subnets in a given project and location.
-     * 
- */ - public com.google.cloud.edgenetwork.v1.ListSubnetsResponse listSubnets(com.google.cloud.edgenetwork.v1.ListSubnetsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListSubnetsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single Subnet.
-     * 
- */ - public com.google.cloud.edgenetwork.v1.Subnet getSubnet(com.google.cloud.edgenetwork.v1.GetSubnetRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetSubnetMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Subnet in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createSubnet(com.google.cloud.edgenetwork.v1.CreateSubnetRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateSubnetMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the parameters of a single Subnet.
-     * 
- */ - public com.google.longrunning.Operation updateSubnet(com.google.cloud.edgenetwork.v1.UpdateSubnetRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateSubnetMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single Subnet.
-     * 
- */ - public com.google.longrunning.Operation deleteSubnet(com.google.cloud.edgenetwork.v1.DeleteSubnetRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteSubnetMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists Interconnects in a given project and location.
-     * 
- */ - public com.google.cloud.edgenetwork.v1.ListInterconnectsResponse listInterconnects(com.google.cloud.edgenetwork.v1.ListInterconnectsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInterconnectsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single Interconnect.
-     * 
- */ - public com.google.cloud.edgenetwork.v1.Interconnect getInterconnect(com.google.cloud.edgenetwork.v1.GetInterconnectRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInterconnectMethod(), getCallOptions(), request); - } - - /** - *
-     * Get the diagnostics of a single interconnect resource.
-     * 
- */ - public com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse diagnoseInterconnect(com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDiagnoseInterconnectMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists InterconnectAttachments in a given project and location.
-     * 
- */ - public com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse listInterconnectAttachments(com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInterconnectAttachmentsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single InterconnectAttachment.
-     * 
- */ - public com.google.cloud.edgenetwork.v1.InterconnectAttachment getInterconnectAttachment(com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInterconnectAttachmentMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new InterconnectAttachment in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createInterconnectAttachment(com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateInterconnectAttachmentMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single InterconnectAttachment.
-     * 
- */ - public com.google.longrunning.Operation deleteInterconnectAttachment(com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteInterconnectAttachmentMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists Routers in a given project and location.
-     * 
- */ - public com.google.cloud.edgenetwork.v1.ListRoutersResponse listRouters(com.google.cloud.edgenetwork.v1.ListRoutersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRoutersMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single Router.
-     * 
- */ - public com.google.cloud.edgenetwork.v1.Router getRouter(com.google.cloud.edgenetwork.v1.GetRouterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRouterMethod(), getCallOptions(), request); - } - - /** - *
-     * Get the diagnostics of a single router resource.
-     * 
- */ - public com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse diagnoseRouter(com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDiagnoseRouterMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Router in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createRouter(com.google.cloud.edgenetwork.v1.CreateRouterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateRouterMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the parameters of a single Router.
-     * 
- */ - public com.google.longrunning.Operation updateRouter(com.google.cloud.edgenetwork.v1.UpdateRouterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateRouterMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single Router.
-     * 
- */ - public com.google.longrunning.Operation deleteRouter(com.google.cloud.edgenetwork.v1.DeleteRouterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRouterMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service EdgeNetwork. - *
-   * EdgeNetwork API provides managed, highly available cloud dynamic network
-   * configuration service to the GEC customer to enable edge application and
-   * network function solutions. This allows the customers to easily define and
-   * configure the network setup and property to meet the workload requirement.
-   * 
- */ - public static final class EdgeNetworkFutureStub - extends io.grpc.stub.AbstractFutureStub { - private EdgeNetworkFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected EdgeNetworkFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EdgeNetworkFutureStub(channel, callOptions); - } - - /** - *
-     * InitializeZone will initialize resources for a zone in a project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture initializeZone( - com.google.cloud.edgenetwork.v1.InitializeZoneRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getInitializeZoneMethod(), getCallOptions()), request); - } - - /** - *
-     * Deprecated: not implemented.
-     * Lists Zones in a given project and location.
-     * 
- */ - @java.lang.Deprecated - public com.google.common.util.concurrent.ListenableFuture listZones( - com.google.cloud.edgenetwork.v1.ListZonesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListZonesMethod(), getCallOptions()), request); - } - - /** - *
-     * Deprecated: not implemented.
-     * Gets details of a single Zone.
-     * 
- */ - @java.lang.Deprecated - public com.google.common.util.concurrent.ListenableFuture getZone( - com.google.cloud.edgenetwork.v1.GetZoneRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetZoneMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists Networks in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listNetworks( - com.google.cloud.edgenetwork.v1.ListNetworksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListNetworksMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single Network.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getNetwork( - com.google.cloud.edgenetwork.v1.GetNetworkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetNetworkMethod(), getCallOptions()), request); - } - - /** - *
-     * Get the diagnostics of a single network resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture diagnoseNetwork( - com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDiagnoseNetworkMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Network in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createNetwork( - com.google.cloud.edgenetwork.v1.CreateNetworkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateNetworkMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single Network.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteNetwork( - com.google.cloud.edgenetwork.v1.DeleteNetworkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteNetworkMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists Subnets in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listSubnets( - com.google.cloud.edgenetwork.v1.ListSubnetsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListSubnetsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single Subnet.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getSubnet( - com.google.cloud.edgenetwork.v1.GetSubnetRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetSubnetMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Subnet in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createSubnet( - com.google.cloud.edgenetwork.v1.CreateSubnetRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateSubnetMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the parameters of a single Subnet.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateSubnet( - com.google.cloud.edgenetwork.v1.UpdateSubnetRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateSubnetMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single Subnet.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteSubnet( - com.google.cloud.edgenetwork.v1.DeleteSubnetRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteSubnetMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists Interconnects in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listInterconnects( - com.google.cloud.edgenetwork.v1.ListInterconnectsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInterconnectsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single Interconnect.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getInterconnect( - com.google.cloud.edgenetwork.v1.GetInterconnectRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInterconnectMethod(), getCallOptions()), request); - } - - /** - *
-     * Get the diagnostics of a single interconnect resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture diagnoseInterconnect( - com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDiagnoseInterconnectMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists InterconnectAttachments in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listInterconnectAttachments( - com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInterconnectAttachmentsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single InterconnectAttachment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getInterconnectAttachment( - com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInterconnectAttachmentMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new InterconnectAttachment in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createInterconnectAttachment( - com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateInterconnectAttachmentMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single InterconnectAttachment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteInterconnectAttachment( - com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteInterconnectAttachmentMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists Routers in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listRouters( - com.google.cloud.edgenetwork.v1.ListRoutersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRoutersMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single Router.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getRouter( - com.google.cloud.edgenetwork.v1.GetRouterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRouterMethod(), getCallOptions()), request); - } - - /** - *
-     * Get the diagnostics of a single router resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture diagnoseRouter( - com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDiagnoseRouterMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Router in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createRouter( - com.google.cloud.edgenetwork.v1.CreateRouterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateRouterMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the parameters of a single Router.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateRouter( - com.google.cloud.edgenetwork.v1.UpdateRouterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateRouterMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single Router.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteRouter( - com.google.cloud.edgenetwork.v1.DeleteRouterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRouterMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_INITIALIZE_ZONE = 0; - private static final int METHODID_LIST_ZONES = 1; - private static final int METHODID_GET_ZONE = 2; - private static final int METHODID_LIST_NETWORKS = 3; - private static final int METHODID_GET_NETWORK = 4; - private static final int METHODID_DIAGNOSE_NETWORK = 5; - private static final int METHODID_CREATE_NETWORK = 6; - private static final int METHODID_DELETE_NETWORK = 7; - private static final int METHODID_LIST_SUBNETS = 8; - private static final int METHODID_GET_SUBNET = 9; - private static final int METHODID_CREATE_SUBNET = 10; - private static final int METHODID_UPDATE_SUBNET = 11; - private static final int METHODID_DELETE_SUBNET = 12; - private static final int METHODID_LIST_INTERCONNECTS = 13; - private static final int METHODID_GET_INTERCONNECT = 14; - private static final int METHODID_DIAGNOSE_INTERCONNECT = 15; - private static final int METHODID_LIST_INTERCONNECT_ATTACHMENTS = 16; - private static final int METHODID_GET_INTERCONNECT_ATTACHMENT = 17; - private static final int METHODID_CREATE_INTERCONNECT_ATTACHMENT = 18; - private static final int METHODID_DELETE_INTERCONNECT_ATTACHMENT = 19; - private static final int METHODID_LIST_ROUTERS = 20; - private static final int METHODID_GET_ROUTER = 21; - private static final int METHODID_DIAGNOSE_ROUTER = 22; - private static final int METHODID_CREATE_ROUTER = 23; - private static final int METHODID_UPDATE_ROUTER = 24; - private static final int METHODID_DELETE_ROUTER = 25; - - 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 AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService 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_INITIALIZE_ZONE: - serviceImpl.initializeZone((com.google.cloud.edgenetwork.v1.InitializeZoneRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ZONES: - serviceImpl.listZones((com.google.cloud.edgenetwork.v1.ListZonesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ZONE: - serviceImpl.getZone((com.google.cloud.edgenetwork.v1.GetZoneRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_NETWORKS: - serviceImpl.listNetworks((com.google.cloud.edgenetwork.v1.ListNetworksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_NETWORK: - serviceImpl.getNetwork((com.google.cloud.edgenetwork.v1.GetNetworkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DIAGNOSE_NETWORK: - serviceImpl.diagnoseNetwork((com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_NETWORK: - serviceImpl.createNetwork((com.google.cloud.edgenetwork.v1.CreateNetworkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_NETWORK: - serviceImpl.deleteNetwork((com.google.cloud.edgenetwork.v1.DeleteNetworkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_SUBNETS: - serviceImpl.listSubnets((com.google.cloud.edgenetwork.v1.ListSubnetsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_SUBNET: - serviceImpl.getSubnet((com.google.cloud.edgenetwork.v1.GetSubnetRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_SUBNET: - serviceImpl.createSubnet((com.google.cloud.edgenetwork.v1.CreateSubnetRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_SUBNET: - serviceImpl.updateSubnet((com.google.cloud.edgenetwork.v1.UpdateSubnetRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_SUBNET: - serviceImpl.deleteSubnet((com.google.cloud.edgenetwork.v1.DeleteSubnetRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_INTERCONNECTS: - serviceImpl.listInterconnects((com.google.cloud.edgenetwork.v1.ListInterconnectsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_INTERCONNECT: - serviceImpl.getInterconnect((com.google.cloud.edgenetwork.v1.GetInterconnectRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DIAGNOSE_INTERCONNECT: - serviceImpl.diagnoseInterconnect((com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_INTERCONNECT_ATTACHMENTS: - serviceImpl.listInterconnectAttachments((com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_INTERCONNECT_ATTACHMENT: - serviceImpl.getInterconnectAttachment((com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_INTERCONNECT_ATTACHMENT: - serviceImpl.createInterconnectAttachment((com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_INTERCONNECT_ATTACHMENT: - serviceImpl.deleteInterconnectAttachment((com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ROUTERS: - serviceImpl.listRouters((com.google.cloud.edgenetwork.v1.ListRoutersRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ROUTER: - serviceImpl.getRouter((com.google.cloud.edgenetwork.v1.GetRouterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DIAGNOSE_ROUTER: - serviceImpl.diagnoseRouter((com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_ROUTER: - serviceImpl.createRouter((com.google.cloud.edgenetwork.v1.CreateRouterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ROUTER: - serviceImpl.updateRouter((com.google.cloud.edgenetwork.v1.UpdateRouterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ROUTER: - serviceImpl.deleteRouter((com.google.cloud.edgenetwork.v1.DeleteRouterRequest) 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(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getInitializeZoneMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.edgenetwork.v1.InitializeZoneRequest, - com.google.cloud.edgenetwork.v1.InitializeZoneResponse>( - service, METHODID_INITIALIZE_ZONE))) - .addMethod( - getListZonesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.edgenetwork.v1.ListZonesRequest, - com.google.cloud.edgenetwork.v1.ListZonesResponse>( - service, METHODID_LIST_ZONES))) - .addMethod( - getGetZoneMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.edgenetwork.v1.GetZoneRequest, - com.google.cloud.edgenetwork.v1.Zone>( - service, METHODID_GET_ZONE))) - .addMethod( - getListNetworksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.edgenetwork.v1.ListNetworksRequest, - com.google.cloud.edgenetwork.v1.ListNetworksResponse>( - service, METHODID_LIST_NETWORKS))) - .addMethod( - getGetNetworkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.edgenetwork.v1.GetNetworkRequest, - com.google.cloud.edgenetwork.v1.Network>( - service, METHODID_GET_NETWORK))) - .addMethod( - getDiagnoseNetworkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest, - com.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse>( - service, METHODID_DIAGNOSE_NETWORK))) - .addMethod( - getCreateNetworkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.edgenetwork.v1.CreateNetworkRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_NETWORK))) - .addMethod( - getDeleteNetworkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.edgenetwork.v1.DeleteNetworkRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_NETWORK))) - .addMethod( - getListSubnetsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.edgenetwork.v1.ListSubnetsRequest, - com.google.cloud.edgenetwork.v1.ListSubnetsResponse>( - service, METHODID_LIST_SUBNETS))) - .addMethod( - getGetSubnetMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.edgenetwork.v1.GetSubnetRequest, - com.google.cloud.edgenetwork.v1.Subnet>( - service, METHODID_GET_SUBNET))) - .addMethod( - getCreateSubnetMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.edgenetwork.v1.CreateSubnetRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_SUBNET))) - .addMethod( - getUpdateSubnetMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.edgenetwork.v1.UpdateSubnetRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_SUBNET))) - .addMethod( - getDeleteSubnetMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.edgenetwork.v1.DeleteSubnetRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_SUBNET))) - .addMethod( - getListInterconnectsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.edgenetwork.v1.ListInterconnectsRequest, - com.google.cloud.edgenetwork.v1.ListInterconnectsResponse>( - service, METHODID_LIST_INTERCONNECTS))) - .addMethod( - getGetInterconnectMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.edgenetwork.v1.GetInterconnectRequest, - com.google.cloud.edgenetwork.v1.Interconnect>( - service, METHODID_GET_INTERCONNECT))) - .addMethod( - getDiagnoseInterconnectMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest, - com.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse>( - service, METHODID_DIAGNOSE_INTERCONNECT))) - .addMethod( - getListInterconnectAttachmentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest, - com.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse>( - service, METHODID_LIST_INTERCONNECT_ATTACHMENTS))) - .addMethod( - getGetInterconnectAttachmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest, - com.google.cloud.edgenetwork.v1.InterconnectAttachment>( - service, METHODID_GET_INTERCONNECT_ATTACHMENT))) - .addMethod( - getCreateInterconnectAttachmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_INTERCONNECT_ATTACHMENT))) - .addMethod( - getDeleteInterconnectAttachmentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_INTERCONNECT_ATTACHMENT))) - .addMethod( - getListRoutersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.edgenetwork.v1.ListRoutersRequest, - com.google.cloud.edgenetwork.v1.ListRoutersResponse>( - service, METHODID_LIST_ROUTERS))) - .addMethod( - getGetRouterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.edgenetwork.v1.GetRouterRequest, - com.google.cloud.edgenetwork.v1.Router>( - service, METHODID_GET_ROUTER))) - .addMethod( - getDiagnoseRouterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.edgenetwork.v1.DiagnoseRouterRequest, - com.google.cloud.edgenetwork.v1.DiagnoseRouterResponse>( - service, METHODID_DIAGNOSE_ROUTER))) - .addMethod( - getCreateRouterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.edgenetwork.v1.CreateRouterRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_ROUTER))) - .addMethod( - getUpdateRouterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.edgenetwork.v1.UpdateRouterRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_ROUTER))) - .addMethod( - getDeleteRouterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.edgenetwork.v1.DeleteRouterRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_ROUTER))) - .build(); - } - - private static abstract class EdgeNetworkBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - EdgeNetworkBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.edgenetwork.v1.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("EdgeNetwork"); - } - } - - private static final class EdgeNetworkFileDescriptorSupplier - extends EdgeNetworkBaseDescriptorSupplier { - EdgeNetworkFileDescriptorSupplier() {} - } - - private static final class EdgeNetworkMethodDescriptorSupplier - extends EdgeNetworkBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - EdgeNetworkMethodDescriptorSupplier(java.lang.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 (EdgeNetworkGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new EdgeNetworkFileDescriptorSupplier()) - .addMethod(getInitializeZoneMethod()) - .addMethod(getListZonesMethod()) - .addMethod(getGetZoneMethod()) - .addMethod(getListNetworksMethod()) - .addMethod(getGetNetworkMethod()) - .addMethod(getDiagnoseNetworkMethod()) - .addMethod(getCreateNetworkMethod()) - .addMethod(getDeleteNetworkMethod()) - .addMethod(getListSubnetsMethod()) - .addMethod(getGetSubnetMethod()) - .addMethod(getCreateSubnetMethod()) - .addMethod(getUpdateSubnetMethod()) - .addMethod(getDeleteSubnetMethod()) - .addMethod(getListInterconnectsMethod()) - .addMethod(getGetInterconnectMethod()) - .addMethod(getDiagnoseInterconnectMethod()) - .addMethod(getListInterconnectAttachmentsMethod()) - .addMethod(getGetInterconnectAttachmentMethod()) - .addMethod(getCreateInterconnectAttachmentMethod()) - .addMethod(getDeleteInterconnectAttachmentMethod()) - .addMethod(getListRoutersMethod()) - .addMethod(getGetRouterMethod()) - .addMethod(getDiagnoseRouterMethod()) - .addMethod(getCreateRouterMethod()) - .addMethod(getUpdateRouterMethod()) - .addMethod(getDeleteRouterMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectRequestOrBuilder.java b/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectRequestOrBuilder.java deleted file mode 100644 index e03a2adaada2..000000000000 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseInterconnectRequestOrBuilder.java +++ /dev/null @@ -1,30 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/edgenetwork/v1/service.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.edgenetwork.v1; - -public interface DiagnoseInterconnectRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the interconnect resource.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the interconnect resource.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkRequestOrBuilder.java b/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkRequestOrBuilder.java deleted file mode 100644 index aa3434684777..000000000000 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseNetworkRequestOrBuilder.java +++ /dev/null @@ -1,30 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/edgenetwork/v1/service.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.edgenetwork.v1; - -public interface DiagnoseNetworkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.DiagnoseNetworkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the network resource.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the network resource.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterRequestOrBuilder.java b/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterRequestOrBuilder.java deleted file mode 100644 index e1b30d55e9cd..000000000000 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/DiagnoseRouterRequestOrBuilder.java +++ /dev/null @@ -1,30 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/edgenetwork/v1/service.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.edgenetwork.v1; - -public interface DiagnoseRouterRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.DiagnoseRouterRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the router resource.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the router resource.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectAttachmentRequestOrBuilder.java b/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectAttachmentRequestOrBuilder.java deleted file mode 100644 index 3d8a49997b57..000000000000 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectAttachmentRequestOrBuilder.java +++ /dev/null @@ -1,30 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/edgenetwork/v1/service.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.edgenetwork.v1; - -public interface GetInterconnectAttachmentRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the resource
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the resource
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectRequestOrBuilder.java b/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectRequestOrBuilder.java deleted file mode 100644 index c784872b02c5..000000000000 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetInterconnectRequestOrBuilder.java +++ /dev/null @@ -1,30 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/edgenetwork/v1/service.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.edgenetwork.v1; - -public interface GetInterconnectRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.GetInterconnectRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the resource
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the resource
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetNetworkRequestOrBuilder.java b/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetNetworkRequestOrBuilder.java deleted file mode 100644 index 789d5cd36420..000000000000 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetNetworkRequestOrBuilder.java +++ /dev/null @@ -1,30 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/edgenetwork/v1/service.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.edgenetwork.v1; - -public interface GetNetworkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.GetNetworkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the resource
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the resource
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetRouterRequestOrBuilder.java b/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetRouterRequestOrBuilder.java deleted file mode 100644 index b65497164004..000000000000 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetRouterRequestOrBuilder.java +++ /dev/null @@ -1,30 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/edgenetwork/v1/service.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.edgenetwork.v1; - -public interface GetRouterRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.GetRouterRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the resource
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the resource
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetSubnetRequestOrBuilder.java b/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetSubnetRequestOrBuilder.java deleted file mode 100644 index 36860bd79516..000000000000 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetSubnetRequestOrBuilder.java +++ /dev/null @@ -1,30 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/edgenetwork/v1/service.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.edgenetwork.v1; - -public interface GetSubnetRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.GetSubnetRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the resource
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the resource
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetZoneRequestOrBuilder.java b/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetZoneRequestOrBuilder.java deleted file mode 100644 index 3c19d4d5555a..000000000000 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/GetZoneRequestOrBuilder.java +++ /dev/null @@ -1,30 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/edgenetwork/v1/service.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.edgenetwork.v1; - -@java.lang.Deprecated public interface GetZoneRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.GetZoneRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the resource
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the resource
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneRequestOrBuilder.java b/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneRequestOrBuilder.java deleted file mode 100644 index d4650ef4c157..000000000000 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneRequestOrBuilder.java +++ /dev/null @@ -1,30 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/edgenetwork/v1/service.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.edgenetwork.v1; - -public interface InitializeZoneRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.InitializeZoneRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the zone resource.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the zone resource.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneResponseOrBuilder.java b/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneResponseOrBuilder.java deleted file mode 100644 index 6b920c41e829..000000000000 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/InitializeZoneResponseOrBuilder.java +++ /dev/null @@ -1,10 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/edgenetwork/v1/service.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.edgenetwork.v1; - -public interface InitializeZoneResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.edgenetwork.v1.InitializeZoneResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ResourcesProto.java b/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ResourcesProto.java deleted file mode 100644 index 276a12328edb..000000000000 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ResourcesProto.java +++ /dev/null @@ -1,482 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/edgenetwork/v1/resources.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.edgenetwork.v1; - -public final class ResourcesProto { - private ResourcesProto() {} - 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_edgenetwork_v1_Zone_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_Zone_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_Zone_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_Zone_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_Network_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_Network_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_Network_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_Network_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_Subnet_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_Subnet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_Subnet_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_Subnet_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_Interconnect_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_Interconnect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_Interconnect_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_Interconnect_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_Router_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_Router_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_Router_Interface_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_Router_Interface_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_Router_BgpPeer_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_Router_BgpPeer_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_Router_Bgp_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_Router_Bgp_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_Router_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_Router_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_LinkLayerAddress_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_LinkLayerAddress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_SubnetStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_SubnetStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_PacketCounts_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_PacketCounts_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLACPStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLACPStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLLDPStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLLDPStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_RouterStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_RouterStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_RouterStatus_BgpPeerStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_RouterStatus_BgpPeerStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_RouterStatus_PrefixCounter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_RouterStatus_PrefixCounter_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/edgenetwork/v1/resources." + - "proto\022\033google.cloud.edgenetwork.v1\032\037goog" + - "le/api/field_behavior.proto\032\031google/api/" + - "resource.proto\032\037google/protobuf/timestam" + - "p.proto\"\354\002\n\004Zone\022\021\n\004name\030\001 \001(\tB\003\340A\002\0224\n\013c" + - "reate_time\030\002 \001(\0132\032.google.protobuf.Times" + - "tampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google." + - "protobuf.TimestampB\003\340A\003\022A\n\006labels\030\004 \003(\0132" + - "-.google.cloud.edgenetwork.v1.Zone.Label" + - "sEntryB\002\030\001\022\027\n\013layout_name\030\005 \001(\tB\002\030\001\032-\n\013L" + - "abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" + - "8\001:Z\352AW\n\037edgenetwork.googleapis.com/Zone" + - "\0224projects/{project}/locations/{location" + - "}/zones/{zone}\"\222\003\n\007Network\022\021\n\004name\030\001 \001(\t" + - "B\003\340A\002\0224\n\013create_time\030\002 \001(\0132\032.google.prot" + - "obuf.TimestampB\003\340A\003\0224\n\013update_time\030\003 \001(\013" + - "2\032.google.protobuf.TimestampB\003\340A\003\022@\n\006lab" + - "els\030\004 \003(\01320.google.cloud.edgenetwork.v1." + - "Network.LabelsEntry\022\030\n\013description\030\005 \001(\t" + - "B\003\340A\001\022\013\n\003mtu\030\006 \001(\005\032-\n\013LabelsEntry\022\013\n\003key" + - "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:p\352Am\n\"edgenetw" + - "ork.googleapis.com/Network\022Gprojects/{pr" + - "oject}/locations/{location}/zones/{zone}" + - "/networks/{network}\"\271\004\n\006Subnet\022\021\n\004name\030\001" + - " \001(\tB\003\340A\002\0224\n\013create_time\030\002 \001(\0132\032.google." + - "protobuf.TimestampB\003\340A\003\0224\n\013update_time\030\003" + - " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022?\n" + - "\006labels\030\004 \003(\0132/.google.cloud.edgenetwork" + - ".v1.Subnet.LabelsEntry\022\030\n\013description\030\005 " + - "\001(\tB\003\340A\001\022;\n\007network\030\006 \001(\tB*\340A\002\372A$\n\"edgen" + - "etwork.googleapis.com/Network\022\021\n\tipv4_ci" + - "dr\030\007 \003(\t\022\021\n\tipv6_cidr\030\010 \003(\t\022\024\n\007vlan_id\030\t" + - " \001(\005B\003\340A\001\022>\n\005state\030\n \001(\0162*.google.cloud." + - "edgenetwork.v1.ResourceStateB\003\340A\003\032-\n\013Lab" + - "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + - ":m\352Aj\n!edgenetwork.googleapis.com/Subnet" + - "\022Eprojects/{project}/locations/{location" + - "}/zones/{zone}/subnets/{subnet}\"\231\005\n\014Inte" + - "rconnect\022\021\n\004name\030\001 \001(\tB\003\340A\002\0224\n\013create_ti" + - "me\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A" + - "\003\0224\n\013update_time\030\003 \001(\0132\032.google.protobuf" + - ".TimestampB\003\340A\003\022E\n\006labels\030\004 \003(\01325.google" + - ".cloud.edgenetwork.v1.Interconnect.Label" + - "sEntry\022\030\n\013description\030\005 \001(\tB\003\340A\001\022Z\n\021inte" + - "rconnect_type\030\006 \001(\0162:.google.cloud.edgen" + - "etwork.v1.Interconnect.InterconnectTypeB" + - "\003\340A\001\022\021\n\004uuid\030\007 \001(\tB\003\340A\003\022\'\n\032device_cloud_" + - "resource_name\030\010 \001(\tB\003\340A\003\022\033\n\016physical_por" + - "ts\030\t \003(\tB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(" + - "\t\022\r\n\005value\030\002 \001(\t:\0028\001\"D\n\020InterconnectType" + - "\022!\n\035INTERCONNECT_TYPE_UNSPECIFIED\020\000\022\r\n\tD" + - "EDICATED\020\001:\177\352A|\n\'edgenetwork.googleapis." + - "com/Interconnect\022Qprojects/{project}/loc" + - "ations/{location}/zones/{zone}/interconn" + - "ects/{interconnect}\"\272\005\n\026InterconnectAtta" + - "chment\022\021\n\004name\030\001 \001(\tB\003\340A\002\0224\n\013create_time" + - "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + - "4\n\013update_time\030\003 \001(\0132\032.google.protobuf.T" + - "imestampB\003\340A\003\022O\n\006labels\030\004 \003(\0132?.google.c" + - "loud.edgenetwork.v1.InterconnectAttachme" + - "nt.LabelsEntry\022\030\n\013description\030\005 \001(\tB\003\340A\001" + - "\022E\n\014interconnect\030\006 \001(\tB/\340A\002\372A)\n\'edgenetw" + - "ork.googleapis.com/Interconnect\022;\n\007netwo" + - "rk\030\013 \001(\tB*\340A\001\372A$\n\"edgenetwork.googleapis" + - ".com/Network\022\024\n\007vlan_id\030\010 \001(\005B\003\340A\002\022\013\n\003mt" + - "u\030\t \001(\005\022>\n\005state\030\n \001(\0162*.google.cloud.ed" + - "genetwork.v1.ResourceStateB\003\340A\003\032-\n\013Label" + - "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\237" + - "\001\352A\233\001\n1edgenetwork.googleapis.com/Interc" + - "onnectAttachment\022fprojects/{project}/loc" + - "ations/{location}/zones/{zone}/interconn" + - "ectAttachments/{interconnect_attachment}" + - "\"\360\010\n\006Router\022\021\n\004name\030\001 \001(\tB\003\340A\002\0224\n\013create" + - "_time\030\002 \001(\0132\032.google.protobuf.TimestampB" + - "\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.proto" + - "buf.TimestampB\003\340A\003\022?\n\006labels\030\004 \003(\0132/.goo" + - "gle.cloud.edgenetwork.v1.Router.LabelsEn" + - "try\022\030\n\013description\030\005 \001(\tB\003\340A\001\022;\n\007network" + - "\030\006 \001(\tB*\340A\002\372A$\n\"edgenetwork.googleapis.c" + - "om/Network\022@\n\tinterface\030\007 \003(\0132-.google.c" + - "loud.edgenetwork.v1.Router.Interface\022=\n\010" + - "bgp_peer\030\010 \003(\0132+.google.cloud.edgenetwor" + - "k.v1.Router.BgpPeer\0224\n\003bgp\030\t \001(\0132\'.googl" + - "e.cloud.edgenetwork.v1.Router.Bgp\022>\n\005sta" + - "te\030\n \001(\0162*.google.cloud.edgenetwork.v1.R" + - "esourceStateB\003\340A\003\022!\n\024route_advertisement" + - "s\030\013 \003(\tB\003\340A\001\032\232\001\n\tInterface\022\014\n\004name\030\001 \001(\t" + - "\022\021\n\tipv4_cidr\030\003 \001(\t\022\021\n\tipv6_cidr\030\006 \001(\t\022&" + - "\n\036linked_interconnect_attachment\030\002 \001(\t\022\022" + - "\n\nsubnetwork\030\004 \001(\t\022\035\n\025loopback_ip_addres" + - "ses\030\005 \003(\t\032\276\001\n\007BgpPeer\022\014\n\004name\030\001 \001(\t\022\021\n\ti" + - "nterface\030\002 \001(\t\022\033\n\023interface_ipv4_cidr\030\003 " + - "\001(\t\022\033\n\023interface_ipv6_cidr\030\007 \001(\t\022\026\n\016peer" + - "_ipv4_cidr\030\004 \001(\t\022\026\n\016peer_ipv6_cidr\030\006 \001(\t" + - "\022\020\n\010peer_asn\030\005 \001(\r\022\026\n\tlocal_asn\030\010 \001(\rB\003\340" + - "A\003\0329\n\003Bgp\022\013\n\003asn\030\001 \001(\r\022%\n\035keepalive_inte" + - "rval_in_seconds\030\002 \001(\r\032-\n\013LabelsEntry\022\013\n\003" + - "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:m\352Aj\n!edgen" + - "etwork.googleapis.com/Router\022Eprojects/{" + - "project}/locations/{location}/zones/{zon" + - "e}/routers/{router}\";\n\020LinkLayerAddress\022" + - "\023\n\013mac_address\030\001 \001(\t\022\022\n\nip_address\030\002 \001(\t" + - "\"~\n\014SubnetStatus\022\014\n\004name\030\001 \001(\t\022\023\n\013mac_ad" + - "dress\030\002 \001(\t\022K\n\024link_layer_addresses\030\003 \003(" + - "\0132-.google.cloud.edgenetwork.v1.LinkLaye" + - "rAddress\"\361\010\n\027InterconnectDiagnostics\022\023\n\013" + - "mac_address\030\001 \001(\t\022K\n\024link_layer_addresse" + - "s\030\002 \003(\0132-.google.cloud.edgenetwork.v1.Li" + - "nkLayerAddress\022N\n\005links\030\003 \003(\0132?.google.c" + - "loud.edgenetwork.v1.InterconnectDiagnost" + - "ics.LinkStatus\032\260\002\n\nLinkStatus\022\022\n\ncircuit" + - "_id\030\001 \001(\t\022X\n\013lacp_status\030\002 \001(\0132C.google." + - "cloud.edgenetwork.v1.InterconnectDiagnos" + - "tics.LinkLACPStatus\022Z\n\rlldp_statuses\030\003 \003" + - "(\0132C.google.cloud.edgenetwork.v1.Interco" + - "nnectDiagnostics.LinkLLDPStatus\022X\n\rpacke" + - "t_counts\030\004 \001(\0132A.google.cloud.edgenetwor" + - "k.v1.InterconnectDiagnostics.PacketCount" + - "s\032\247\001\n\014PacketCounts\022\027\n\017inbound_unicast\030\001 " + - "\001(\003\022\026\n\016inbound_errors\030\002 \001(\003\022\030\n\020inbound_d" + - "iscards\030\003 \001(\003\022\030\n\020outbound_unicast\030\004 \001(\003\022" + - "\027\n\017outbound_errors\030\005 \001(\003\022\031\n\021outbound_dis" + - "cards\030\006 \001(\003\032\220\002\n\016LinkLACPStatus\022X\n\005state\030" + - "\001 \001(\0162I.google.cloud.edgenetwork.v1.Inte" + - "rconnectDiagnostics.LinkLACPStatus.State" + - "\022\030\n\020google_system_id\030\002 \001(\t\022\032\n\022neighbor_s" + - "ystem_id\030\003 \001(\t\022\024\n\014aggregatable\030\004 \001(\010\022\022\n\n" + - "collecting\030\005 \001(\010\022\024\n\014distributing\030\006 \001(\010\"." + - "\n\005State\022\013\n\007UNKNOWN\020\000\022\n\n\006ACTIVE\020\001\022\014\n\010DETA" + - "CHED\020\002\032\263\001\n\016LinkLLDPStatus\022\030\n\020peer_system" + - "_name\030\001 \001(\t\022\037\n\027peer_system_description\030\002" + - " \001(\t\022\027\n\017peer_chassis_id\030\003 \001(\t\022\034\n\024peer_ch" + - "assis_id_type\030\004 \001(\t\022\024\n\014peer_port_id\030\005 \001(" + - "\t\022\031\n\021peer_port_id_type\030\006 \001(\t\"\352\004\n\014RouterS" + - "tatus\0228\n\007network\030\001 \001(\tB\'\372A$\n\"edgenetwork" + - ".googleapis.com/Network\022P\n\017bgp_peer_stat" + - "us\030\002 \003(\01327.google.cloud.edgenetwork.v1.R" + - "outerStatus.BgpPeerStatus\032\321\002\n\rBgpPeerSta" + - "tus\022\014\n\004name\030\001 \001(\t\022\022\n\nip_address\030\002 \001(\t\022\027\n" + - "\017peer_ip_address\030\003 \001(\t\022Q\n\006status\030\004 \001(\0162A" + - ".google.cloud.edgenetwork.v1.RouterStatu" + - "s.BgpPeerStatus.BgpStatus\022\r\n\005state\030\005 \001(\t" + - "\022\016\n\006uptime\030\006 \001(\t\022\026\n\016uptime_seconds\030\007 \001(\003" + - "\022O\n\016prefix_counter\030\010 \001(\01327.google.cloud." + - "edgenetwork.v1.RouterStatus.PrefixCounte" + - "r\"*\n\tBgpStatus\022\013\n\007UNKNOWN\020\000\022\006\n\002UP\020\001\022\010\n\004D" + - "OWN\020\002\032z\n\rPrefixCounter\022\022\n\nadvertised\030\001 \001" + - "(\003\022\016\n\006denied\030\002 \001(\003\022\020\n\010received\030\003 \001(\003\022\014\n\004" + - "sent\030\004 \001(\003\022\022\n\nsuppressed\030\005 \001(\003\022\021\n\twithdr" + - "awn\030\006 \001(\003*\211\001\n\rResourceState\022\021\n\rSTATE_UNK" + - "NOWN\020\000\022\021\n\rSTATE_PENDING\020\001\022\026\n\022STATE_PROVI" + - "SIONING\020\002\022\021\n\rSTATE_RUNNING\020\003\022\023\n\017STATE_SU" + - "SPENDED\020\004\022\022\n\016STATE_DELETING\020\005B\323\001\n\037com.go" + - "ogle.cloud.edgenetwork.v1B\016ResourcesProt" + - "oP\001ZAcloud.google.com/go/edgenetwork/api" + - "v1/edgenetworkpb;edgenetworkpb\252\002\033Google." + - "Cloud.EdgeNetwork.V1\312\002\033Google\\Cloud\\Edge" + - "Network\\V1\352\002\036Google::Cloud::EdgeNetwork:" + - ":V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_edgenetwork_v1_Zone_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_edgenetwork_v1_Zone_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_edgenetwork_v1_Zone_descriptor, - new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "Labels", "LayoutName", }); - internal_static_google_cloud_edgenetwork_v1_Zone_LabelsEntry_descriptor = - internal_static_google_cloud_edgenetwork_v1_Zone_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_edgenetwork_v1_Zone_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_edgenetwork_v1_Zone_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_edgenetwork_v1_Network_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_edgenetwork_v1_Network_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_edgenetwork_v1_Network_descriptor, - new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "Labels", "Description", "Mtu", }); - internal_static_google_cloud_edgenetwork_v1_Network_LabelsEntry_descriptor = - internal_static_google_cloud_edgenetwork_v1_Network_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_edgenetwork_v1_Network_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_edgenetwork_v1_Network_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_edgenetwork_v1_Subnet_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_edgenetwork_v1_Subnet_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_edgenetwork_v1_Subnet_descriptor, - new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "Labels", "Description", "Network", "Ipv4Cidr", "Ipv6Cidr", "VlanId", "State", }); - internal_static_google_cloud_edgenetwork_v1_Subnet_LabelsEntry_descriptor = - internal_static_google_cloud_edgenetwork_v1_Subnet_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_edgenetwork_v1_Subnet_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_edgenetwork_v1_Subnet_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_edgenetwork_v1_Interconnect_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_edgenetwork_v1_Interconnect_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_edgenetwork_v1_Interconnect_descriptor, - new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "Labels", "Description", "InterconnectType", "Uuid", "DeviceCloudResourceName", "PhysicalPorts", }); - internal_static_google_cloud_edgenetwork_v1_Interconnect_LabelsEntry_descriptor = - internal_static_google_cloud_edgenetwork_v1_Interconnect_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_edgenetwork_v1_Interconnect_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_edgenetwork_v1_Interconnect_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_descriptor, - new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "Labels", "Description", "Interconnect", "Network", "VlanId", "Mtu", "State", }); - internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_LabelsEntry_descriptor = - internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_edgenetwork_v1_InterconnectAttachment_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_edgenetwork_v1_Router_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_edgenetwork_v1_Router_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_edgenetwork_v1_Router_descriptor, - new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "Labels", "Description", "Network", "Interface", "BgpPeer", "Bgp", "State", "RouteAdvertisements", }); - internal_static_google_cloud_edgenetwork_v1_Router_Interface_descriptor = - internal_static_google_cloud_edgenetwork_v1_Router_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_edgenetwork_v1_Router_Interface_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_edgenetwork_v1_Router_Interface_descriptor, - new java.lang.String[] { "Name", "Ipv4Cidr", "Ipv6Cidr", "LinkedInterconnectAttachment", "Subnetwork", "LoopbackIpAddresses", }); - internal_static_google_cloud_edgenetwork_v1_Router_BgpPeer_descriptor = - internal_static_google_cloud_edgenetwork_v1_Router_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_edgenetwork_v1_Router_BgpPeer_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_edgenetwork_v1_Router_BgpPeer_descriptor, - new java.lang.String[] { "Name", "Interface", "InterfaceIpv4Cidr", "InterfaceIpv6Cidr", "PeerIpv4Cidr", "PeerIpv6Cidr", "PeerAsn", "LocalAsn", }); - internal_static_google_cloud_edgenetwork_v1_Router_Bgp_descriptor = - internal_static_google_cloud_edgenetwork_v1_Router_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_edgenetwork_v1_Router_Bgp_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_edgenetwork_v1_Router_Bgp_descriptor, - new java.lang.String[] { "Asn", "KeepaliveIntervalInSeconds", }); - internal_static_google_cloud_edgenetwork_v1_Router_LabelsEntry_descriptor = - internal_static_google_cloud_edgenetwork_v1_Router_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_edgenetwork_v1_Router_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_edgenetwork_v1_Router_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_edgenetwork_v1_LinkLayerAddress_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_edgenetwork_v1_LinkLayerAddress_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_edgenetwork_v1_LinkLayerAddress_descriptor, - new java.lang.String[] { "MacAddress", "IpAddress", }); - internal_static_google_cloud_edgenetwork_v1_SubnetStatus_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_edgenetwork_v1_SubnetStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_edgenetwork_v1_SubnetStatus_descriptor, - new java.lang.String[] { "Name", "MacAddress", "LinkLayerAddresses", }); - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_descriptor, - new java.lang.String[] { "MacAddress", "LinkLayerAddresses", "Links", }); - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkStatus_descriptor = - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkStatus_descriptor, - new java.lang.String[] { "CircuitId", "LacpStatus", "LldpStatuses", "PacketCounts", }); - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_PacketCounts_descriptor = - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_PacketCounts_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_PacketCounts_descriptor, - new java.lang.String[] { "InboundUnicast", "InboundErrors", "InboundDiscards", "OutboundUnicast", "OutboundErrors", "OutboundDiscards", }); - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLACPStatus_descriptor = - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLACPStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLACPStatus_descriptor, - new java.lang.String[] { "State", "GoogleSystemId", "NeighborSystemId", "Aggregatable", "Collecting", "Distributing", }); - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLLDPStatus_descriptor = - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLLDPStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_edgenetwork_v1_InterconnectDiagnostics_LinkLLDPStatus_descriptor, - new java.lang.String[] { "PeerSystemName", "PeerSystemDescription", "PeerChassisId", "PeerChassisIdType", "PeerPortId", "PeerPortIdType", }); - internal_static_google_cloud_edgenetwork_v1_RouterStatus_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_edgenetwork_v1_RouterStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_edgenetwork_v1_RouterStatus_descriptor, - new java.lang.String[] { "Network", "BgpPeerStatus", }); - internal_static_google_cloud_edgenetwork_v1_RouterStatus_BgpPeerStatus_descriptor = - internal_static_google_cloud_edgenetwork_v1_RouterStatus_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_edgenetwork_v1_RouterStatus_BgpPeerStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_edgenetwork_v1_RouterStatus_BgpPeerStatus_descriptor, - new java.lang.String[] { "Name", "IpAddress", "PeerIpAddress", "Status", "State", "Uptime", "UptimeSeconds", "PrefixCounter", }); - internal_static_google_cloud_edgenetwork_v1_RouterStatus_PrefixCounter_descriptor = - internal_static_google_cloud_edgenetwork_v1_RouterStatus_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_edgenetwork_v1_RouterStatus_PrefixCounter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_edgenetwork_v1_RouterStatus_PrefixCounter_descriptor, - new java.lang.String[] { "Advertised", "Denied", "Received", "Sent", "Suppressed", "Withdrawn", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ServiceProto.java b/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ServiceProto.java deleted file mode 100644 index def78327d943..000000000000 --- a/owl-bot-staging/java-edgenetwork/v1/proto-google-cloud-edgenetwork-v1/src/main/java/com/google/cloud/edgenetwork/v1/ServiceProto.java +++ /dev/null @@ -1,767 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/edgenetwork/v1/service.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.edgenetwork.v1; - -public final class ServiceProto { - private ServiceProto() {} - 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_edgenetwork_v1_ListZonesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_ListZonesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_ListZonesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_ListZonesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_GetZoneRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_GetZoneRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_ListNetworksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_ListNetworksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_ListNetworksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_ListNetworksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_GetNetworkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_GetNetworkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_CreateNetworkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_CreateNetworkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_DeleteNetworkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_DeleteNetworkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_ListSubnetsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_ListSubnetsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_ListSubnetsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_ListSubnetsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_GetSubnetRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_GetSubnetRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_CreateSubnetRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_CreateSubnetRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_UpdateSubnetRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_UpdateSubnetRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_DeleteSubnetRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_DeleteSubnetRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_ListInterconnectsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_ListInterconnectsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_ListInterconnectsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_ListInterconnectsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_GetInterconnectRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_GetInterconnectRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_ListInterconnectAttachmentsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_GetInterconnectAttachmentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_GetInterconnectAttachmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_CreateInterconnectAttachmentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_CreateInterconnectAttachmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_DeleteInterconnectAttachmentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_DeleteInterconnectAttachmentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_ListRoutersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_ListRoutersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_ListRoutersResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_ListRoutersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_GetRouterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_GetRouterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_CreateRouterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_CreateRouterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_UpdateRouterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_UpdateRouterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_DeleteRouterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_DeleteRouterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_NetworkStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_DiagnoseNetworkResponse_NetworkStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_DiagnoseInterconnectResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_DiagnoseRouterResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_InitializeZoneRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_InitializeZoneRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_edgenetwork_v1_InitializeZoneResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_edgenetwork_v1_InitializeZoneResponse_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/edgenetwork/v1/service.pr" + - "oto\022\033google.cloud.edgenetwork.v1\032\034google" + - "/api/annotations.proto\032\027google/api/clien" + - "t.proto\032\037google/api/field_behavior.proto" + - "\032\031google/api/resource.proto\032+google/clou" + - "d/edgenetwork/v1/resources.proto\032#google" + - "/longrunning/operations.proto\032\033google/pr" + - "otobuf/empty.proto\032 google/protobuf/fiel" + - "d_mask.proto\032\037google/protobuf/timestamp." + - "proto\"\230\001\n\020ListZonesRequest\0227\n\006parent\030\001 \001" + - "(\tB\'\340A\002\372A!\022\037edgenetwork.googleapis.com/Z" + - "one\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001" + - "(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t:\002\030\001" + - "\"w\n\021ListZonesResponse\0220\n\005zones\030\001 \003(\0132!.g" + - "oogle.cloud.edgenetwork.v1.Zone\022\027\n\017next_" + - "page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t:\002\030" + - "\001\"K\n\016GetZoneRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A" + - "!\n\037edgenetwork.googleapis.com/Zone:\002\030\001\"\232" + - "\001\n\023ListNetworksRequest\022:\n\006parent\030\001 \001(\tB*" + - "\340A\002\372A$\022\"edgenetwork.googleapis.com/Netwo" + - "rk\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(" + - "\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"|\n\024L" + - "istNetworksResponse\0226\n\010networks\030\001 \003(\0132$." + - "google.cloud.edgenetwork.v1.Network\022\027\n\017n" + - "ext_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(" + - "\t\"M\n\021GetNetworkRequest\0228\n\004name\030\001 \001(\tB*\340A" + - "\002\372A$\n\"edgenetwork.googleapis.com/Network" + - "\"\300\001\n\024CreateNetworkRequest\022:\n\006parent\030\001 \001(" + - "\tB*\340A\002\372A$\022\"edgenetwork.googleapis.com/Ne" + - "twork\022\027\n\nnetwork_id\030\002 \001(\tB\003\340A\002\022:\n\007networ" + - "k\030\003 \001(\0132$.google.cloud.edgenetwork.v1.Ne" + - "tworkB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\"i\n\024D" + - "eleteNetworkRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A" + - "$\n\"edgenetwork.googleapis.com/Network\022\027\n" + - "\nrequest_id\030\002 \001(\tB\003\340A\001\"\230\001\n\022ListSubnetsRe" + - "quest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!edgenetwo" + - "rk.googleapis.com/Subnet\022\021\n\tpage_size\030\002 " + - "\001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022" + - "\020\n\010order_by\030\005 \001(\t\"y\n\023ListSubnetsResponse" + - "\0224\n\007subnets\030\001 \003(\0132#.google.cloud.edgenet" + - "work.v1.Subnet\022\027\n\017next_page_token\030\002 \001(\t\022" + - "\023\n\013unreachable\030\003 \003(\t\"K\n\020GetSubnetRequest" + - "\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!edgenetwork.goog" + - "leapis.com/Subnet\"\273\001\n\023CreateSubnetReques" + - "t\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!edgenetwork.g" + - "oogleapis.com/Subnet\022\026\n\tsubnet_id\030\002 \001(\tB" + - "\003\340A\002\0228\n\006subnet\030\003 \001(\0132#.google.cloud.edge" + - "network.v1.SubnetB\003\340A\002\022\027\n\nrequest_id\030\004 \001" + - "(\tB\003\340A\001\"\236\001\n\023UpdateSubnetRequest\0224\n\013updat" + - "e_mask\030\001 \001(\0132\032.google.protobuf.FieldMask" + - "B\003\340A\002\0228\n\006subnet\030\002 \001(\0132#.google.cloud.edg" + - "enetwork.v1.SubnetB\003\340A\002\022\027\n\nrequest_id\030\003 " + - "\001(\tB\003\340A\001\"g\n\023DeleteSubnetRequest\0227\n\004name\030" + - "\001 \001(\tB)\340A\002\372A#\n!edgenetwork.googleapis.co" + - "m/Subnet\022\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\"\244\001\n\030Li" + - "stInterconnectsRequest\022?\n\006parent\030\001 \001(\tB/" + - "\340A\002\372A)\022\'edgenetwork.googleapis.com/Inter" + - "connect\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token" + - "\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t" + - "\"\213\001\n\031ListInterconnectsResponse\022@\n\rinterc" + - "onnects\030\001 \003(\0132).google.cloud.edgenetwork" + - ".v1.Interconnect\022\027\n\017next_page_token\030\002 \001(" + - "\t\022\023\n\013unreachable\030\003 \003(\t\"W\n\026GetInterconnec" + - "tRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'edgenetw" + - "ork.googleapis.com/Interconnect\"\270\001\n\"List" + - "InterconnectAttachmentsRequest\022I\n\006parent" + - "\030\001 \001(\tB9\340A\002\372A3\0221edgenetwork.googleapis.c" + - "om/InterconnectAttachment\022\021\n\tpage_size\030\002" + - " \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t" + - "\022\020\n\010order_by\030\005 \001(\t\"\252\001\n#ListInterconnectA" + - "ttachmentsResponse\022U\n\030interconnect_attac" + - "hments\030\001 \003(\01323.google.cloud.edgenetwork." + - "v1.InterconnectAttachment\022\027\n\017next_page_t" + - "oken\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"k\n GetIn" + - "terconnectAttachmentRequest\022G\n\004name\030\001 \001(" + - "\tB9\340A\002\372A3\n1edgenetwork.googleapis.com/In" + - "terconnectAttachment\"\215\002\n#CreateInterconn" + - "ectAttachmentRequest\022I\n\006parent\030\001 \001(\tB9\340A" + - "\002\372A3\0221edgenetwork.googleapis.com/Interco" + - "nnectAttachment\022\'\n\032interconnect_attachme" + - "nt_id\030\002 \001(\tB\003\340A\002\022Y\n\027interconnect_attachm" + - "ent\030\003 \001(\01323.google.cloud.edgenetwork.v1." + - "InterconnectAttachmentB\003\340A\002\022\027\n\nrequest_i" + - "d\030\004 \001(\tB\003\340A\001\"\207\001\n#DeleteInterconnectAttac" + - "hmentRequest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1edge" + - "network.googleapis.com/InterconnectAttac" + - "hment\022\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\"\230\001\n\022ListR" + - "outersRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!e" + - "dgenetwork.googleapis.com/Router\022\021\n\tpage" + - "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filte" + - "r\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"y\n\023ListRouters" + - "Response\0224\n\007routers\030\001 \003(\0132#.google.cloud" + - ".edgenetwork.v1.Router\022\027\n\017next_page_toke" + - "n\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"K\n\020GetRoute" + - "rRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!edgenetw" + - "ork.googleapis.com/Router\"\273\001\n\023CreateRout" + - "erRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!edgen" + - "etwork.googleapis.com/Router\022\026\n\trouter_i" + - "d\030\002 \001(\tB\003\340A\002\0228\n\006router\030\003 \001(\0132#.google.cl" + - "oud.edgenetwork.v1.RouterB\003\340A\002\022\027\n\nreques" + - "t_id\030\004 \001(\tB\003\340A\001\"\236\001\n\023UpdateRouterRequest\022" + - "4\n\013update_mask\030\001 \001(\0132\032.google.protobuf.F" + - "ieldMaskB\003\340A\002\0228\n\006router\030\002 \001(\0132#.google.c" + - "loud.edgenetwork.v1.RouterB\003\340A\002\022\027\n\nreque" + - "st_id\030\003 \001(\tB\003\340A\001\"g\n\023DeleteRouterRequest\022" + - "7\n\004name\030\001 \001(\tB)\340A\002\372A#\n!edgenetwork.googl" + - "eapis.com/Router\022\027\n\nrequest_id\030\002 \001(\tB\003\340A" + - "\001\"\200\002\n\021OperationMetadata\0224\n\013create_time\030\001" + - " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221\n" + - "\010end_time\030\002 \001(\0132\032.google.protobuf.Timest" + - "ampB\003\340A\003\022\023\n\006target\030\003 \001(\tB\003\340A\003\022\021\n\004verb\030\004 " + - "\001(\tB\003\340A\003\022\033\n\016status_message\030\005 \001(\tB\003\340A\003\022#\n" + - "\026requested_cancellation\030\006 \001(\010B\003\340A\003\022\030\n\013ap" + - "i_version\030\007 \001(\tB\003\340A\003\"R\n\026DiagnoseNetworkR" + - "equest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"edgenetwor" + - "k.googleapis.com/Network\"\262\003\n\027DiagnoseNet" + - "workResponse\022/\n\013update_time\030\001 \001(\0132\032.goog" + - "le.protobuf.Timestamp\022R\n\006result\030\002 \001(\0132B." + - "google.cloud.edgenetwork.v1.DiagnoseNetw" + - "orkResponse.NetworkStatus\032\221\002\n\rNetworkSta" + - "tus\022@\n\rsubnet_status\030\001 \003(\0132).google.clou" + - "d.edgenetwork.v1.SubnetStatus\022u\n\034macsec_" + - "status_internal_links\030\002 \001(\0162O.google.clo" + - "ud.edgenetwork.v1.DiagnoseNetworkRespons" + - "e.NetworkStatus.MacsecStatus\"G\n\014MacsecSt" + - "atus\022\035\n\031MACSEC_STATUS_UNSPECIFIED\020\000\022\n\n\006S" + - "ECURE\020\001\022\014\n\010UNSECURE\020\002\"\\\n\033DiagnoseInterco" + - "nnectRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'edge" + - "network.googleapis.com/Interconnect\"\225\001\n\034" + - "DiagnoseInterconnectResponse\022/\n\013update_t" + - "ime\030\001 \001(\0132\032.google.protobuf.Timestamp\022D\n" + - "\006result\030\002 \001(\01324.google.cloud.edgenetwork" + - ".v1.InterconnectDiagnostics\"P\n\025DiagnoseR" + - "outerRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!edge" + - "network.googleapis.com/Router\"\204\001\n\026Diagno" + - "seRouterResponse\022/\n\013update_time\030\001 \001(\0132\032." + - "google.protobuf.Timestamp\0229\n\006result\030\002 \001(" + - "\0132).google.cloud.edgenetwork.v1.RouterSt" + - "atus\"N\n\025InitializeZoneRequest\0225\n\004name\030\001 " + - "\001(\tB\'\340A\002\372A!\n\037edgenetwork.googleapis.com/" + - "Zone\"\030\n\026InitializeZoneResponse2\251+\n\013EdgeN" + - "etwork\022\301\001\n\016InitializeZone\0222.google.cloud" + - ".edgenetwork.v1.InitializeZoneRequest\0323." + - "google.cloud.edgenetwork.v1.InitializeZo" + - "neResponse\"F\332A\004name\202\323\344\223\0029\"4/v1/{name=pro" + - "jects/*/locations/*/zones/*}:initialize:" + - "\001*\022\251\001\n\tListZones\022-.google.cloud.edgenetw" + - "ork.v1.ListZonesRequest\032..google.cloud.e" + - "dgenetwork.v1.ListZonesResponse\"=\210\002\001\332A\006p" + - "arent\202\323\344\223\002+\022)/v1/{parent=projects/*/loca" + - "tions/*}/zones\022\226\001\n\007GetZone\022+.google.clou" + - "d.edgenetwork.v1.GetZoneRequest\032!.google" + - ".cloud.edgenetwork.v1.Zone\";\210\002\001\332A\004name\202\323" + - "\344\223\002+\022)/v1/{name=projects/*/locations/*/z" + - "ones/*}\022\272\001\n\014ListNetworks\0220.google.cloud." + - "edgenetwork.v1.ListNetworksRequest\0321.goo" + - "gle.cloud.edgenetwork.v1.ListNetworksRes" + - "ponse\"E\332A\006parent\202\323\344\223\0026\0224/v1/{parent=proj" + - "ects/*/locations/*/zones/*}/networks\022\247\001\n" + - "\nGetNetwork\022..google.cloud.edgenetwork.v" + - "1.GetNetworkRequest\032$.google.cloud.edgen" + - "etwork.v1.Network\"C\332A\004name\202\323\344\223\0026\0224/v1/{n" + - "ame=projects/*/locations/*/zones/*/netwo" + - "rks/*}\022\312\001\n\017DiagnoseNetwork\0223.google.clou" + - "d.edgenetwork.v1.DiagnoseNetworkRequest\032" + - "4.google.cloud.edgenetwork.v1.DiagnoseNe" + - "tworkResponse\"L\332A\004name\202\323\344\223\002?\022=/v1/{name=" + - "projects/*/locations/*/zones/*/networks/" + - "*}:diagnose\022\344\001\n\rCreateNetwork\0221.google.c" + - "loud.edgenetwork.v1.CreateNetworkRequest" + - "\032\035.google.longrunning.Operation\"\200\001\312A\034\n\007N" + - "etwork\022\021OperationMetadata\332A\031parent,netwo" + - "rk,network_id\202\323\344\223\002?\"4/v1/{parent=project" + - "s/*/locations/*/zones/*}/networks:\007netwo" + - "rk\022\323\001\n\rDeleteNetwork\0221.google.cloud.edge" + - "network.v1.DeleteNetworkRequest\032\035.google" + - ".longrunning.Operation\"p\312A*\n\025google.prot" + - "obuf.Empty\022\021OperationMetadata\332A\004name\202\323\344\223" + - "\0026*4/v1/{name=projects/*/locations/*/zon" + - "es/*/networks/*}\022\266\001\n\013ListSubnets\022/.googl" + - "e.cloud.edgenetwork.v1.ListSubnetsReques" + - "t\0320.google.cloud.edgenetwork.v1.ListSubn" + - "etsResponse\"D\332A\006parent\202\323\344\223\0025\0223/v1/{paren" + - "t=projects/*/locations/*/zones/*}/subnet" + - "s\022\243\001\n\tGetSubnet\022-.google.cloud.edgenetwo" + - "rk.v1.GetSubnetRequest\032#.google.cloud.ed" + - "genetwork.v1.Subnet\"B\332A\004name\202\323\344\223\0025\0223/v1/" + - "{name=projects/*/locations/*/zones/*/sub" + - "nets/*}\022\334\001\n\014CreateSubnet\0220.google.cloud." + - "edgenetwork.v1.CreateSubnetRequest\032\035.goo" + - "gle.longrunning.Operation\"{\312A\033\n\006Subnet\022\021" + - "OperationMetadata\332A\027parent,subnet,subnet" + - "_id\202\323\344\223\002=\"3/v1/{parent=projects/*/locati" + - "ons/*/zones/*}/subnets:\006subnet\022\336\001\n\014Updat" + - "eSubnet\0220.google.cloud.edgenetwork.v1.Up" + - "dateSubnetRequest\032\035.google.longrunning.O" + - "peration\"}\312A\033\n\006Subnet\022\021OperationMetadata" + - "\332A\022subnet,update_mask\202\323\344\223\002D2:/v1/{subnet" + - ".name=projects/*/locations/*/zones/*/sub" + - "nets/*}:\006subnet\022\320\001\n\014DeleteSubnet\0220.googl" + - "e.cloud.edgenetwork.v1.DeleteSubnetReque" + - "st\032\035.google.longrunning.Operation\"o\312A*\n\025" + - "google.protobuf.Empty\022\021OperationMetadata" + - "\332A\004name\202\323\344\223\0025*3/v1/{name=projects/*/loca" + - "tions/*/zones/*/subnets/*}\022\316\001\n\021ListInter" + - "connects\0225.google.cloud.edgenetwork.v1.L" + - "istInterconnectsRequest\0326.google.cloud.e" + - "dgenetwork.v1.ListInterconnectsResponse\"" + - "J\332A\006parent\202\323\344\223\002;\0229/v1/{parent=projects/*" + - "/locations/*/zones/*}/interconnects\022\273\001\n\017" + - "GetInterconnect\0223.google.cloud.edgenetwo" + - "rk.v1.GetInterconnectRequest\032).google.cl" + - "oud.edgenetwork.v1.Interconnect\"H\332A\004name" + - "\202\323\344\223\002;\0229/v1/{name=projects/*/locations/*" + - "/zones/*/interconnects/*}\022\336\001\n\024DiagnoseIn" + - "terconnect\0228.google.cloud.edgenetwork.v1" + - ".DiagnoseInterconnectRequest\0329.google.cl" + - "oud.edgenetwork.v1.DiagnoseInterconnectR" + - "esponse\"Q\332A\004name\202\323\344\223\002D\022B/v1/{name=projec" + - "ts/*/locations/*/zones/*/interconnects/*" + - "}:diagnose\022\366\001\n\033ListInterconnectAttachmen" + - "ts\022?.google.cloud.edgenetwork.v1.ListInt" + - "erconnectAttachmentsRequest\032@.google.clo" + - "ud.edgenetwork.v1.ListInterconnectAttach" + - "mentsResponse\"T\332A\006parent\202\323\344\223\002E\022C/v1/{par" + - "ent=projects/*/locations/*/zones/*}/inte" + - "rconnectAttachments\022\343\001\n\031GetInterconnectA" + - "ttachment\022=.google.cloud.edgenetwork.v1." + - "GetInterconnectAttachmentRequest\0323.googl" + - "e.cloud.edgenetwork.v1.InterconnectAttac" + - "hment\"R\332A\004name\202\323\344\223\002E\022C/v1/{name=projects" + - "/*/locations/*/zones/*/interconnectAttac" + - "hments/*}\022\320\002\n\034CreateInterconnectAttachme" + - "nt\022@.google.cloud.edgenetwork.v1.CreateI" + - "nterconnectAttachmentRequest\032\035.google.lo" + - "ngrunning.Operation\"\316\001\312A+\n\026InterconnectA" + - "ttachment\022\021OperationMetadata\332A9parent,in" + - "terconnect_attachment,interconnect_attac" + - "hment_id\202\323\344\223\002^\"C/v1/{parent=projects/*/l" + - "ocations/*/zones/*}/interconnectAttachme" + - "nts:\027interconnect_attachment\022\200\002\n\034DeleteI" + - "nterconnectAttachment\022@.google.cloud.edg" + - "enetwork.v1.DeleteInterconnectAttachment" + - "Request\032\035.google.longrunning.Operation\"\177" + - "\312A*\n\025google.protobuf.Empty\022\021OperationMet" + - "adata\332A\004name\202\323\344\223\002E*C/v1/{name=projects/*" + - "/locations/*/zones/*/interconnectAttachm" + - "ents/*}\022\266\001\n\013ListRouters\022/.google.cloud.e" + - "dgenetwork.v1.ListRoutersRequest\0320.googl" + - "e.cloud.edgenetwork.v1.ListRoutersRespon" + - "se\"D\332A\006parent\202\323\344\223\0025\0223/v1/{parent=project" + - "s/*/locations/*/zones/*}/routers\022\243\001\n\tGet" + - "Router\022-.google.cloud.edgenetwork.v1.Get" + - "RouterRequest\032#.google.cloud.edgenetwork" + - ".v1.Router\"B\332A\004name\202\323\344\223\0025\0223/v1/{name=pro" + - "jects/*/locations/*/zones/*/routers/*}\022\306" + - "\001\n\016DiagnoseRouter\0222.google.cloud.edgenet" + - "work.v1.DiagnoseRouterRequest\0323.google.c" + - "loud.edgenetwork.v1.DiagnoseRouterRespon" + - "se\"K\332A\004name\202\323\344\223\002>\022